![]() |
|
zenphoto as plugin - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: zenphoto as plugin (/thread-2838.html) Pages:
1
2
|
zenphoto as plugin - pogo - 2008-05-08 i've setup a basic php page that is nothing but the default setting as described in the howto: zenphoto as plugin - sbillard - 2008-05-08 The define of WEBPATH should be zenphoto as plugin - pogo - 2008-05-08 I've gone thru various testing and that is one of them.. this is the error i get on that path. Fatal error: main() [function.require]: Failed opening required 'gallery/zp-core/template-functions.php' (include_path='.:/usr/lib/php') in /homepages/10/xxxxxx/htdocs/xxxx/test/index2.php on line 10 i've also tried the full server path to folder, and the domain base path .. all without results. what does '(include_path='.:/usr/lib/php')' mean?? yet the gallery functions perfectly from the gallery install folder. i'm trying to use the function on other pages in my site that are not in the zenphoto folder. zenphoto as plugin - pogo - 2008-05-08 continuing to try different paths.. i get: so far these are not working: thank you zenphoto as plugin - sbillard - 2008-05-08 What is the folder structure of your site. That is, what folder contains the php file where you are trying to reference the zenphoto functionality. Your WEBPATH must be a path that will get you to the zenphoto gallery folders from the folder where the code is. zenphoto as plugin - pogo - 2008-05-09 within the zp-config.php it's got the place for path overrides... i have them commented out(i've also tried with them filled in) zenphoto folder is in http://mysite.com/gallery i've tried all of the i think that all of the information on it. zenphoto as plugin - sbillard - 2008-05-09 try zenphoto as plugin - pogo - 2008-05-09 yes, i've tried '/gallery' too. would the .htaccess have anything to do with this? i'll try some tests with the .htaccess file disabled at the root.... zenphoto as plugin - pogo - 2008-05-09 ok.. just tried a test at the root level of the site with .htaccess disabled and still got an error. Fatal error: main() [function.require]: Failed opening required '/gallery/zp-core/template-functions.php' (include_path='.:/usr/lib/php') in /homepages/13/d101687662/htdocs/mysite/index3.php on line 11 this is the body of my index3.php testing file:zenphoto as plugin - pogo - 2008-05-12 i guess this just doesn't work on some servers. i'll try to find a work around ... i really do like zenphoto. i hope there is a fix someday. i appreciate trying to help out, thanks. zenphoto as plugin - acrylian - 2008-05-12 Did you try placing zenphoto in a subfolder of your main site (if you not already did)? zenphoto as plugin - pogo - 2008-05-12 yes, thank you.. as shown in the above posts: means that 'zenphoto' is a subfolder of the mainsite renamed to 'gallery' is this what you mean?i would be willing to offer FTP access to the zenphoto dev team to work out this fix. i run a Managed 1&1 Dedicated Server that has given me no problems with any installs including: Joomla(and all of its components,modules,plugins), Wordpress (+plugins), phpCalendar and so on. i think it would be worthwhile for this to be solid and working trouble-free for the future of Zenphoto users. i have posted all of my code and i am a developer too - so by all means this 'zen as plugin' should be working by now if it was bug-free. zenphoto as plugin - acrylian - 2008-05-12 Actually that is what I meant, sorry, I didn't notice that detail being confused by the test folder you refered to. zenphoto as plugin - sbillard - 2008-05-12 You are having some kind of pathing problem on your server. I don't really have any idea why they are not working, though. Zenphoto as a plugin does work. You can see an example here: http://testalbum-2.sbillard.org/. This case has the calling index.php in the root folder and zenpoto install in the /zenphoto folder. Here is the PHP: ` Test Index zenphoto as plugin - pogo - 2008-05-12 cool. i did try the zp-config paths very early on - before even writing into this forum, because i knew it was a pathing issue .. but i had no luck. thanks for the above example! this is my code now (error free): TEST zenphoto as plugin - sbillard - 2008-05-12 The part starting at //load extesnions and ending just before the header statement is only for plugins and only if you are using the nightly build. You can probably remove that code for now. Or you can upgrade your installation to the current nightly build. zenphoto as plugin - sbillard - 2008-05-12 I do note that the query looks different in the current nightly from what is shown in your error message. Perhaps updgading to the nightlly fixes that problem. zenphoto as plugin - pogo - 2008-05-13 OK. will do. i am interested in the same thing as: which is displaying the getImageStatistic on only a certain album and not the entire gallery. has that been implemented into the current nightly build? acrylian has stated in the topic that it would be, but there is no definite follow up that says it has been.
zenphoto as plugin - pogo - 2008-05-13 i just upgraded to the nightly build: zenphoto-2008-05-11-trunk.tar.gz
........................ i am posting now to the bug tracker. zenphoto as plugin - acrylian - 2008-05-13 image statistic: Yes, that feature is already there. The doc (nightly version) is actually directly in the sidebar when you open the main doc page. It's combined as a plugin with album statistic, because of that you might have missed it: http://www.zenphoto.org/documentation/zenphoto/_plugins---image_album_statistics.php.html You have a really weird server...:-( I have neither any idea what that causes nor am I able to reproduce it with the latest nightly. |