Critical php errors!

mhs135

New Member
Messages
20
Reaction score
0
Points
0
Hi friends,

until yesterday,my site was in good running. But today when I opened my site, it showed these php errors:

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/mhs135/public_html/login.php:11) in /home/mhs135/public_html/login.php on line 11

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mhs135/public_html/login.php:11) in /home/mhs135/public_html/login.php on line 11


Warning: Unknown: open(/tmp/sess_fdb4534f052a5dd2ac148eba8f2957ef, O_RDWR) failed: Read-only file system (30) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0


I dont know what to do. Im sure that these errors are not caused by me. Because, until yesterday, the site was in perfect condition. Today, suddenly it became like this.

My site url is http://buxcafe.com

Can anyone reply me a solution for this..

Thankyou,
Mahesh
 

lhyman

New Member
Messages
198
Reaction score
0
Points
0
It looks like you mysql cache

do you have access to the tmp dir ?

if so, chmod it to 777

Code:
Warning: session_start() [function.session-start]: open(/tmp/sess_17614a39310c2383cfd93a0641fd42d1, O_RDWR) failed: Read-only file system (30) in /home/mhs135/public_html/index.php on line 11

If not, do you have an option in your scripts to change the mysql cache, some scripts let you use the db intself instead of a tmp dir.

Try playing around with your cache options or try re-chmodding your folders, sometimes permisions get reset on servers....
 

xav0989

Community Public Relation
Community Support
Messages
4,467
Reaction score
95
Points
0
@lhyman
I don't understand the mysql cache part... from what it seems mhs135 is using regular flat-file session.
 
Last edited:

lhyman

New Member
Messages
198
Reaction score
0
Points
0
what ever the case, there have been reports of a problem with the server, if the issue is still unresolved, please open a ticket or ask an admin for help on the support forum
 
Top