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 Quote Link to comment Share on other sites More sharing options...
purpleshadez Posted October 23, 2009 Share Posted October 23, 2009 Read this Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.