![]() |
|
plug-in no longer working after update to 1.2.6. - 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: plug-in no longer working after update to 1.2.6. (/thread-5888.html) |
plug-in no longer working after update to 1.2.6. - Yvar - 22-09-2009 I am using zenphoto as plug-in and was working with an older version (1.2.4 I believe). ` [code] plug-in no longer working after update to 1.2.6. - acrylian - 22-09-2009 These should all work. Please look at your server's error log. plug-in no longer working after update to 1.2.6. - Yvar - 22-09-2009 I did a new install on my development server so I could test better. With Xdebug I get the error: Fatal error: Call to a member function isDynamic() on a non-object in D:\wamp\www\PhotoMatch\backend\zp-core\template-functions.php on line 1760 plug-in no longer working after update to 1.2.6. - sbillard - 22-09-2009 This error is an indication that the album you are trying to access is not a valid album object. The code you list does not show how the album is being setup, so I cannot tell you what is wrong with it. plug-in no longer working after update to 1.2.6. - Yvar - 22-09-2009 Ok, I call the page with: portfolio.php?album=glamour Then at the top of the page I have: require_once("backend/zp-core/template-functions.php"); And halfway down the page (which is all HTML) I have the code as posted above. plug-in no longer working after update to 1.2.6. - acrylian - 22-09-2009 How do you setup the album object? plug-in no longer working after update to 1.2.6. - Yvar - 22-09-2009 Hmm, I knew I was missing something. But the fact that I passed album= worked before made me think this was enough to create an album object. So now I understand it isn't? plug-in no longer working after update to 1.2.6. - acrylian - 22-09-2009 I doubt that this ever worked on an none Zenphoto page. plug-in no longer working after update to 1.2.6. - Yvar - 22-09-2009 Well, I will believe you -since you are the developer- but strangely enough it did. And I reverted to the old situation from svn to check...and it did work like that. plug-in no longer working after update to 1.2.6. - sbillard - 22-09-2009 The controller used to be loaded from the template-functions script. But that was not correct and caused problems with using zenphoto as a plugin. The controller processes all the normal zenphoto url parameters. You will have to setup the zenphoto environment directly:
|