Íá ÌãíÚ ãÔÇßá session_start()

ÞÏ ÊÙåÑ ÈÚÖ ÇáÇÎØÇÁ Ýì ÇáææÑÏ ÈÑíÓ ãËá

Warning: Cannot modify header information - headers already sent by
Warning: session_start(): Cannot send session cache limiter - headers already sent
wordpress Warning: session_start(): Cannot send session cookie
ÇáÍá åæ ÊÝÚíá
output_buffering = On

ãä ÎáÇá åÐÇ ÇáãÓÇÑ
Home »Service Configuration »PHP Configuration Editor

This turns on PHP's output buffering feature. In PHP when you output something (do an echo or print) if has to send the HTTP headers at that time. If you turn on output buffering you can output in the script but PHP doesn't have to send the headers until the buffer is flushed. If you turn it on and don't turn it off PHP will automatically flush everything in the buffer after the script finishes running. There really is no harm in just turning it on in almost all cases and could give you a small performance increase under some configurations.

If you have access to change your php.ini configuration file you can find and change or add the following

output_buffering = On This will turn output buffering out without the need to call ob_start().


ÇáãÑÌÚ:
https://stackoverflow.com/questions/...-sent-by-error