Upgraded to 1.4.3 from 1.4.2.4. Upgrade appeared to go well as far as Zenphoto went but then it broke my site. I now get the following error when trying to access the main site either by following the link on the Zenphoto page or going directly into the site:
Quote:Zenphoto has detected a change in your installation.
Zenphoto 1.4.3[10393] has been copied over an unknown release.
Please reinstall the following setup files from the 1.4.3 [10393] release:
zp-core/setup.php
zp-core/setup/setup-functions.php
zp-core/setup/setup-option-defaults.php
zp-core/setup/setup-primitive.php
zp-core/setup/setup-sqlform.php
zp-core/setup/setup.css
zp-core/setup/setup_permissions_changer.php
zp-core/setup/setup_set-mod_rewrite.php
zp-core/setup/setup_themeOptions.php
The change detected is critical. You must run setup for your site to function.
I reload the setup files as directed, run setup.php. I am told I need to be logged in to run setup. I login as admin, setup runs and gives three separate warnings:
[list]
[*]relates to the revision of MySQL (running 5.1.63 - advises to run 5.5.0 or later. This warning usually come sup during an upgrade)
[*]
Warning!
Perhaps there was a problem with the upload. You should check the following files:
zp-core/setup.php
zp-core/setup/setup-functions.php
zp-core/setup/setup-option-defaults.php
zp-core/setup/setup-primitive.php
zp-core/setup/setup-sqlform.php
zp-core/setup/setup.css
zp-core/setup/setup_permissions_changer.php
zp-core/setup/setup_set-mod_rewrite.php
zp-core/setup/setup_themeOptions.php
This in spite of the files being present having just been reloaded.
[*]
[*]a huge list of files which should be removed:
zp-core/admin-uploadify/
zp-extensions
etc. etc
[*]
[/list]
I delete the extra files: some delete but a core remain which didn't delete. Mainly in the zp-core/zp-extensions/colorbox/ directory which I can't delete manually without changing file permissions.
In spite of the warning re: setup files I click "go" (since they are there). Setup completes. Zenphoto looks and works fine but the same problem re: the main site persists.
Debug log contains the following:
Quote: {Tue, 10 Jul 2012 14:49:18 GMT} Zenphoto v1.4.3[10393]
Backtrace: WARNING: require_once(/home/bpskdk/public_html/development/zenphoto/zp-core/setup/setup-functions.php) [function.require-once]: failed to open stream: No such file or directory in /home/bpskdk/public_html/development/zenphoto/zp-core/setup/setup_set-mod_rewrite.php on line 11
require_once called
from include (setup_set-mod_rewrite.php [11])
from index.php [92]
Setup log contains the following:
Quote: Zenphoto Setup v1.4.3[10393]: Tue, 10 Jul 2012 17:35:12 +0100
Warn: MySql Version 5.0.0 or greater is required. Version 5.5.0 or greater is preferred. Use a lower version at your own risk.
Warn: Perhaps there was a problem with the upload. You should check the following files: zp-core/setup.phpzp-core/setup/setup-functions.phpzp-core/setup/setup-option-defaults.phpzp-core/setup/setup-primitive.phpzp-core/setup/setup-sqlform.phpzp-core/setup/setup.csszp-core/setup/setup_permissions_changer.phpzp-core/setup/setup_set-mod_rewrite.phpzp-core/setup/setup_themeOptions.php
Warn: The following files could not be deleted.zp-core/admin-uploadifyzp-core/zp-extensions/tiny_mce/plugins/ajaxfilemanager/jscripts/edit_area/pluginszp-core/zp-extensions/class-video/getid3/!delete any module you don't like, but check dependencies.txtzp-core/zp-extensions/colorbox/themes/example2/imageszp-core/zp-extensions/colorbox/themes/example2zp-core/zp-extensions/colorbox/themes/example3/imageszp-core/zp-extensions/colorbox/themes/example3zp-core/zp-extensions/colorbox/themes/example1/images/ie6zp-core/zp-extensions/colorbox/themes/example1/imageszp-core/zp-extensions/colorbox/themes/example1zp-core/zp-extensions/colorbox/themes/example5/imageszp-core/zp-extensions/colorbox/themes/example5zp-core/zp-extensions/colorbox/themes/example4/images/ie6zp-core/zp-extensions/colorbox/themes/example4/imageszp-core/zp-extensions/colorbox/themes/example4zp-core/zp-extensions/colorbox/themeszp-core/zp-extensions/colorboxzp-core/admin-jQueryzp-core/rssthemes/effervescence_plus/images/slimboxthemes/effervescence_plus/images/smooththemes/effervescence_plus/scripts
Completed system check
Query ALTER TABLE `zp_images` DROP FOREIGN KEY ``zp_images`_ibfk1` Failed. Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zp_images`_ibfk1`' at line 1
Query ALTER TABLE `zp_comments` DROP FOREIGN KEY ``zp_comments`_ibfk1` Failed. Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zp_comments`_ibfk1`' at line 1
Set Zenphoto default options
Notice: "Module mod_rewrite" is working. The Zenphoto option "mod_rewrite" is "enabled".
Set theme default options for default started
Set theme default options for effervescence_plus started
Set theme default options for garland started
Option handler for default instantiated
Set theme default options for default completed
Option handler for effervescence_plus instantiated
Set theme default options for effervescence_plus completed
Set theme default options for rsigs started
Option handler for rsigs instantiated
Set theme default options for rsigs completed
Option handler for garland instantiated
Set theme default options for garland completed
Set theme default options for stopdesign started
Option handler for stopdesign instantiated
Set theme default options for stopdesign completed
Set theme default options for zenpage started
Option handler for zenpage instantiated
Set theme default options for zenpage completed
Set theme default options for zpmobile started
Option handler for zpmobile instantiated
Set theme default options for zpmobile completed
setup-functions.php deleted.
setup-option-defaults.php deleted.
setup-primitive.php deleted.
setup-sqlform.php deleted.
setup.css deleted.
setup_permissions_changer.php deleted.
setup_set-mod_rewrite.php deleted.
setup_themeOptions.php deleted.
setup.php deleted.
setup/ deleted.
Site info:
Quote: Zenphoto version 1.4.3 [10393] (Official build)
Current locale setting: en_US.UTF8
Current gallery theme: rsigs
PHP version: 5.3.13
Graphics support: PHP GD library bundled (2.0.34 compatible)
supporting: gif, jpg, jpeg, png, bmp
PHP memory limit: 96M (Note: Your server might allocate less!)
MySql version: 5.1.63
Database name: bpskdk_devroyalsignalsorguk
Table prefix: zp_
Spam filter: akismet_php5
CAPTCHA generator: zenphoto
This has happened three times: twice on the main site and once on a copy of the site uploaded to a "development" folder. ON the live site (first two attemnpts) I backed out 1.4.3 and went back to 1.4.2.4. The development site is currently failing.
Apologies for such verbosity. As much info as I could get has been included.
Michael