Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

need help with 1064 error


tnier

Recommended Posts

Posted

when i go to View My Order History

i get this

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 ' backorders from orders where orders_id = '714'' at line 1

 

select customers_id, customers_name, customers_company, customers_street_address, customers_suburb, customers_city, customers_postcode, customers_state, customers_country, customers_telephone, customers_email_address, customers_address_format_id, delivery_name, delivery_company, delivery_street_address, delivery_suburb, delivery_city, delivery_postcode, delivery_state, delivery_country, delivery_address_format_id, billing_name, billing_company, billing_street_address, billing_suburb, billing_city, billing_postcode, billing_state, billing_country, billing_address_format_id, payment_method, cc_type, cc_owner, cc_number, cc_expires, currency, currency_value, date_purchased, orders_status, last_modified from, backorders from orders where orders_id = '714'

 

[TEP STOP]

 

anyone know of a fix for it

 

Thanks

Posted
when i go to View My Order History

i get this

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 ' backorders from orders where orders_id = '714'' at line 1

 

select customers_id, customers_name, customers_company, customers_street_address, customers_suburb, customers_city, customers_postcode, customers_state, customers_country, customers_telephone, customers_email_address, customers_address_format_id, delivery_name, delivery_company, delivery_street_address, delivery_suburb, delivery_city, delivery_postcode, delivery_state, delivery_country, delivery_address_format_id, billing_name, billing_company, billing_street_address, billing_suburb, billing_city, billing_postcode, billing_state, billing_country, billing_address_format_id, payment_method, cc_type, cc_owner, cc_number, cc_expires, currency, currency_value, date_purchased, orders_status, last_modified from, backorders from orders where orders_id = '714'

 

[TEP STOP]

 

anyone know of a fix for it

 

Thanks

You have some kind of contribution installed for backorders, but you made a mistake.

You can only have one 'from' statement in your sql query.

 

if you change 'from, backorders from orders ' to 'from backorders, orders' you won't get an error, but I suspect it won't run properly yet, as you should have some field to join the data in backorders with your orders table.

Look again at the installation instructions to figure out what it should be.

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Posted

Hi,

i have just posted another thread with the same eror but a bit different syntax.

 

would REEEEEEALY appreciate your replys,

 

its posted here

 

 

Thanks A lot.

Installed contributions:

Ultimate_SEO, Article Manager 1.5, Dynamic SiteMap 2.0, Infopages, Google SiteMap XMl w/admin 2.1, HeaderTagControler 2.6.1, FCKosc 2.21, X-sell 2.3, Google Analytics Modul, All Products, Page Cache 1.5, EasyPopulate2.7d, Multi Product Manager 2.5, Define Main Page, and probably few others...

Posted

Hi

where would i change 'from, backorders from orders ' to 'from backorders, orders'

 

Thanks

 

 

 

You have some kind of contribution installed for backorders, but you made a mistake.

You can only have one 'from' statement in your sql query.

 

if you change 'from, backorders from orders ' to 'from backorders, orders' you won't get an error, but I suspect it won't run properly yet, as you should have some field to join the data in backorders with your orders table.

Look again at the installation instructions to figure out what it should be.

Posted

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 ' backorders from orders where orders_id = '714'' at line 1

 

select customers_id, customers_name, customers_company, customers_street_address, customers_suburb, customers_city, customers_postcode, customers_state, customers_country, customers_telephone, customers_email_address, customers_address_format_id, delivery_name, delivery_company, delivery_street_address, delivery_suburb, delivery_city, delivery_postcode, delivery_state, delivery_country, delivery_address_format_id, billing_name, billing_company, billing_street_address, billing_suburb, billing_city, billing_postcode, billing_state, billing_country, billing_address_format_id, payment_method, cc_type, cc_owner, cc_number, cc_expires, currency, currency_value, date_purchased, orders_status, last_modified from, backorders from orders where orders_id = '714'

 

[TEP STOP]

 

anyone know how to fix it

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...