j05hr Posted October 23, 2009 Share Posted October 23, 2009 I've put a website that I was doing live and I'm getting this warning message when I try to add a new user when I'm not logged in. It should redirect me back to the login page but I get this message. Warning: Cannot modify header information - headers already sent by (output started at /home/sites/sampleestateagent.eu/public_html/includes/session.php:18) in /home/sites/sampleestateagent.eu/public_html/includes/functions.php on line 21 I'm not sure why this is happening as it works fine on localhost. Thanks for the help and if you need any code posting, let me know Thanks, Josh Link to comment https://forums.phpfreaks.com/topic/178797-solved-warning-message/ Share on other sites More sharing options...
purpleshadez Posted October 23, 2009 Share Posted October 23, 2009 Read this Link to comment https://forums.phpfreaks.com/topic/178797-solved-warning-message/#findComment-943208 Share on other sites More sharing options...
j05hr Posted October 23, 2009 Author Share Posted October 23, 2009 It wasn't anything to do with that but thanks for the reply, I realised my host was running an older version of PHP, switched it to PHP 5 and it worked. Link to comment https://forums.phpfreaks.com/topic/178797-solved-warning-message/#findComment-943215 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.