Zenphoto 1.1.1 Release

We love those 1's! This is a bugfix release for Zenphoto 1.1, which includes a few new features you can see in the changelog, full list here: http://www.zenphoto.org/trac/query?milestone=1.1.1&order=priority

Upgrading should be a snap, just copy over your 1.1 and run /zp-core/upgrade.php . If upgrading from pre-1.1, just follow the instructions on the front page of zenphoto.org.

Thanks to Stephen (sbillard) for all his hard work on this release, and the whole dev team as usual for helping out.

As usual, post questions or concerns here, and bug reports on Trac. Thanks!

Comments

  • Bug 279 filed :-)

    The 1.1.1 version is not available as version...
    Was the same case with 1.1 when you released it.
  • I'm getting:

    `Division by zero in /home/glassham/public_html/gallery/zp-core/template-functions.php on line 207

    `
    Pretty sure it started only after I merged / deleted the new slim version of zp-config.php with my existing config file.

    Any suggestions please?
  • D'oh! It would help if I ran upgrade.php. ;)
  • Hey,

    I'm trying to do a fresh install and I'm getting the error:

    MySQL Query ( SELECT `name`, `value` FROM `options` ) Failed. Error: Table 'bombwp.options' doesn't exist
    It looks like your zenphoto tables haven't been created. You may need to run the setup script.


    This error appeared on setup.php which I thought was supposed to create the tables. I'm 100% sure I have the dbhost, username and password etc all ok.
  • trisweb Administrator
    David_1cog - did upgrade.php fix that issue? I assume it did :) In the future we'll issue an error message if the options table cannot be found, or specific required options fields cannot be found. That might be more user-friendly...

    hellweaver666 - That is likely a bug in the setup from the shift to database-only options. it's a bit of a tricker, since the options db table needs to be created first.... For now I believe if you create the table manually (using phpMyAdmin or similar) then it will allow you to run setup. This will be fixed for the next bugfix release, 1.1.2, very soon.
  • Hi

    I have the same problem as hellweaver666. I tracked it down to what I think might be a bug.

    If you're on a clean install and don't have an options table:

    setup.php includes admin-functions.php
    which includes classes.php
    which includes auth_zp.php
    which includes functions-db.php
    which on line 110 calls getOption('server_protocol')

    but, there's no options table yet because I'm trying to run setup.php!

    I tried commenting out that one line, but that doesn't quite work though it gets farther. There's a similar problem with getOption('admin_email') at line 161 of admin-functions when trying to printLoginForm.

    scott
  • Oops, didn't see the recommendation to create the options table manually. I just did that.

    I had to temporarily set WEBPATH and SERVERPATH for setup to finish, and then _unset_ them afterwards, but I think things are working now...

    scott
  • trisweb Administrator
    Wow, that's something that we need to take care of.

    In the future I'll try to test setup and upgrade before a release (actually a list of testing steps before release, or unit testing would be great), especially with such a large change.
  • The quick fix is to put `server_protocol` back into the zp-config.php file.
  • trisweb Administrator
    Tonight's nightly build (11/7, it will build at 11pm PST) contains a fix for the options table problem. I'd appreciate if a few testers could test setup with it to make sure it works. Then we can release 1.1.2 as soon as possible. Thanks!
  • I've tested it and it works.
  • I've tested the latest version and all is working ok.
  • "zenphoto upgrade
    Upgrading tables...
    Cleaning up...

    Warning: Invalid argument supplied for foreach() in /mnt/147/sdb/9/f/maxime.goepp/zenphoto/zp-core/class-gallery.php on line 437
    Done!

    You can now View your gallery, or administrate."

    :(
  • tancrede:

    Could you supply some more information? What is (was) in your cache folder? The failure is when trying to clean out the cache.
  • it happened while upgrading ...
  • I finaly drop every thing for a clean install ...

    and now get the "
    Zenphoto Error

    MySQL Query ( SELECT `name`, `value` FROM `zen_options` ) Failed. Error: Table 'maxime_goepp.zen_options' doesn't exist
    It looks like your zenphoto tables haven't been created. You may need to run the setup script." error message while instaling.

    I've checked my zp-config.php file which seems well defined. My databse is OK too ...

    I'm a bit disapointed :) but will try to find what's going on
  • Oops, I think I should try the nightly built !
  • OK, everything's fine with the 11/7 nightly build !
  • Glad to see this because I experienced this last night when I upgraded from 1.0.8.2(+several hacks) to 1.1.1. I saw the options table was missing but used in the included files - added it manually as described and things ran smoother. Glad this was the right thing to do. My own theme appears to work fine without modification but I need to update a couple of things I had hacked to be more like the new versions of the included themes.
  • trisweb Administrator
    1.1.2 has been released, fixing all those bugs from 1.1.1 with the installation. I've tested it myself on several servers and it's working great.
  • Tristan,

    Yup, upgrade fixed it. A warning that I (or anyone that) missed the obvious would be v. useful. :)
Sign In or Register to comment.