Pages (2): 1 2   
Developer
Developer
trisweb   2007-11-07, 23:02
#1

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!

Member
Member
TheBLIONCorp   2007-11-08, 00:39
#2

Bug 279 filed :-)

The 1.1.1 version is not available as version...
Was the same case with 1.1 when you released it.

Member
Member
David_1cog   2007-11-08, 01:00
#3

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?

Member
Member
David_1cog   2007-11-08, 01:05
#4

D'oh! It would help if I ran upgrade.php.

Member
Member
hellweaver666   2007-11-08, 01:13
#5

Hey,

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

[i]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.[/i]

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.

Developer
Developer
trisweb   2007-11-08, 01:41
#6

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.

Member
Member
sgraham   2007-11-08, 02:41
#7

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

Member
Member
sgraham   2007-11-08, 02:50
#8

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

Developer
Developer
trisweb   2007-11-08, 03:04
#9

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.

Member
Member
sbillard   2007-11-08, 04:02
#10

The quick fix is to put server_protocol back into the zp-config.php file.

Developer
Developer
trisweb   2007-11-08, 04:54
#11

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!

Member
Member
sbillard   2007-11-08, 07:25
#12

I've tested it and it works.

Member
Member
hellweaver666   2007-11-08, 18:57
#13

I've tested the latest version and all is working ok.

Member
Member
tancrede   2007-11-08, 19:55
#14

"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."

Member
Member
sbillard   2007-11-08, 20:10
#15

tancrede:

Could you supply some more information? What is (was) in your cache folder? The failure is when trying to clean out the cache.

Member
Member
tancrede   2007-11-08, 20:20
#16

it happened while upgrading ...

Member
Member
tancrede   2007-11-08, 20:22
#17

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

Member
Member
tancrede   2007-11-08, 20:26
#18

Oops, I think I should try the nightly built !

Member
Member
tancrede   2007-11-08, 20:33
#19

OK, everything's fine with the 11/7 nightly build !

Member
Member
jlang   2007-11-08, 22:38
#20

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.

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.