Errors on Guestbook

More
16 years 6 months ago - 11 years 2 weeks ago #891 by slsupport
Hello -

When visiting my guestbook, I now get the following errors:

Code:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/.sites/4/site38/web/guestbook/list.php:6) in /home/.sites/4/site38/web/guestbook/header.php on line 2 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/.sites/4/site38/web/guestbook/list.php:6) in /home/.sites/4/site38/web/guestbook/header.php on line 2

People can still add entries, bit these errors display at the top of the page.

Nothing has changed that I know of. Any help would be greatly appreciated.
Last edit: 11 years 2 weeks ago by Pete.

Please Log in or Create an account to join the conversation.

More
16 years 6 months ago #892 by Pete
Replied by Pete on topic Errors on Guestbook
Hi,

This is a Warning related to PHP 5.x.x. It has been resolved here:

sourceforge.net/tracker/index.ph ... tid=663805

The solution is to take session_start() statement out of header file and place it in each page
before header.php include to avoid duplicate start.

DigiOz Webmaster
www.digioz.com

Please Log in or Create an account to join the conversation.

More
16 years 6 months ago #893 by slsupport
Replied by slsupport on topic Errors on Guestbook
Thank you... that was it. It was recently moved to a site running PHP 5.

Please Log in or Create an account to join the conversation.

Time to create page: 0.119 seconds
Powered by Kunena Forum