FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Script install error!





Aalia
i have install some script and i recive some errors, can you show on that i test in on another hosting and all by ok.

its some in header data -
Code:
Warning: Cannot modify header information - headers already sent by (output started at /home/aalia/public_html/t/inc/config.inc.php:94) in /home/aalia/public_html/t/global.php on line 40

Warning: Cannot modify header information - headers already sent by (output started at /home/aalia/public_html/t/inc/config.inc.php:94) in /home/aalia/public_html/t/global.php on line 41

Warning: Cannot modify header information - headers already sent by (output started at /home/aalia/public_html/t/inc/config.inc.php:94) in /home/aalia/public_html/t/global.php on line 42

Warning: Cannot modify header information - headers already sent by (output started at /home/aalia/public_html/t/inc/config.inc.php:94) in /home/aalia/public_html/t/global.php on line 43

Warning: Cannot modify header information - headers already sent by (output started at /home/aalia/public_html/t/inc/config.inc.php:94) in /home/aalia/public_html/t/global.php on line 44
DarkGoku
Is you config file CHMOD'd to 777?
Aalia
Not in all files Rolling Eyes
Bondings
The other host probably has a different php version/configuration I suppose.

Those header errors are usually generated by echo statements in php code before the software sends the headers out.
Daniel15
Like Bondings said, those errors are caused by having output being sent before the headers...

Quote:
Warning: Cannot modify header information - headers already sent by (output started at /home/aalia/public_html/t/inc/config.inc.php:94 in /home/aalia/public_html/t/global.php on line 40


That means that line 40 in global.php is trying to send a header using the header() function, but the page output has already started in config.inc.php on line 94. Check line 94 of config.inc.php, it's probably a blank like after the ending ?> tag. There should be no blank lines outside the PHP tags.
Related topics
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.