giovi:
> I have a bilingual site and only 2 of my
> 10 pages show the error: arning: session_start():
> Cannot send session cache limiter - headers
> already sent I can not understand why they
> give an error while all files are within the same
> folder. I copied the text of the page within a
> working page (a page without an error) and
> saved it to replace the faulty page. But still the
> error is coming up within these two pages.
> Any help would be appreciated
Hi. Please check that there are not any content before the "<?" tag. No HTML, text, white space; not even an empty line.
Most probably the web server has PHP output-buffering disabled. That causes that any content is sent directly to the browser as the script is running (if enabled, the PHP script is executed until completion and then the result is sent to the browser).
Session data must be sent before any content. So, if the web server has already sent anything (even a whitespace) then it cannot send session data.
To check if your web server has output buffering disabled (or limited to X bytes), go to the admin page and click the "Show PHP configuration" link. There you can find the output_buffering option.
If you still have problems, let me know.
Regards,
Mario A. Valdez-Ramirez.
|
|