PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Warning: Cannot modify header information - headers already sent by (output started at /home/sidex/public_html/ThemeSystem/index.php:5) in /home/sidex/public_html/ThemeSystem/index.php on line 37
I read that the most common reason for this error was because there are white spaces before the <?php and after the ?> but i checked all my files and there arnt any, and i didnt find many other reasons for this. The script works fine on my local server, but when i upload it to my web server i get these errors. I'd guess its a difference in the php.ini file, but since my host wont change my .ini file i have to fix the php. so can someone please help me.
Warning: Cannot modify header information - headers already sent by (output started at /home/sidex/public_html/ThemeSystem/index.php:5) in /home/sidex/public_html/ThemeSystem/index.php on line 37
I read that the most common reason for this error was because there are white spaces before the <?php and after the ?> but i checked all my files and there arnt any, and i didnt find many other reasons for this. The script works fine on my local server, but when i upload it to my web server i get these errors. I'd guess its a difference in the php.ini file, but since my host wont change my .ini file i have to fix the php. so can someone please help me.
yes, feyd is right... just turing output buffering on doesn't fix the problem, it just hides it from the user. I would recommend reading up on it on php.net (follow the link I posted) and thinking about not only how to make the problem go away, but fixing it.