osCmax v2.5 User Manual
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Error 1064 on Add to Cart via categories ->products, but no error using search box..

This is a discussion on Error 1064 on Add to Cart via categories ->products, but no error using search box.. within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; When I expand the left hand nav menu to show categories in the main page, then select the categories to ...

      
  1. #1
    Member
    Join Date
    Feb 2009
    Location
    UK
    Posts
    85
    Rep Power
    4


    Default Error 1064 on Add to Cart via categories ->products, but no error using search box..

    When I expand the left hand nav menu to show categories in the main page, then select the categories to show products, then click add to cart for the required product, I get the following 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 '' at line 1

    delete from customers_wishlist WHERE customers_id=206 AND products_id=

    [TEP STOP]

    However, if I add to cart by finding products from the search function I do not get an error. Can anyone help?

    Thanks.

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Error 1064 on Add to Cart via categories ->products, but no error using search box..

    Again, an old bug that was resolved eons ago. Check the bugtracker for your fix, or update to a more current version of osCMax.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Member
    Join Date
    Feb 2009
    Location
    UK
    Posts
    85
    Rep Power
    4


    Default Re: Error 1064 on Add to Cart via categories ->products, but no error using search box..

    Thanks again. Is moving to RC4 a case of copying files/directories to the server? Are my modified templates left untouched and will I have to copy the database back to the server again? Thanks.

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Error 1064 on Add to Cart via categories ->products, but no error using search box..

    Moving to RC4 from RC3 is fairly easy, but I think it would be easier and quicker to grab the fixes you need from the bugtracker.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    Member
    Join Date
    Feb 2009
    Location
    UK
    Posts
    85
    Rep Power
    4


    Default Re: Error 1064 on Add to Cart via categories ->products, but no error using search box..

    There are only 2 bugfixes listed for 1064, but they arefor different problems. Should I go for the update to RC4?

  6. #6
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Error 1064 on Add to Cart via categories ->products, but no error using search box..

    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  7. #7
    Member
    Join Date
    Feb 2009
    Location
    UK
    Posts
    85
    Rep Power
    4


    Default Re: Error 1064 on Add to Cart via categories ->products, but no error using search box..

    Have uploaded the bugfix from yr link into includesmodules but still get same error.

  8. #8
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Error 1064 on Add to Cart via categories ->products, but no error using search box..

    Clear your browser cache and osCMax cache. The fix works.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  9. #9
    Member
    Join Date
    Feb 2009
    Location
    UK
    Posts
    85
    Rep Power
    4


    Default Re: Error 1064 on Add to Cart via categories ->products, but no error using search box..

    All working now after clearing cache. Star!! Thanks for your help.

  10. #10
    Member
    Join Date
    Feb 2009
    Location
    UK
    Posts
    85
    Rep Power
    4


    Default Re: Error 1064 on Add to Cart via categories ->products, but no error using search box..

    Just been testing again...

    I don't get this error when not logged in, but I do get it when logged in as a customer.

    Any ideas? Thanks.

Page 1 of 2 12 LastLast

Similar Threads

  1. 1064 error when i click add to cart on homepage
    By MrE03 in forum osCMax v2 Features Discussion
    Replies: 0
    Last Post: 01-28-2009, 07:08 PM
  2. 1064 - You have an error in your SQL syntax
    By Grumpy Ole Fart in forum osCmax v2 Installation issues
    Replies: 4
    Last Post: 01-01-2009, 08:22 PM
  3. 1064 - error in your SQL syntax admin customer search
    By webwolfe in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 11-10-2006, 06:13 AM
  4. Newsletter!?, ERROR: 1064 - You have an error in your SQL...
    By calle in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 12-14-2004, 02:40 AM

Tags for this Thread

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
  •