Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Apr 2010
    Posts
    15
    Plugin Contributions
    0

    Default Question about Upgrading

    Hi, I'm following the instructions (http://www.zen-cart.com/wiki/index.p...tion_-_Upgrade) for an upgrade from ZenCart v1.3.9d to ZenCart 1.51.

    However when I get to step 8 - I'm unsure what the 'temp' directory refers too?

    Do I just copy and paste all the files and folders from the Zencart 1.51over the existing files and folders in the root of my old site?

    Because on my existing Zencart 1.39 site - I renamed the admin folder to something else, so if I just copy and paste the new files over - I"ll have 2 admin folders - one called 'admin from v1.51 and the old renamed one from 1.39d?

    Any guidance appreciated?

    NB: I have backed up everything - and this is just an experiment at this stage - so I don't need advice on backing everything up - just on this particular step?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Question about Upgrading

    Better to read this updated set of upgrade instructions and related articles: http://www.zen-cart.com/upgrade

    As far as "I would have two admin folders", you simply need to remember that your OLD non-admin folders are getting updates AND your OLD admin folder is ALSO getting updates ... so if you rename the admin folder in the new Zen Cart files to whatever your old admin folder's name was, then you won't have the confusion anymore.

    ie:

    OLD SITE has an admin folder of "/mystoreadmin/"
    NEW set of Zen Cart files has a default foldername of "/admin/" ... so rename that from /admin/ to /mystoreadmin/
    Then proceed with upgrading the same as you do for the non-admin files.
    .

    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.

  3. #3
    Join Date
    Apr 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: Question about Upgrading

    Hi DrByte,

    Thankyou for your response. I followed your advice and renamed the ZenCart 1.51 folder the same name as the old admin folder. I then went ahead and copied the all the New ZenCart files and folders into the root of my old site. Following the instructions at http://www.zen-cart.com/upgrade I then completed steps 8-11. There were a couple of error warning telling me it couldn't find mysite/admin/configure but I just ignored it and continued upgrading database as per instructions.

    At completion the front end showed up, although the main_page content has been replaced, but my theme was still there. However trying to access the admin panel is now giving me a 500 error. Yes I have checked both configure.php files and those settings are correct according to the names I gave for the admin folders.

    However I think there has been an error in the upgarde process in ref to this as I cannot access the admin panel?

    Any thoughts?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Question about Upgrading

    .

    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.

  5. #5
    Join Date
    Apr 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: Question about Upgrading

    PHP Fatal error: Cannot redeclare check_page()

    occurs includes\functions\admin_profiles.php on line 121


    no idea!
    Last edited by jenstudio; 22 Nov 2012 at 06:14 AM.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Question about Upgrading

    There is no /admin/includes/functions/admin_profiles.php file in Zen Cart.
    But many features of the old "admin profiles addon" were added to Zen Cart v1.5.0 and some function names might clash with the old addon.

    Solution: Remove the files from the old "admin profiles" addon.
    .

    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.

  7. #7
    Join Date
    Apr 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: Question about Upgrading

    Yeah your right again DrByte!

    I did have an old admin profile modules installed on the old site. I have now deleted /admin/includes/functions/admin_profiles.php. I now can login into the Zencart admin panel, however there is another error stoping menus from loading:

    PHP Fatal error: 1054:Unknown column 'SUPERUSER_PROFILE' in 'where clause' :: SELECT admin_id from admin

    WHERE admin_id = 1

    AND admin_profile = SUPERUSER_PROFILE in C:\xampp\htdocs\upcatalog\includes\classes\db\mysql\query_factory.php on line 120

    do I need to delete the table 'admin_profiles' out of my db?

  8. #8
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Question about Upgrading

    That tells me your /your-renamed-admin-folder/includes/init_includes/init_admin_auth.php file is OLD.
    Or you have an outdated override version of it at /your-renamed-admin-folder/includes/init_includes/overrides/init_admin_auth.php which needs to be deleted.
    Last edited by DrByte; 22 Nov 2012 at 07:50 AM. Reason: fix paths
    .

    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.

  9. #9
    Join Date
    Apr 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: Question about Upgrading

    niether of those files above exist on my system?

  10. #10
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Question about Upgrading

    Oops - I left out the mention of .../init_includes/ earlier. I've fixed it above.
    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Question about upgrading
    By dickus in forum Upgrading to 1.5.x
    Replies: 4
    Last Post: 7 Mar 2016, 10:51 AM
  2. Question about upgrading with Cherry Zen template
    By nyrainman in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 4 Aug 2014, 04:11 PM
  3. Question about upgrading
    By waterbender in forum Upgrading to 1.5.x
    Replies: 15
    Last Post: 25 Aug 2013, 06:36 PM
  4. question about upgrading
    By mythcastle in forum Upgrading to 1.5.x
    Replies: 4
    Last Post: 18 Mar 2012, 02:32 PM
  5. General question about upgrading Admin area
    By MCanes in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 May 2007, 02:55 AM

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