Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Jun 2006
    Location
    Lowell, MA
    Posts
    3
    Plugin Contributions
    0

    1064 error happened by clicking check-out button

    When the check out button is clicked, the error message appears:
    1064 You have an error in your SQL syntax near '(address_book ab left join zones z on (ab.ent' at line 7
    in:
    [select c.customers_firstname, c.customers_lastname, c.customers_telephone, c.customers_email_address, ab.entry_company, ab.entry_street_address, ab.entry_suburb, ab.entry_postcode, ab.entry_city, ab.entry_zone_id, z.zone_name, co.countries_id, co.countries_name, co.countries_iso_code_2, co.countries_iso_code_3, co.address_format_id, ab.entry_state from customers c, (address_book ab left join zones z on (ab.entry_zone_id = z.zone_id) left join countries co on (ab.entry_country_id = co.countries_id) ) where c.customers_id = '3' and ab.customers_id = '3' and c.customers_default_address_id = ab.address_book_id]


    I saw some posting regarding 1064 error, but their conditions are different from mine and not sure it's ok to follow one of their responses or not since I'm not familiar with SQL and PHP at all.

    My ZenCart version is 1.3.0

    I don't know why this is happening and how to fix. Please help.

  2. #2
    Join Date
    Jun 2006
    Location
    Ocean City, Maryland
    Posts
    13
    Plugin Contributions
    0

    Re: 1064 error happened by clicking check-out button

    Anyone have any information on this? I am having the same problem. This seems rediculous since I just downloaded, installed and set up everything without modifying any files.

  3. #3
    Join Date
    Jun 2006
    Location
    Lowell, MA
    Posts
    3
    Plugin Contributions
    0

    Default Re: 1064 error happened by clicking check-out button

    I found somebody else had the same issue in the forum. He/She tried things suggested, but any of them don't seem to be real solutions since their problems remained after trying them. I installed the patches to 1.3.0.2. It didn't solve the problem, but showed another clue: the MySQL on the server is not proper to ZenCart. The MySQL is pre-installed by the hosting service. Its version is 3.23.56. When I installed ZenCart, there was a note, the program was tested with MySQL 5. I assume the database does not collaborate with ZenCart. I didn't know the version of MySQL until that point because the hosting company doesn't say which version they have in their feature list. Since I'm not technical to work around database, I'm going to change the hosting service who actually support ZenCart. I don't have time to play around with this since the site is for my client. But, if this is your site, and have some time and technical knowledge, you might be able to find another solution. Good luck.

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

    Default Re: 1064 error happened by clicking check-out button

    Quote Originally Posted by delmarva
    Anyone have any information on this? I am having the same problem. This seems rediculous since I just downloaded, installed and set up everything without modifying any files.
    What was the name of the file you downloaded?
    .

    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
    Jun 2006
    Location
    Ocean City, Maryland
    Posts
    13
    Plugin Contributions
    0

    Re: 1064 error happened by clicking check-out button

    http://prdownloads.sourceforge.net/z...t.zip?download

    Then I uploaded the patch:
    http://sourceforge.net/project/showf...ease_id=412075
    and uploaded the files, replacing the originals. Ran the setup again and changed permissions. Same error when trying to check out.
    Code:
    1064 You have an error in your SQL syntax near '(address_book ab left join zones z on (ab.ent' at line 7
    in:
    [select c.customers_firstname, c.customers_lastname, c.customers_telephone, c.customers_email_address, ab.entry_company, ab.entry_street_address, ab.entry_suburb, ab.entry_postcode, ab.entry_city, ab.entry_zone_id, z.zone_name, co.countries_id, co.countries_name, co.countries_iso_code_2, co.countries_iso_code_3, co.address_format_id, ab.entry_state from customers c, (address_book ab left join zones z on (ab.entry_zone_id = z.zone_id) left join countries co on (ab.entry_country_id = co.countries_id) ) where c.customers_id = '1' and ab.customers_id = '1' and c.customers_default_address_id = ab.address_book_id]
    I am using a dedicated server with godaddy.com
    I am using mysql version 3.23.58
    I also have a vbulletin forum which is not linked

    I would hate to have to go to a "pay for" solution. All help is appreciated.

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

    Default Re: 1064 error happened by clicking check-out button

    What is the exact name on the Zip that you downloaded?
    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!

  7. #7
    Join Date
    Jun 2006
    Location
    Ocean City, Maryland
    Posts
    13
    Plugin Contributions
    0

    Default Re: 1064 error happened by clicking check-out button

    I did the upgrade again and the problem seems to be solved. The zip file was zen-cart-v1.3.0.1-changed_files_only.zip

    Now, how to change the "Sales Message Goes Here"

    Thanks for the help.

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

    Default Re: 1064 error happened by clicking check-out button

    Note: the current version of Zen Cart is v1.3.0.2 ...

    Might want to do one more upgrade and get all the bugs out in one night ...
    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!

  9. #9
    Join Date
    Jun 2006
    Location
    Ocean City, Maryland
    Posts
    13
    Plugin Contributions
    0

    Default Re: 1064 error happened by clicking check-out button

    Gotcha. I'll do that now. Thanks... I think I tried it and ran into a PHP problem, but I'll let you know in a minute.

  10. #10
    Join Date
    Jun 2006
    Location
    Ocean City, Maryland
    Posts
    13
    Plugin Contributions
    0

    Default Re: 1064 error happened by clicking check-out button

    # PHP Session.Save_Path = /var/lib/php/session -->Unwriteable

    Here it is...?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. 1064 when clicking paypal checkout button and not logged in as a user
    By Phil C in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 16 Apr 2014, 03:34 PM
  2. Replies: 2
    Last Post: 16 Sep 2009, 06:15 PM
  3. 10413 error when using "Check out with PayPal" button
    By DivaVocals in forum PayPal Express Checkout support
    Replies: 0
    Last Post: 7 Sep 2008, 02:15 AM
  4. Cart hangs when clicking on go to check out...get this error message
    By Ken Joy in forum Upgrading from 1.3.x to 1.3.9
    Replies: 6
    Last Post: 14 Mar 2007, 07:16 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