[Phpmyadmin-devel] about the new error reporting at PHP level
dhananjaynakrani at gmail.com
Wed Jul 9 08:45:15 CEST 2014
On Tue, Jul 1, 2014 at 5:28 PM, Dhananjay Nakrani <
dhananjaynakrani at gmail.com> wrote:
> On Tue, Jul 1, 2014 at 1:34 PM, Michal Čihař <michal at cihar.com> wrote:
>> Dne Sun, 29 Jun 2014 07:49:26 -0400
>> Marc Delisle <marc at infomarc.info> napsal(a):
>> > Since the new error reporting at the PHP level, errors that were
>> > "hidden" using the at sign (for example, @fopen) are now displayed, with
>> > the possibility of sending a report.
>> This is IMHO bug in the error collecting code, Dhananjay can you please
>> look at it?
> Sure. I will try to solve it this week only.
>> > Do we now have to handle the situation differently (with try/catch) to
>> > avoid this error reporting? In the case I mention, there is no need to
>> > show the error report, as the situation is already handled by checking
>> > what fopen() returns.
>> I think using @ should be good enough (though catching the exceptions is
>> probably cleaner approach).
>> Michal Čihař | http://cihar.com | http://phpmyadmin.net
I've solved that issue by adding an extra check in custom error handler.
Please review Pull#1278.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Developers