Hi
On Thursday 01 December 2005 09:05, Sebastian Mendel wrote:
But finding errors especially in classes/objects without this make it really hard sometimes!
Errors you added are mostly for user and not for developer. And user does not care where in class did error happen.
If trigger_error() is a problem on a system than every error is a problem on this system.
Yes, see PMASA-2005-2 [1]
If PMA would not give out any errors it just need to set his own error_handler.
I do not fully understand what is the problem with trigger_error or what makes the problems with trigger_error bigger than normal errors?
We should not issue any PHP errors nor warnings.
The real problem is displaying errors to the client, not triggering an error - so this is a system setting not an application setting.
The only way to handle this is that PMA uses his own error handler.
This might be a solution.
1. http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2005-2