Member
Member
jackdaw   2013-06-12, 08:34
#1

I'm using the latest ZP version. When in theme options I want to save the image size (largest size) of the main gallery (collection), that will save to my desired 800px. But the other two galleries inside that main gallery keep flipping back to the old 680px size.

Administrator
Administrator
acrylian   2013-06-12, 09:37
#2

Errors in the logs?

Member
Member
jackdaw   2013-06-12, 10:26
#3

Good call!

I'm getting these errors in te log:

`
NOTICE: Trying to get property of non-object in /srv/jackdaw/www/www.jacktummers.nl/collectie/themes/zp-theme/zenhead.php op regel 114

include called from include (album.php [1])

from index.php [108]

{6258:Wed, 12 Jun 2013 10:23:25 GMT}

NOTICE: Undefined variable: firstPageImages in /srv/jackdaw/www/www.jacktummers.nl/collectie/themes/zp-theme/album.php op regel 33

include called from index.php [108]
`
And this is line 33 in my album.php:

``

Administrator
Administrator
acrylian   2013-06-12, 10:48
#4

Seems you need to update those themes :-) The $firstpages variable is not used for some time now.

However, that is not really related to the option not saving.

Sorry for being picky: "Gallery" means Zenphoto site, you mean "Albums"..:-) YOu should look at the database itself if the values are there for those albums. Also be sure the html_static cache if used is cleared and also the browser plays no cache tricks on you.

Member
Member
jackdaw   2013-06-12, 11:37
#5

Fixed! Thanks for that database tip. Still no idea why it doesn't work through the options page, but I have to completely build a new theme anyway, so then probably everything will be ok.

Administrator
Administrator
acrylian   2013-06-12, 12:39
#6

Not easy to find out. We had this before, could be a database update and some other settings. Maybe try to delete the row and re-run setup to re-create it.

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