[Phpmyadmin-devel] Help! How to suppress warnings?

Atul Pratap Singh atulpratapsingh05 at gmail.com
Tue Jan 21 16:47:01 CET 2014


Hi,

To fix bug#4013 [0], I had to unlock the session by session_write_close()
before making a time-taking call via file_get_contents() or curl_exec().
See [1]

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?
OR
2. procedure as explained on [2]
OR
3. Use '@'
OR
some other way?

I don't seem to have any preference among above options, I'll appreciate
any help and explanation.


[0] https://sourceforge.net/p/phpmyadmin/bugs/4013/
[1]
https://github.com/zixtor/phpmyadmin/commit/2f978adba9ca345064f38844dabb484d33a933c3
[2]
http://stackoverflow.com/questions/12315225/reopening-a-session-in-php/12315542#12315542


Thanks & Regards
-- 
Atul Pratap Singh
http://blog.atulsisodia.in/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20140121/abe9844c/attachment.html>


More information about the Developers mailing list