Results 1 to 2 of 2

1064 - You have an error in your SQL syntax;

This is a discussion on 1064 - You have an error in your SQL syntax; within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; Hi, Recent oscMAX version. MySQL 5 PHP 5 From Admin/Customers page, I click on Orders button and get this message. ...

      
  1. #1
    Active Member
    Join Date
    Nov 2002
    Location
    Sydney
    Posts
    242
    Rep Power
    11


    Default 1064 - You have an error in your SQL syntax;

    Hi,

    Recent oscMAX version.

    MySQL 5 PHP 5

    From Admin/Customers page, I click on Orders button and get this message.

    Any ideas please?

    I only noticed as I got a PayPal notification without an order. I saw the customer had registered but when trying to find his order this happened.

    When I go straight to Orders from side panel, there is no order there.


    Thanks

    oz


    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 '-50, 50' at line 1

    select o.orders_id, o.customers_name, o.customers_id, o.payment_method, o.date_purchased, o.last_modified, o.currency, o.currency_value, s.orders_status_name, ot.text as order_total from orders o left join orders_total ot on (o.orders_id = ot.orders_id), orders_status s where o.customers_id = '188' and o.orders_status = s.orders_status_id and s.language_id = '1' and ot.class = 'ot_total' order by orders_id DESC limit -50, 50

  2. #2
    Member
    Join Date
    Feb 2007
    Posts
    31
    Rep Power
    0


    Default Re: 1064 - You have an error in your SQL syntax;

    Try this thread:
    1064 - You have an error in your SQL syntax - osCommerce Community Support Forums

    If that doesn't work, try disabling SEO Urls.

    Auto

Similar Threads

  1. 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
  2. 1064 - You have an error in your SQL syntax.
    By jamie74 in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 10-20-2004, 11:45 AM
  3. 1064 error when creating new account
    By CTapia in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 10-01-2004, 02:20 AM
  4. 1064 - You have an error in your SQL syntax.
    By j0ly in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 08-24-2004, 03:13 PM
  5. 1064 - You have an error in your SQL syntax
    By Anonymous in forum osCMax v1.7 Installation
    Replies: 3
    Last Post: 05-10-2004, 10:48 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
  •