Upgrade to 1.5 from a 1.3 version error during zc_install
Hi
I have just upgraded from a 1.3 version (Unknown) to 1.51 I had to as the server upgraded the php version and it closed the site down, i have ran the upgrade and try to do zc_install and it is giving me this error. WARNING: An Error occurred, please refresh the page and try again. i have searched and tried to fix the errors shown in the cache debug file, here they are
[05-Oct-2012 16:55:49 UTC] PHP Warning: Variable passed to each() is not an array or object in /home/*****/public_html/includes/classes/db/mysql/query_factory.php on line 153
[05-Oct-2012 16:55:49 UTC] PHP Fatal error: Cannot redeclare date_diff() in /home/******/public_html/includes/functions/functions_general.php on line 1476
this did not change anything, i am using core ftp to transfer and i reuploaded all files to make sure all were uploaded correctly
I have also checked the configure.php files and they seem to be directing to the correct database.
does anyone have any other ideas as to what to do?
Re: Upgrade to 1.5 from a 1.3 version error during zc_install
Re: Upgrade to 1.5 from a 1.3 version error during zc_install
No, I hoped for the best, and got the worst, i thought it would just be a quick fix, do u have any suggestions as to what I can do now?
Re: Upgrade to 1.5 from a 1.3 version error during zc_install
If you have not messed up your Database
Grab a backup now
http://www.zen-cart.com/content.php?...atabase-backup
Then make a folder and upload a ZenCart fileset
Make a new DB
run zc_install to activate the install using the new DB
Use phpmyadmin to import your DB Backup
Re-run zc_install and upgrade DB only
You should then be ready to test
Re: Upgrade to 1.5 from a 1.3 version error during zc_install
Thanks, I will give it a try.
Re: Upgrade to 1.5 from a 1.3 version error during zc_install
Quote:
Originally Posted by
marie893
PHP Fatal error: Cannot redeclare date_diff() in /home/******/public_html/includes/functions/functions_general.php on line 1476
That means your functions_general.php file is still from the old version. The date_diff() function was renamed to something else since v1.3.9. So if you're getting that error, it means either your upload failed when updating that file (in which case you probably have numerous other failed/missed uploads too), or you didn't actually update that file before merging, or you replaced the updated version with another outdated version when re-installing an old version of an addon that changes that file.