I’m using php 5.2.13 and Oracle database.
And I’m trying to hide error messages, but doesn’t work.
I tried to…
add this code to the page where an error occurs
ini_set(display_errors,0);
set an option in php.ini
display_errors = Off
…and what else should I do?? I thought I had done enough.
And the error message is coming from Oracle like this;
ORA-01400 cannot insert NULL into .....
I wonder if there’s any modules in php that display error messages..?
thanks.
This is not a PHP error, but a Oracle error, your column can’t be null – you need to specify a value. That’s why your display_error’s doesn’t hide this error.
I have to emphasize – like others in the comments – that the only good error is a fixed one.