i did nothing

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

i did nothing

Post by gaogier »

i was surfing my site, and all of a sudden, i got an error on the top of the page

Warning: session_start(): open(/tmp/sess_3b7dc347ebdc96e42d4473b8e159df06, O_RDWR) failed: Permission denied (13) in /home/gaogier/public_html/header.inc on line 3

and i also got 2 errors on the bottem of the page

Warning: Unknown(): open(/tmp/sess_3b7dc347ebdc96e42d4473b8e159df06, O_RDWR) failed: Permission denied (13) 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

what can/should i do?
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

Contact your hosting provider.
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

is it something to do with the server?
Ree
Forum Regular
Posts: 592
Joined: Fri Jun 10, 2005 1:43 am
Location: LT

Post by Ree »

Yeah, looks like permission problem. Your host should fix it in no time.
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

so, i cant email them,

the email system has gone
Ree
Forum Regular
Posts: 592
Joined: Fri Jun 10, 2005 1:43 am
Location: LT

Post by Ree »

... where?

Can't you issue a support ticket?
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

yea, i have just used that, but im not sure, if i can keep all my emails, is it possible, if so, how? backups?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

gaogier wrote:yea, i have just used that, but im not sure, if i can keep all my emails, is it possible, if so, how? backups?
:roll: ???
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

Pretty obvious... you don't have rights to write in /tmp (Well atleast the webserver doesn't have those rights)...

One of the first things to do when using shared hosting is to change the session.save_path... Otherwise other users can also read *your* sessiondata....
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

..and people wonder why I prefer database sessions :P
Post Reply