Results 1 to 9 of 9
  1. #1
    Join Date
    Apr 2007
    Location
    Rustenburg, South Africa
    Posts
    85
    Plugin Contributions
    0

    Default error 1064 after client completed order.

    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 'where customer_id=12' at line 1
    in:
    [update zen_sc_customer set amount = amount - where customer_id=12]

    The order is completed and is correctly added to admin and the clients profile.

    I cannot understand the error. Can someone help me with this ???

  2. #2
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: error 1064 after client completed order.

    I cannot see any table names with sc_ from the zen core. Did you installed a contribution module for checkout ? If so, I'd suggest to ask to the original MOD's topic in order to get a definite answer from the author who actually built this MOD.

  3. #3
    Join Date
    Apr 2007
    Location
    Rustenburg, South Africa
    Posts
    85
    Plugin Contributions
    0

    Default Re: error 1064 after client completed order.

    This is a new installation. No mods been modified, I think. Where is the files situated and can I recover them from my backups ???

  4. #4
    Join Date
    Apr 2007
    Location
    Rustenburg, South Africa
    Posts
    85
    Plugin Contributions
    0

    Default Re: error 1064 after client completed order.

    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 'where customer_id=1' at line 1
    in:
    [update zen_sc_customer set amount = amount - where customer_id=1]

    This is the full error I am receiving

  5. #5
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: error 1064 after client completed order.

    From which page does this error message appears exacly and which Zen-Cart version are using ?

  6. #6
    Join Date
    Apr 2007
    Location
    Rustenburg, South Africa
    Posts
    85
    Plugin Contributions
    0

    Default Re: error 1064 after client completed order.

    1.3.7; After step 3 when the order is confrmed. It happens when the payment mods EFT, Debit order or invoice method is chosen. I do not have a problem with credit card or paypal.

  7. #7
    Join Date
    Apr 2007
    Location
    Rustenburg, South Africa
    Posts
    85
    Plugin Contributions
    0

    Default Re: error 1064 after client completed order.

    Ok It have the same error with all the transactions, does not matter credit card, eft, invoice, debit order, or paypal.

    The error is on the return path, where it should open the page which should be specified to open when finalizing the sale.

    Where can I edit that ???????????

  8. #8
    Join Date
    Apr 2007
    Location
    Rustenburg, South Africa
    Posts
    85
    Plugin Contributions
    0

    Default Re: error 1064 after client completed order.

    I got it sorted out. The shipping modules order must be from 0. That mean if you use more than one, say flat rate and free shipping, it must be in sequence 0 and 1. It sorted out that problem. So in my opinioin all 1064 errors is shipping errors.

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: error 1064 after client completed order.

    When numbering modules ... it is best to number all modules that are installed and not just some or you can inadvertantly setup values that overwrite one another ...

    I number by 10s as I might want to rearrange things later ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Replies: 6
    Last Post: 11 Jan 2013, 12:51 PM
  2. Blank page after step 3 of order is completed
    By mgrunk in forum Managing Customers and Orders
    Replies: 0
    Last Post: 8 Apr 2009, 12:58 AM
  3. Error Messages after payment completed
    By icaros in forum General Questions
    Replies: 3
    Last Post: 2 Mar 2008, 12:21 PM
  4. RFQ/ Super Order help charging client after i edit the order
    By nycdan in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 2 Feb 2008, 09:43 PM
  5. 1064 sql error after confirming order
    By rued in forum General Questions
    Replies: 20
    Last Post: 31 Aug 2006, 04:07 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