Object not found

Hi there,
I'm a newbie to ZP and have spent quite a while trolling the forum but cannot find anything helpful, in saying that I'm sorry if this is doubled up on a post I couldn't find.

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:
"Object not found
The Zenphoto object you are requesting cannot be found. "

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,
Ryan

Comments

  • acrylian Administrator, Developer
    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.
Sign In or Register to comment.