elorenzoni Posted December 20, 2016 Share Posted December 20, 2016 (edited) Hello, I am experiencing a problem in ps 1.6.1.2. I am using webservice to create products in my shop. Some products give me error 500 and I can't get any further information by enabling debug (I see the same string without additional informations) and nothing gets logged to php error_log. But the strangest thing is that my last successfully added product gets overwritten in some fields, like reference. So for example I run the API on 11 products, the first 10 create normally, then the last one gives error. The reference of the non-added product goes in the last added product. It seems like prestashop webservice tries to create the product, it fails, then takes the last ID from ps_product and runs some UPDATE on that ID, overwritting a good product's fields with the data from the failed insert. How can I debug this?? thanks Edited December 20, 2016 by elorenzoni (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now