Member
Member
Blue Dragonfly   2010-11-05, 11:20
#1

Hi all,

I just upgraded the code to the current SVN version, and broke my site :-) It was using the zpFocus theme, and dies near the end of my album menu. Long story short, the problem is reproducible with the default ZenPage theme, if I change the $showsubs parameter in the sidebar.php file from false to true, to show sub-albums. One of my albums, in which are a couple dynamic albums, fails and further output is cut off.

The error in the system log (using Win7) is:

php[42308]
PHP Fatal error: Class name must be a valid object or a string in C:\Dragonfly Images\Website\zp-core\class-search.php on line 1119

Let me know what else I can do or what other info is needed to help diagnose! thanks.

Member
Member
Blue Dragonfly   2010-11-05, 11:32
#2

Found it! class_search.php, line 1119 - Should be:

$album = new Album(new gallery(), $albumname);

instead of:

$album = new Album(new $gallery(), $albumname);
Administrator
Administrator
acrylian   2010-11-05, 11:43
#3

Please open a ticket. Note also that it is not recommend to use the svn version on a live site. We are doing some restructuring and are in the middle of reworking the sorting script which is partly broken currently.

Member
Member
Blue Dragonfly   2010-11-05, 11:48
#4

Thanks, Acrylian. Ticket created. I know it's not wise - but it sure is a motivating factor to figure it out quickly! I do make a backup regularly and can always revert the changes of necessary.

Member
Member
Blue Dragonfly   2010-11-05, 11:48
#5

Star Trek fans will note the ticket number: 1701 :-)

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.