Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error trying to change status to delivered


]NoMaD[

Recommended Posts

Posted

I switch from "Pending" to "Delivered" in the status drop-down menu, and when I hit the update button, I get:

 

1064 - You have an error in your SQL syntax near 'from orders where orders_id = '2'' at line 1

 

select customers_name, customers_email_address, orders_status, date_purchased, ipaddy, from orders where orders_id = '2'

 

 

How do I fix this?

  • 1 month later...
Posted

I have the exact same problem. I believe it's due to a IP mod I installed. Does anyone know how to fix this? Any clues, please?

 

Tks for any replies. ;)

Patty

Posted

There is an error in the query:

 

date_purchased, ipaddy, from orders

 

should be:

 

date_purchased, ipaddy from orders

 

just a stray comma :D

 

Matti

Posted

Removing the last comma after ipaddy is the ONLY way the query will be executed on the admin side while changing the status.

 

Bobby

Posted

The instructions on the thread I mentioned above worked just fine for me. IP is showing, no problems at all. All fixed! :thumbsup:

Patty

Archived

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

×
×
  • Create New...