![]() |
|
How to use new version of zenphoto template functions outside base folder - 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: How to use new version of zenphoto template functions outside base folder (/thread-3491.html) Pages:
1
2
|
How to use new version of zenphoto template functions outside base folder - riptheriper - 2008-08-17 Hi, I have successfully installed zenphoto on my server and it is working flawless. Now I would like to fetch latest images and random images on website’s main page which is outside a Zen folder, I have named “zenphoto†to “portfolioâ€. Above code is not working with a new version of ZenPhoto, any help will be highly appreciated? Thanks and regards How to use new version of zenphoto template functions outside base folder - sbillard - 2008-08-18 What is happening? This is working for me. Where have you placed the page with this script? How to use new version of zenphoto template functions outside base folder - riptheriper - 2008-08-18 Hi, Thanks for your reply; following is my directory structure on my local host: Inetpub I hope it will help you to understand a situation, if not and would like to ask some more information then kindly ask me and I will be glad to pass you most appropriate info which I could. Thanks and regards How to use new version of zenphoto template functions outside base folder - riptheriper - 2008-08-19 Problem has been solved by installing a version 1.2 How to use new version of zenphoto template functions outside base folder - Barbara - 2008-09-02 I have the same problem. It's a fresh installation of 1.2 I uploaded a few pics but other than that I didn't change anything. Test Index ` How to use new version of zenphoto template functions outside base folder - sbillard - 2008-09-02 There is a mismatch between your descripton and the error message. According to the error message the zenphoto files appear to be in the How to use new version of zenphoto template functions outside base folder - Barbara - 2008-09-02 Yep, sorry. I pasted the wrong log How to use new version of zenphoto template functions outside base folder - sbillard - 2008-09-02 Can you look at your error logs? The function should have been defined. Also, the place where it is being called is indicating a problem connecting to the database. So it would appear that things are not loading properly. How to use new version of zenphoto template functions outside base folder - Barbara - 2008-09-02 Changed the webpath back to the folder name only. How to use new version of zenphoto template functions outside base folder - Barbara - 2008-09-08 Help? How to use new version of zenphoto template functions outside base folder - sbillard - 2008-09-08 Please post the full structure of your gallelry (as riptheriper did). Are yolu using this in conjunction with anything else like Wordpress? There really should be no way that this error can occur--the You can modify the code in functions-db.php to give us some more information:
insert here:
How to use new version of zenphoto template functions outside base folder - Barbara - 2008-09-09 Zenphoto is the only script I'm currently running. The above code doesn't seem to be working, unless I'm doing something wrong. $_zp_conf_vars: root folder (it has the file with the script) How to use new version of zenphoto template functions outside base folder - sbillard - 2008-09-09 Well, I certainly don't know why it is not working, but at least now we know the symptoms. Somehow the configuration file is not being found, so zenphoto does not have the MySql login information. If you don't mind continuing to debug this through this thread, you can add another line to the above code We will see what this tells us and go on from there. How to use new version of zenphoto template functions outside base folder - Barbara - 2008-09-09 Thanks sbillard! I c/p and it said Parse error: syntax error, unexpected ' How to use new version of zenphoto template functions outside base folder - sbillard - 2008-09-09 Ok, missing paren corrected:
How to use new version of zenphoto template functions outside base folder - Barbara - 2008-09-09 Here you go: $_zp_conf_vars: How to use new version of zenphoto template functions outside base folder - sbillard - 2008-09-10 Sorry, I guess I really don't know what is going on. Maybe if I sleep on it or give it a rest something will occur to me. How to use new version of zenphoto template functions outside base folder - Barbara - 2008-09-11 No problem. Thanks anyway. I think I'll just copy the html of the pics and paste it in the page where I need it. How to use new version of zenphoto template functions outside base folder - Barbara - 2009-01-15 I have a new gallery and the same problem. I tried the above code but it is no longer working. Is there anything else I can do? The site structure now is How to use new version of zenphoto template functions outside base folder - Barbara - 2009-06-17 I have this code in a test page, it's working but all the thumbnails are broken Fatal error: require_once() [function.require]: Failed opening required '/photos/zp-core/template-functions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/test/zen.php on line 4 |