Unstoppable Domains

Php Session help needed

Spaceship Spaceship
Watch

khuldun

Established Member
Impact
18
Hi

I need help with my home php enabled webserver. There are a few scripts i would like to test but they have the session system, i dont have a clue what is that and it usually gives me an error, so i quite handicapped, please help.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
.US domains.US domains
Please post one of the error strings you get.
 
0
•••
Warning: Unknown(): open(/tmp\sess_db465e8345e7341347731f90117aaef5, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

another one....

Warning: session_start(): open(/tmp\sess_db465e8345e7341347731f90117aaef5, O_RDWR) failed: No such file or directory (2) in E:\webdocs\wallpaper\rheader.php on line 2

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at E:\webdocs\wallpaper\rheader.php:2) in E:\webdocs\wallpaper\rheader.php on line 2

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at E:\webdocs\wallpaper\rheader.php:2) in E:\webdocs\wallpaper\rheader.php on line 2
 
0
•••
khuldun said:
Warning: Unknown(): open(/tmp\sess_db465e8345e7341347731f90117aaef5, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
You're getting this error because PHP is looking for the /tmp dir on your machine, which at this point it doesnt look like its there.
You need to create a tmp directory and set your php.ini to point to this dir.

edit your php.ini
changing this:
[ Session ]
session.save_path =/tmp
to this something like this:
[ Session ]
session.save_path = e:\webdocs\tmp
or where ever you want the tmp to be saved at for the session files.
 
0
•••
I managed it myself in the end, was having trouble changing the php.ini file, i kept changing the one lying in the windws folder, in the end i had to change the one in the root directory, thanks anyways!!
 
0
•••
khuldun said:
I managed it myself in the end, was having trouble changing the php.ini file, i kept changing the one lying in the windws folder, in the end i had to change the one in the root directory, thanks anyways!!

Sorry, thats what I meant, I should have specified, sorry, glad you got it all worked out ;)
 
0
•••
OulZac said:
khuldun said:
I managed it myself in the end, was having trouble changing the php.ini file, i kept changing the one lying in the windws folder, in the end i had to change the one in the root directory, thanks anyways!!

Sorry, thats what I meant, I should have specified, sorry, glad you got it all worked out ;)


No problem! Thanks once again!
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Live Options
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back