MySql database issue - cannot modify header

Avatar
  • Answered
I just uploaded a database to my website and got back this error message:

Warning: Cannot modify header information - headers already sent by (output started at /home/pa91755/public_html/calendarix/index.php:3) in /home/pa91755/public_html/calendarix/index.php on line 19

There is nothing on line 19, it is the end of my php script. I don't understand the "cannot modify header" message. Please help. There is no problem with accessing this database on a local machine or on another web site hosted by another company.
Avatar
Scott
Hello, This error is not a database issue, but a basic php error. This error occurs when a command or function attempts to modify header information after that information was already sent by the code. It can be many things but is always code related. Check your code to ensure there are no extra spaces before or after the tags. Since you say this is the end of your code, start with that to see if it fixes the issue. Kindest Regards, Scott M