Page 1 of 1

Error messages displayed at top of website

Posted: Wed Dec 01, 2021 3:50 pm
by tbayer
Greetings,

New to using a Forum - let me know if I posted incorrectly.

The website is GreeceTraveler.com. It has been working for years and suddenly I now get these error messages:

----- start of example error messages ----
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/content/31/5320431/html/index.php:3) in /home/content/31/5320431/html/include.php on line 51

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/content/31/5320431/html/index.php:3) in /home/content/31/5320431/html/include.php on line 51

Warning: Cannot modify header information - headers already sent by (output started at /home/content/31/5320431/html/index.php:3) in /home/content/31/5320431/html/index.php on line 155

-------- end of example error messages ------

What happened? How can I fix this?

Regards,

Tim

Re: Error messages displayed at top of website

Posted: Wed Dec 01, 2021 4:29 pm
by DIGI3
Your host likely either changed a php setting (display_errors) or upgraded PHP, or both.

Short term fix you can set the errors to not display. The method for this can vary based on your server configuration and php version, but usually it's one of editing php.ini or .user.ini, either directly or through your host's control panel php settings. Sometimes it's done in the htaccess instead, so some Googling or checking with your host may be required.

You should then upgrade your cmsms installation asap, I'm guessing it's quite far behind.