Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2005
    Posts
    94
    Plugin Contributions
    0

    help question 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?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Upgrade to 1.5 from a 1.3 version error during zc_install

    Zen-Venom Get Bitten

  3. #3
    Join Date
    Apr 2005
    Posts
    94
    Plugin Contributions
    0

    Default 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?

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default 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
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Apr 2005
    Posts
    94
    Plugin Contributions
    0

    Default Re: Upgrade to 1.5 from a 1.3 version error during zc_install

    Thanks, I will give it a try.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Upgrade to 1.5 from a 1.3 version error during zc_install

    Quote Originally Posted by marie893 View Post
    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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v153 During zc_install CURL problems detected: Error 28
    By frank18 in forum General Questions
    Replies: 5
    Last Post: 13 Aug 2014, 09:59 PM
  2. cannot determine database version during upgrade
    By Crash44 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 7
    Last Post: 18 Sep 2010, 04:00 PM
  3. Replies: 12
    Last Post: 21 Nov 2009, 06:54 PM
  4. error during upgrade
    By colemanpa in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 17 Dec 2007, 03:51 AM
  5. Fatal Error During upgrade from 1.3.0.2 to 1.3.5
    By lennypeng in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 4 Sep 2006, 02:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR