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.JPGNote 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?
Comments
2. 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.
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 <PHP ? I tried both!) doesn't work.
Your help is much appreciated as I'm a long term user of ZenPhoto and a big fan - it's just this last upgrade that's gone wrong
Let me know if you want me to test anything else!
I've finally had a chance to install the latest nightly build...
1) 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).
2) Images in IE still don't work e.g. http://www.forgot.co.uk/photos/index.php?album=laalaa&image=DSCF0002.JPG
Thanks!
If I switch back and look in IE7 it doesn't work. No big deal, quite like the different theme