Jump to content

Suppress "Internal Server Error"


helmut2509
 Share

Recommended Posts

Hello,

Sometimes I get an "Internal Server Error" due to an "Integrity constraint violation".

I could not find out the cause of this error (it' s somewhere inside the pw core) but fortunately this error does not affect the data processing,

the whole process is working properly.

But of course I want to suppress the error message. In the config file I set the debug flag to false, but to no avail.

Any suggestions?

 

Link to comment
Share on other sites

Suppressing errors is a bad idea. Having "Integrity constraint violation" means something is trying to insert data with a key, which is already present in the database. Worst case scenario: You loose data because of it not being in a saveable state. This should be fixed and not be put aside (even it it's really a core issue and not one with your code).

  • Like 2
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...