Thread: Upgrading MySQL

Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    May 2006
    Posts
    11
    Plugin Contributions
    0

    Default Upgrading MySQL

    I recently upgraded MySQL on my Win2k server from 3.x to 5.x(current).

    Some of Zen Cart continues to work but I just found out that part of it does not. We use Authorize.net as our gateway. ZenCart continues to accept new users and processes cc transactions to Authorize.net. We get the appropriate email response from Authorize.net. Zen Cart does not send any emails regarding the order and in fact does not show the new orders under the Admin section. Other emails go out fine. Just seems to be missing the database part of the orders and not the user registration.

    Any ideas out there.

    Thanks-

    Brian Miller

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Upgrading MySQL

    What version of Zen Cart are you using?
    What version of IIS?
    What version of PHP? Did you upgrade PHP at the same time as MySQL ?
    Did you research MySQL5 compatibility vs Zen Cart 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
    Join Date
    May 2006
    Posts
    11
    Plugin Contributions
    0

    Default Re: Upgrading MySQL

    What version of Zen Cart are you using?

    Zen Cart 1.3.0.1
    Database Patch Level: 1.3.0.1


    What version of IIS?
    HTTP Server: Microsoft-IIS/5.0

    What version of PHP?
    PHP Version: 4.4.2 (Zend: 1.3.0)

    Database: MySQL 5.0.22-community-max-nt



    Did you upgrade PHP at the same time as MySQL ? No

    Did you research MySQL5 compatibility vs Zen Cart before upgrading?

    I saw that it was not officially supported. There was another app that I was interested in hosting that needed the later version of MySQL.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Upgrading MySQL

    Are you using Authorize.net "AIM" service? or SIM?

    What you're reporting is very bizarre, since it suggests (assuming AIM) that cURL was able to talk to authorize.net, but that somehow the reply back was unsuccessful.
    When the customer pays, do they get a "congrats, successful order" message on-screen? or a CC failure notice, or a timeout?
    .

    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
    May 2006
    Posts
    11
    Plugin Contributions
    0

    Default Re: Upgrading MySQL

    I am using AIM.


    Hmmmm. I just went to test with a purchase myself and everything worked fine. Perhaps because I am an existing user. It worked fine up to a certain point that seems like it was when I made the MySQL change. Users are reporting that they submit a completed transaction and they don't get any web response. They ofter do a duplicate order submission because they are expecting a response and don't get it.

    I'll test with a new registration and let you know. Meanwhile - Any thoughts?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Upgrading MySQL

    Using AIM, you can enable the "Enable Database Storage" option in the module's settings in Zen Cart admin.
    Then you can view the authorizenet table in your database to see what the responses are that are coming back from authorize.net for each attempted authorization.
    Perhaps that will lend a clue.
    .

    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
    May 2006
    Posts
    11
    Plugin Contributions
    0

    Default Re: Upgrading MySQL

    Quote Originally Posted by DrByte
    Are you using Authorize.net "AIM" service? or SIM?

    What you're reporting is very bizarre, since it suggests (assuming AIM) that cURL was able to talk to authorize.net, but that somehow the reply back was unsuccessful.
    When the customer pays, do they get a "congrats, successful order" message on-screen? or a CC failure notice, or a timeout?
    My mistake. I am not using "AIM" so I must be using "SIM". It's the plain Authorize.net module listed above the "AIM" one.

    I was never able to get the "AIM" module to work which I would like to address after getting this resolved.

    I did some transaction testing myself and seemed to get some emails but not others and in this case, all showed up in the database when I logged into the Admin.

    I did the upgrade to 1.3.0.2 and tested and it seems to be working as of now.

    I really appreciate the quick and helpful response on this.

  8. #8
    Join Date
    May 2006
    Posts
    11
    Plugin Contributions
    0

    Default Re: Upgrading MySQL

    I am getting this error again when I go to confirm checkout:

    1264 Out of range value adjusted for column 'delivery_address_format_id' at row 1
    in:
    [INSERT INTO orders

    at https://secure.authorize.net/gateway/transact.dll

    The transaction still goes through to Authorize.net

    The item remains im the shopping cart

  9. #9
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Upgrading MySQL

    how much control do you have over your MySQL ?
    Can you turn off the STRICT_TRANS_TABLES setting?
    .

    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.

  10. #10
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Upgrading MySQL

    I guess the other problem is ... why are you getting a blank for the address-format?

    To fudge your way around the error, you could edit includes/classes/order.php
    around line 568 you have:
    PHP Code:
                                'delivery_address_format_id' => $this->delivery['format_id'], 
    change it to:
    PHP Code:
                                'delivery_address_format_id' => (int)$this->delivery['format_id'], 
    That is only a very weak bandage though... and will likely just pacify until the next problem shortly thereafter...
    .

    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. Upgrading mysql to 5.0
    By bfteagle in forum Upgrading to 1.5.x
    Replies: 1
    Last Post: 13 Jun 2012, 02:08 AM
  2. Problems with manually upgrading MySQL 4 to MySQL 5
    By 2004g35 in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 29 Oct 2009, 02:15 AM

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