Results 1 to 7 of 7
  1. #1
    Join Date
    May 2011
    Posts
    8
    Plugin Contributions
    0

    help question upgrading 1.3.x to 1.3.9h; using zc_install, and it says a table is missing, hangs up

    Upgrading 1.3.x to 1.3.9h. Using zc_install, and at the index page, after the license screen (before prerequisite screen), it says:

    1146 Table 'XXXzencart.authorizenet' doesn't exist
    in:
    [show fields from authorizenet]

    What do I do next?

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

    Default Re: upgrading 1.3.x to 1.3.9h; using zc_install, and it says a table is missing, hang

    What procedure are you attempting??

    You should not be trying to upgrade your live.current site directly

    Install clean into a folder first with a new database, then using phpmyadmin make a proper DB backup of your live site and then import that backup into your new upgrade site's database

    https://www.zen-cart.com/tutorials/i...hp?article=103

    Upgrade
    https://www.zen-cart.com/tutorials/i...hp?article=108
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: upgrading 1.3.x to 1.3.9h; using zc_install, and it says a table is missing, hang

    Evidently you've deleted the authorizenet table from your database.
    Put it back and zc_install should work without that error.
    .

    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.

  4. #4
    Join Date
    May 2011
    Posts
    8
    Plugin Contributions
    0

    Default Re: upgrading 1.3.x to 1.3.9h; using zc_install, and it says a table is missing, hang

    Thanks for the replies.

    1) No, this isn't an upgrade to a direct/live DB. We are working in a "dev" environment, so this is a recently-built "dev" MySQL database, and we're installing the 1.3.9h ZC release before going live. (We have complete backups and can restore if needed.)

    Thanks for links, these are what I was using as a guide already. Again, I am making my way through the 3-step upgrade tutorial. I admit that I'm doing something wrong, but I don't know what.

    2) Honestly, I don't work on the DB at all (it's built by another team member), so I haven't made any changes to it yet (such as deleting an authorizenet table).

    Perhaps I need to "add" a reference to a DB table in one of the ZC files so that it knows to call that table? Or maybe I shouldn't have turned off the payment modules, including authorizenet, before starting the upgrade, although that's within the instructions?

    Step by step, this is basically what I've tried 2-3 times now:

    1) I turned off all payment modules first, before starting the upgrade.

    2) Downloaded the newest release.

    3) I conducted the comparison of old and new files using BBEdit. We used the "template override" system, so there were few customizations to the site. They're limited to 4 separate "override" directories in: ZC/includes/languages/english/CUSTOM and ZC/includes/languages/english/html_includes/CUSTOM and ZC/includes/languages/english/modules/shipping/CUSTOM and ZC/includes/templates/CUSTOM.

    4) After line by line comparison of these files with the ZC counterparts, these "override" directories have been deemed ready for use, and placed into the new folder called "ZC-139h" which holds the newly-downloaded v1.3.9h release of ZC. Thus the new release has been customized to our site, using the "override" system. No other modifications were made to our site in the past, as far as I can tell, so there's nothing else to alter. As far as I can tell.

    5) I've also copied the relevant configure.php files into both the ZC/includes and ZC/admin/includes directories into the new folder called "ZC-139h."

    6) Again, we're already in a "DEV" env't on a test server, so we're running a test DB as it is.

    7) I uploaded the "ZC_v139h" directory to the server, and pointed it at the "dev" DB via the configure files.

    8) Then I launched the ZC_Install/admin.php page from inside the new directory. IT DOES NOT GIVE AN OPTION TO UPGRADE, at least at the point before it hangs up...I may not have gotten far enough to see that choice yet.

    9) On the index.php page, it hangs up with the message posted earlier, between screens (license and prerequisite). I'm pasting it back in here, for reference:

    1146 Table 'XXXzencart.authorizenet' doesn't exist
    in:
    [show fields from authorizenet]


    10) Same question. Any other thoughts? Totally out of my depth here.

  5. #5
    Join Date
    May 2011
    Posts
    8
    Plugin Contributions
    0

    Default Re: upgrading 1.3.x to 1.3.9h; using zc_install, and it says a table is missing, hang

    Dr Byte -- Although i didnt delete the table, its certainly missing, so how do i put it back in? I'm using mysql workbench to access DB.

  6. #6
    Join Date
    May 2011
    Posts
    8
    Plugin Contributions
    0

    Default Re: upgrading 1.3.x to 1.3.9h; using zc_install, and it says a table is missing, hang

    In case 'quick reply' is extra-effective, I used MySQL Workbench to verify that there's not authorizenet table in the DB (no surprise). Although I didn't work directly on the database, and didn't delete the table, it's not there. I tested whether turning on/off payment modules might have affected the table structure in the DB (it didn't). Please advise...how do I put that table back into place (if it was ever there, and I suppose it must have been, if ZC is looking for it)? Your help is appreciated.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: upgrading 1.3.x to 1.3.9h; using zc_install, and it says a table is missing, hang

    Rebuild it from the original table structure found in the mysql_zencart.sql file in the zc_install directory of the master Zen Cart distribution files for the version you're currently using on your site.
    .

    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. v154 Upgrading green lights everywhere but says admin/includes/configure is missing
    By bearlymakinit in forum Upgrading to 1.5.x
    Replies: 4
    Last Post: 30 Apr 2015, 01:59 AM
  2. v139h zc_install only says re-check - won't upgrade
    By delia in forum Upgrading to 1.5.x
    Replies: 10
    Last Post: 8 Apr 2015, 12:12 PM
  3. Problem upgrading ... missing linkpoint_api table
    By LongJourneyHome in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 8 Dec 2007, 04:32 PM
  4. Problem upgrading - it says sql files are missing?
    By ksmglobal in forum Upgrading from 1.3.x to 1.3.9
    Replies: 12
    Last Post: 2 Dec 2007, 06:24 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