Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2012
    Posts
    2
    Plugin Contributions
    0

    Default SQL error on product catalog after server update

    hello zencart fellas, im working witha a site built over zencart 1.2.7


    here's the thing>


    due to obvios reasons, we updated server software to PHP 5.3.7 and MySQL 5.1.x, so the site rised all kind of errors and warnings, mostly deprecated functions.

    i installed the debug php module and replaced all deprecated functions one by one, and i got almost the site back online, but for a couple things>


    on any product detail page, there's this error>

    1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '*******select configuration_key, configuration_value from configuration where co' at line 1


    and the CC integration is not working anymore.


    i can crack my head with payment integration, but i can't find the solution for the SQL error....

    any ideas?


    site if you want to lurk around>


    http://floralesvogue.com (try to get into any product details page )


    i searched the forum for this kinda error, but couldn't find any thread (there are a couple stating similar errors, but the solution doesn't apply here)

    thanks.

  2. #2
    Join Date
    Feb 2012
    Posts
    2
    Plugin Contributions
    0

    Default SQL error on product catalog after server update

    hello zencart fellas, im working witha a site built over zencart 1.2.7


    here's the thing>


    due to obvios reasons, we updated server software to PHP 5.3.7 and MySQL 5.1.x, so the site rised all kind of errors and warnings, mostly deprecated functions.

    i installed the debug php module and replaced all deprecated functions one by one, and i got almost the site back online, but for a couple things>


    on any product detail page, there's this error>

    1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '*******select configuration_key, configuration_value from configuration where co' at line 1


    and the CC integration is not working anymore.


    i can crack my head with payment integration, but i can't find the solution for the SQL error....

    any ideas?


    site if you want to lurk around>


    http://floralesvogue.com (try to get into any product details page )


    i searched the forum for this kinda error, but couldn't find any thread (there are a couple stating similar errors, but the solution doesn't apply here)

    thanks.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: SQL error on product catalog after server update

    Your correct fix is to upgrade to a version of Zen Cart that is compatible with the PHP and MySQL version you're using on your server. The best choice for that as of today is v1.5.0
    .

    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. Error after 5.1 SQL update.
    By akhan992 in forum Basic Configuration
    Replies: 5
    Last Post: 5 Nov 2010, 07:49 AM
  2. Currency Update not working after moving to new server
    By Debbiekipt in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 30 May 2010, 01:03 PM
  3. Problem appear after web host server update
    By JohnsonY in forum General Questions
    Replies: 2
    Last Post: 24 Nov 2009, 04:13 AM
  4. Quick Updates addon gives SQL error after uploading 20K product using Easy Populate
    By guzzer in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 22 Aug 2009, 03:11 PM
  5. Update Sql Server From Open Sheet
    By khateeb82 in forum General Questions
    Replies: 0
    Last Post: 1 Feb 2008, 11:34 PM

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