[Phpmyadmin-devel] Help! How to suppress warnings?
marc at infomarc.info
Tue Jan 21 16:51:11 CET 2014
Atul Pratap Singh a écrit :
> To fix bug#4013 , I had to unlock the session by session_write_close()
> before making a time-taking call via file_get_contents() or curl_exec().
> See 
> Then the session needed to be captured again so I used session_start().
> Now to suppress "headers already sent" warnings, that is causing test
> failures, what should I use?
> 1. output buffering?
> 2. procedure as explained on 
> 3. Use '@'
> some other way?
> I don't seem to have any preference among above options, I'll appreciate
> any help and explanation.
>  https://sourceforge.net/p/phpmyadmin/bugs/4013/
> Thanks & Regards
If it works, I would go with '@' plus a comment explaining the reason
for the '@'.
http://infomarc.info | http://phpmyadmin.net
More information about the Developers