![]() |
|
Object not found - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: Object not found (/thread-7848.html) |
Object not found - ryanp - 12-11-2010 Hi there, I'm trying to use ZP as a plugin, I realise that it doesn't work any longer on Joomla! or WordPress but I'm not using either of them, I'm using it on my own custom built CMS and when ZP is being called I'm getting the following message: The page is displaying but it's just the content that hasn't; I have gone through http://www.zenphoto.org/2009/12/zenphoto-as-a-plug-in-using-zenphoto-functions-from-outside-zenphoto/ and have hit a brick wall. There is nothing I can find that conflicts, I have used it with modrewrite on and off, I have also checked all of the paths and cannot find anything that looks wrong. Does anyone have any ideas? Thanks, Object not found - acrylian - 12-11-2010 The "zenphoto as a plugin" way does not work with all CMS that call their own pages within a function which of course clears all the Zenphoto contexts. Wordpress does this with newer versions (I assume Joomla does this as well but I am not familiar with that). Zenphoto relies on global object variables to function. These are cleared of course within a function if not defined. |