Print_Album_Menu problem...

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.

Comments

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

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

    instead of:

    $album = new Album(new $gallery(), $albumname);
  • acrylian Administrator, Developer
    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.
  • 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.
  • Star Trek fans will note the ticket number: 1701 :-)
Sign In or Register to comment.