tommyda Posted January 21, 2009 Share Posted January 21, 2009 I am trying to use the login script from evolt here http://evolt.org/PHP-Login-System-with-Admin-Features?from=1900&comments_per_page=50 but I am getting the error: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/website/public_html/phptesting/test/include/constants.php:93) in /home/website/public_html/phptesting/test/include/session.php on line 46 Nobody else seems to be having this problem so I am assuming its something to do with my server. Can anyone see whats up with it?? Quote Link to comment https://forums.phpfreaks.com/topic/141827-session-issues-again-is-it-my-server/ Share on other sites More sharing options...
Philip Posted January 21, 2009 Share Posted January 21, 2009 headers already sent Put session start at the very top of the script, right after <?php Quote Link to comment https://forums.phpfreaks.com/topic/141827-session-issues-again-is-it-my-server/#findComment-742562 Share on other sites More sharing options...
jjacquay712 Posted January 21, 2009 Share Posted January 21, 2009 if you have html before the php tag that could cause the problem also. Quote Link to comment https://forums.phpfreaks.com/topic/141827-session-issues-again-is-it-my-server/#findComment-742570 Share on other sites More sharing options...
tommyda Posted January 21, 2009 Author Share Posted January 21, 2009 I dont understand why its working for thousands of other people and was created by a master of c++ and it wont work for me. I would be willing to give someone a dummy hosting account to try to install it on. Would even be willing to pay someone to get it working on my server. Quote Link to comment https://forums.phpfreaks.com/topic/141827-session-issues-again-is-it-my-server/#findComment-742573 Share on other sites More sharing options...
PFMaBiSmAd Posted January 21, 2009 Share Posted January 21, 2009 Please read the error message. It states where the output is occurring that is preventing the headers from working - output started at /home/website/public_html/phptesting/test/include/constants.php:93 Something at line 93 in the constants.php file is content. Did you examine that file to see what it might be? Since that file posted at the original site only contains 91 lines of code, I will bet that you have some content after the closing ?> tag in the file. Make sure there is nothing after the end of the ?> tag. Quote Link to comment https://forums.phpfreaks.com/topic/141827-session-issues-again-is-it-my-server/#findComment-742622 Share on other sites More sharing options...
tommyda Posted January 21, 2009 Author Share Posted January 21, 2009 Theres no output whatsoever I am going to look at another system maybe the biorust one or even an application framework. Quote Link to comment https://forums.phpfreaks.com/topic/141827-session-issues-again-is-it-my-server/#findComment-742637 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.