Have upgraded to 1.2.4 [3716] (Official Build) and came across two problems.
Firstly all my text fields in the MySQL tables were set to Swedish as the locale so getting lots of incompatible locale errors! Set them all to UTF-8 and problems gone away.
Second problem I can't fix... IE7 no longer shows the picture giving a JS error of "ZPPATH not defined" yet Firefox is fine??
See http://www.forgot.co.uk/photos/index.php?album=laalaa&image=DSCF0002.JPG
Note I'm using a different path to the standard one, but have the following lines in my zp-config.php file...
$conf['album_folder'] = '/albums';
$conf['album_folder_class'] = 'std';
define('WEBPATH', '/photos');
define('SERVERPATH', 'C:\Www\root\www.forgot.co.uk\htdocs\photos');
Any ideas?
The upgrade does not change the collation sequence of your tables, so that was left over from some ancient Zenphoto install. The change you made is the correct one.
I'm guessing this has to do with the define of WEBPATH, but I am not sure what would be wrong. Is it necessary for you to make these defines? That is can you leave the WEBPATH and SERVERPATH lines commented out?
The other thing you can try is placing require_once('zp-config.php'); at the front of the zenphoto.js.php script.
If I leave WebPath commented out it keeps trying to change the URLs to:
http://www.forgot.co.uk/php/index.php?album=laalaa&image=DSC00012.JPG
Instead of the correct:
http://www.forgot.co.uk/photos/index.php?album=laalaa&image=DSC00012.JPG
Placing the require_once('zp-config.php'); (before or after the
You can try using the zenphoto.js.php script from the 1.2.3 build. There was a change to fix a differnent problem, but obviously you were not encountering it. Still, I am suprised that the above change did not work. Essentially it is doing the same as the old file, but without the downside.
Hi,
I've finally had a chance to install the latest nightly build...
I now have virtually no admin functionality as it's saying "Fatal error: Call to undefined function: ngettext()" all over the place and I don't have gettext() installed in my PHP (am trying to get this resolved).
Images in IE still don't work e.g. http://www.forgot.co.uk/photos/index.php?album=laalaa&image=DSCF0002.JPG
Thanks!