OK - here is the latest after upgrade to the 22/05/09 nightly build. Again I deleted the DB and did the entire installation and upload of a couple of pictures from scratch.
I am still getting the problems with the admin toolbox and image info.
I think the two most recent lines are the only errors since...
[Sat May 23 23:58:53 2009] [error] PHP Fatal error: Call to undefined function: gettext() in /home/freester/public_html/zenphoto/zp-core/functions-db.php on line 36
[Sat May 23 22:52:30 2009] [error] PHP Notice: Undefined variable: _zp_server_timezone in /home/freester/public_html/zenphoto/zp-core/admin-options.php on line 903
[Sat May 23 22:39:41 2009] [error] PHP Notice: Undefined variable: _zp_server_timezone in /home/freester/public_html/zenphoto/zp-core/admin-options.php on line 903
[Sat May 23 22:39:30 2009] [error] PHP Notice: Undefined variable: _zp_server_timezone in /home/freester/public_html/zenphoto/zp-core/admin-options.php on line 903
[Sat May 23 22:38:06 2009] [error] PHP Notice: Undefined variable: _zp_server_timezone in /home/freester/public_html/zenphoto/zp-core/admin-options.php on line 903
[Sat May 23 22:17:35 2009] [error] PHP Fatal error: Call to undefined function: json_encode() in /home/freester/public_html/zenphoto/zp-core/admin-uploadify/check.php on line 13
[Sat May 23 22:17:17 2009] [error] PHP Fatal error: Call to undefined function: json_encode() in /home/freester/public_html/zenphoto/zp-core/admin-uploadify/check.php on line 13
[Sat May 23 22:12:20 2009] [error] PHP Notice: Undefined variable: _zp_server_timezone in /home/freester/public_html/zenphoto/zp-core/admin-options.php on line 903
[Sat May 23 22:10:26 2009] [error] PHP Notice: Undefined variable: _zp_server_timezone in /home/freester/public_html/zenphoto/zp-core/admin-options.php on line 903
[Sat May 23 22:08:58 2009] [error] [client 82.69.84.53] File does not exist: /home/freester/public_html/404.shtml
[Sat May 23 22:08:58 2009] [error] [client 82.69.84.53] File does not exist: /home/freester/public_html/favicon.ico
Here is the contents of zp-core/js/zenphoto.js.php
<?php
header("Last-Modified: " . gmdate("D, d M Y H:i

", time()-3600*24*30) . " GMT"); // Date in the past
header("Expires: " . gmdate("D, d M Y H:i

", time()+3600*24*60) . " GMT"); // Don't expire for 60 days
header("Cache-Control: max-age=86400, s-maxage=86400, proxy-revalidate, must-revalidate");
header("Content-Type: application/x-javascript");
require_once(dirname(dirname(__FILE__)).'/zp-config.php'); // in case the defines are enabled!
if (!defined('WEBPATH')) {
$const_webpath = dirname(dirname(dirname($_SERVER['SCRIPT_NAME'])));
$const_webpath = str_replace("\\", '/', $const_webpath);
if ($const_webpath == '/') $const_webpath = '';
define('WEBPATH', $const_webpath);
}
if (!defined('ZENFOLDER')) { define('ZENFOLDER', 'zp-core'); }
if(!function_exists("gettext")) {
// load the drop-in replacement library
require_once(dirname(dirname(__FILE__)).'/lib-gettext/gettext.inc');
}
?>
/* Common javascripts and localized strings for Zenphoto */
var zppath = "<?php echo WEBPATH.'/'.ZENFOLDER; ?>";
var zpstrings = {
/* Used in jquery.editinplace.js */
'Save' : "<?php echo gettext('Save'); ?>",
'Cancel' : "<?php echo gettext('Cancel'); ?>",
'Saving' : "<?php echo gettext('Saving'); ?>",
'ClickToEdit' : "<?php echo gettext('Click to edit...'); ?>",
/* Used in thickbox.js */
'Test' : "<?php echo gettext('Test'); ?>",
'Close' : "<?php echo gettext('Close'); ?>",
'close' : "<?php echo gettext('close'); ?>",
'orEscKey' : "<?php echo gettext('or Esc Key'); ?>",
'Next' : "<?php echo gettext('Next'); ?>",
'Prev' : "<?php echo gettext('Prev'); ?>",
'Image' : "<?php echo gettext('Image'); ?>",
'of' : "<?php echo gettext('of'); ?>"
};
// Toggle element display
function toggle(x) {
jQuery('#'+x).toggle();
}
function confirmDeleteAlbum(url, message1, message2) {
if (confirm(message1)) {
if (confirm(message2)) {
window.location = url;
}
}
}
function confirmDeleteImage(url, message) {
if (confirm(message)) {
window.location = url;
}
}
The nightly build seems to have lost the global admin setting to hide comments also?
Thanks again...