session_start() problem fixed?
-
I’m getting errors logged:
“PHP Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at…”
Looked at quite a few answers and none seem to fix this.
The session is required by a captcha script I’m using with a web form called by custom template. The error occurs when the web form is first loaded and when it is reloaded after the message has been sent. Everything seems to be working OK (the form sends) except that this error is being logged, so it’s not critical.I seem to have fixed this by adding the session_start to the site’s home page, index.php.
Could this interfere with other functioning of the site?
- The topic ‘session_start() problem fixed?’ is closed to new replies.