Jump to content

Adding trigger on DB fail validation with error 500


joel

Recommended Posts

first place is to look at your php error log.  a error 500 is almost always logged in the php error log

if I had to guess at the issue, Prestashop is performing some action at the same time the trigger is changing the reference.  Perhaps Prestashop or your payment module is attempting to update the same record using the reference, and that original reference no longer exists.

if you disable the trigger in mysql, does the 500 error go away?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...