Duplicate theme not displaying album thumbs...1.4.3

I'm a ZP veteran so I know what I'm doing. Just did an upgrade to 1.4.3 to my personal site last week and it went fine...

This is a new site - Fresh install 1.4.3 and it went smoothly...

If I duplicate through the backend or via FTP the thumbs don't display on the album page. The gallery index page displays thumbs fine but the album page doesn't...

http://dev.chillfactoricecream.com/index.php?album=new_gallery/

I also noticed theme options for thumb size is 1px - and is NOT editable...it's grayed out. The original theme shows the thumbnail as 95px - which is what they are displayed at when the original theme is active...still grayed out but the proper size...SS below of the admin area theme options...

http://content.screencast.com/users/n20capri/folders/Default/media/27ba3a3a-a91b-43dc-afff-8805c59222d6/theme.jpg

themeoptions.php are the exact same for both - as mentioned a direct copy...any idea what's going on?

Thanks,
Mike

Comments

  • Also forgot to post the debug error I'm seeing - I think it's related...

    Backtrace: WARNING: Division by zero in ..../zp-core/template-functions.php on line 2545
    printImageThumb called
    from include (album.php [103])
    from index.php [92]
  • This is a known problem with setting default options for the theme. (If the theme did not specifically set the default for an option then it would be "empty".)

    There is a fix in the nightly builds, but that does not retroactively fix the problem. The full fix is to upgrade to the nightly then delete all the options for your custom theme from the database.
  • Which nightly do I download? And how do I delete all the options from the theme from the database?
  • Download the most current "trunk" file.

    To delete all the theme options you will need to use a tool like phpMyAdmin to access your database. Find the options table (it will be prefixed by your database prefix) and do a search with the "theme" column equal to the name of your theme. That will list you all your theme's optons. Delete each of them.
  • Worked great thanks!
Sign In or Register to comment.