Results 1 to 4 of 4
  1. #1

    Default modules admin page failing after test upgrade

    I exported my database and made a copy of my ZenCart files. I created a new database and uploaded the standard 1.3.8a file to my server, and used the zc_install folder to update the test database. There were 7 skipped exceptions.

    I decided to try things out anyway. Everything seems fine with both the customer areas and admin areas, with the exception of Payment, Shipping, and Order modules.

    When I attempt to edit/install the modules in these three areas, the right-hand side of the table (with a dark green header) where the options are entered disappears and the rest of the table spreads the width of the page. The Zencart logo and other footer information also disappears, which has me thinking the page is not loading completely for some reason.

    Do I have to remove any custom modules (like beanstream payment module) and/or turn off all the other modules before creating the database export?

    Here is a list of my database upgrade exceptions:

    SKIPPED: Cannot ADD column module_name because it already exists.
    SKIPPED: Cannot ADD column module_mode because it already exists.
    SKIPPED: Cannot create table nochex_apc_transactions because it already exists
    SKIPPED: Cannot create table nochex_sessions because it already exists
    SKIPPED: Cannot create table nochex_sessions because it already exists
    SKIPPED: Cannot create table nochex_sessions because it already exists
    SKIPPED: Cannot create table nochex_sessions because it already exists
    SKIPPED: Cannot CHANGE column zen_order_id because it does not exist.
    SKIPPED: Cannot CHANGE column zen_order_id because it does not exist.
    SKIPPED: Cannot ALTER or INSERT/REPLACE into table linkpoint_api because it does not exist. CHECK PREFIXES!

    Anyone with a brilliant idea?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: modules admin page failing after test upgrade

    Read thru this FAQ, and try the utility mentioned in step 2a, applying it to the admin side.
    https://www.zen-cart.com/tutorials/index.php?article=82

    You can ignore the upgrade exceptions -- most of those are because the things it was trying to do had already been done, or did not need to be done.

    As to other payment modules, if the files for the modules "do" exist and are compatible with the version you're upgrading to, there should be no reason to uninstall them before 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.

  3. #3

    Default Re: modules admin page failing after test upgrade

    Quote Originally Posted by DrByte View Post
    Read thru this FAQ, and try the utility mentioned in step 2a, applying it to the admin side.
    https://www.zen-cart.com/tutorials/index.php?article=82

    You can ignore the upgrade exceptions -- most of those are because the things it was trying to do had already been done, or did not need to be done.

    As to other payment modules, if the files for the modules "do" exist and are compatible with the version you're upgrading to, there should be no reason to uninstall them before upgrading.
    Thanks DrByte. The debugging did come up with a fatal error:

    PHP Fatal error: Call to undefined function test_cfg_select_option() in /home/www/mealsformums.com/htdocs/test/admin/modules.php(282) : eval()'d code on line 1

    And I think I know what's wrong.

    The orginal install was created with a zen_ table prefix (not my doing), and so to test everything out I created a new table set with a test_ prefix (web host only allows one database). I used a text search and replace to change all instances of zen_ with test_ in my exported sql file -- and there are almost 300 calls to zen_cfg_select_option() in the database that have been switched to test_cfg_select_option.

    I might just have to try backing everything up and upgrading the live version. Who knows how many zen_ function calls are in my tables...

  4. #4
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: modules admin page failing after test upgrade

    Yes, a global search-and-replace for "zen_" is a bad idea.
    .
    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. v151 Upgrade from 1.3.9h to 1.5.1 - Attribute Controller Failing in Admin
    By handylabels in forum Upgrading to 1.5.x
    Replies: 13
    Last Post: 6 Jul 2014, 02:48 PM
  2. v139h Admin login still failing after all the expert suggestions...
    By marcumpatrick in forum General Questions
    Replies: 1
    Last Post: 3 May 2013, 08:44 AM
  3. Guest Shopping Cart Failing After Upgrade
    By Youngblood in forum General Questions
    Replies: 5
    Last Post: 18 Jul 2011, 09:48 PM
  4. Blank Admin Page after upgrade
    By Hound in forum Upgrading from 1.3.x to 1.3.9
    Replies: 6
    Last Post: 10 Jun 2011, 10:29 PM
  5. Admin->Modules ->Order Total Problem after upgrade.
    By PatF in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 22 Apr 2011, 11:10 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