Jump to content

Quick Question [SOLVED]


SLG

Recommended Posts

Hey all,

I am a bit noob to PHP/MySQL (I just started a few weeks ago). Anyway, I am a webmaster for the site AlbinoShades, and I am about to release the new version of the site soon. This new site has a login feature that was a serious pain in the ass to get working. Well I finnaly got everything up and running, and started intergrating the script into the site, then this ugly error appeared at the top saying:
[code]Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/albinosh/public_html/rc2/home.php:5) in /home/albinosh/public_html/rc2/include/session.php on line 47[/code]

But then everything else worked, I could login, password protect pages, edit admin settings etc. So I looked at line 47 in sessions.php and saw this line:
[code]start_session()[/code]
I knew that editing this would screw up the script, but I couldnt resist, I commented that line, then the ugly error went away, but I couldn't login. So I un-commented that line, and same thing happens. Any ideas why this error message is showing?
Link to comment
https://forums.phpfreaks.com/topic/25634-quick-question-solved/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.