Member
Member
esserius   2012-09-02, 06:37
#1

For some reason searching seems to be causing trouble, but I noticed a slew of log errors with this recent update.

Sun, 02 Sep 2012 05:03:43 GMT}

Backtrace: USER NOTICE: class-album detected an invalid folder name: NewGal/B/BlazBlue Series/BlazBlue Continuum Shift. in /home2/ettugame/public_html/zenphoto/zp-core/class-album.php on line 68

trigger_error called

from Album->__construct (class-album.php [68])

from SearchEngine->getSearchImages (class-search.php [1422])

 from SearchEngine->getImages (class-search.php [1477])

   from SearchEngine->getNumImages (class-search.php [1361])

     from getNumImages (template-functions.php [1805])

       from include (search.php [3])

         from index.php [92]
Administrator
Administrator
acrylian   2012-09-02, 07:16
#2

So does that album exist? The spaces in "BlazBlue Continuum Shift" here may be the cause of the issues. Although it should work I would really recommended to use underscores or divis instead of spaces in file/folder names.

You could try to change the search options regarding spaces.

Member
Member
esserius   2012-09-02, 07:23
#3

Er, actually no it doesn't. Hm... regardless, the error in question was a result of searching. Effectively, when I attempted to search for something (such as Final Fantasy, or any search terms) the resulting page came up as a white page with nothing displayed.

Administrator
Administrator
acrylian   2012-09-02, 09:19
#4

Then you should try to clear the browser cache, disable the search cache expire option and perform a database refresh on Zenphoto (admin overview). Probably that all references an album that is gone meanwhile.

Member
Member
sbillard   2012-09-02, 17:28
#5

Probably what you need to do is refresh your database. Most likely this album was removed without Zenphoto knowing. Also check the search cache. You may have a cached search that has not yet expired.

Member
Member
mowgli597   2012-09-02, 20:46
#6

I'm having a similar problem with "search" after upgrading to 1.4.3.2

Error log shows:

[02-Sep-2012 20:32:05 UTC] PHP Fatal error: Call to a member function albumSubRights() on a non-object in /home/bpskdk/public_html/zenphoto/zp-core/class-search.php on line 1257

If I quote out this line then the search works.

Member
Member
sbillard   2012-09-03, 01:48
#7

Please try tonight's nightly build and report if you still have the issue.

Member
Member
mowgli597   2012-09-03, 07:25
#8

Uploaded nightly build: release 10732.

Issue is still there but error message has changed to:

[03-Sep-2012 07:17:57 UTC] PHP Fatal error: Call to a member function isMyItem() on a non-object in /home/bpskdk/public_html/zenphoto/zp-core/class-search.php on line 1265

Member
Member
mowgli597   2012-09-03, 07:31
#9

My apologies. Release 10747

Member
Member
sbillard   2012-09-03, 16:49
#10

Ok, a fix for this will be in tonight's nightly build. Please try it and report back. (Hopefully no new issues this time!)

Junior Member
Junior Member
willpearce   2012-09-04, 04:40
#11

Hi, I've been having the same error for a few days while I developed a new Zenphoto site. Just tested "zenphoto-2012-09-02-trunk.zip":

The search function is now behaving as expected and no further errors are showing in my php error log when I perform searches.

Thanks so much!

Member
Member
sbillard   2012-09-04, 17:22
#12

Thanks for your update.

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