Warning: session_start(): Cannot send session cache limiter - headers already sent (output started a

Status
Not open for further replies.

dbmto

New Member
Messages
5
Reaction score
0
Points
1
Before this, I was notified that my php session cache is full or something of the sort and to contact an administrator to clear it for me.

Any idea what to do?
 

dbmto

New Member
Messages
5
Reaction score
0
Points
1
I also get a failed message on trying to start a session period, its the second line of code, right after <?php
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
If there are no visible characters (whitespace or anything else) before the opening <?php tag, then it is very likely that your file was saved with a byte order mark (BOM). Your editor should offer the option to save without one (as UTF-8 or plain ASCII/ANSI text), but that (unfortunately) is not usually the default these days. Any character appearing outside of the <?php ... ?> tags is output, so the BOM, even though it's unprintable, still sends headers and starts output so it's too late to add the session.
 

dbmto

New Member
Messages
5
Reaction score
0
Points
1
Alright thank you, just for a workaround, it functions the same, but I went ahead and used cookies rather than sessions.

My new issue though is that the cPanel needs to be licensed again or something?
 

dbmto

New Member
Messages
5
Reaction score
0
Points
1
THis is an example of what I see:

Thank You for installing cPanel / WHM.


This server is currently not licensed. Please contact the server administrator. Other services available on this server such as web services are likely functioning normally. (Unknown License File Sum (has=,needed=23,length=0).)


Once the license on this server is active, you will no longer see this message. If you have installed a license since loading this page, click here to reload.
 
Status
Not open for further replies.
Top