jetdiscos Posted December 21, 2006 Share Posted December 21, 2006 Having problems using a login script with a CMS script.I get this error when i insert the code into the page.[quote]"Warning: Cannot modify header information - headers already sent by (output started at /home/nhall/public_html/main/templates/templeron/index.php:31) in /home/nhall/public_html/main/modules/code/view.php(30) : eval()'d code on line 32"[/quote]How can i fix this? Link to comment https://forums.phpfreaks.com/topic/31533-help-php-and-cms-problem/ Share on other sites More sharing options...
jwk811 Posted December 21, 2006 Share Posted December 21, 2006 you must have html displayed before your header("Location url.php");.. just make sure the redirect is before any html and you shouldnt get that error Link to comment https://forums.phpfreaks.com/topic/31533-help-php-and-cms-problem/#findComment-146098 Share on other sites More sharing options...
jetdiscos Posted December 21, 2006 Author Share Posted December 21, 2006 ok how do i get the location:blah.php to open in the full window? becuse am using wrapper feature in the CMS to overcome first problem? Link to comment https://forums.phpfreaks.com/topic/31533-help-php-and-cms-problem/#findComment-146109 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.