|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
sessions gone mad!
hey all,
ive just installed the latest versions of apache, php(binary) and mysql. Its all working great, except for when i call anything to do with sessions. i get the following error Warning: open(/tmp\sess_813c3099f0e8dc0cc90199ab44e07a82, O_RDWR) failed: No such file or directory (2) in c:\public_html\cla\admin\include\php\security.php on line 84 i also sometimes get the following errors Warning: open(/tmp\sess_813c3099f0e8dc0cc90199ab44e07a82, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: 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 would post some of my code, but i cant due to security reasons? is it something ive set up wrong? i seached php.ini for sessions, but i dont know what to change Thanks Ben Rowe |
|
#2
|
|||
|
|||
|
ok, ive got it down to this line in the php.ini file
; Argument passed to save_handler. In the case of files, this is the path ; where data files are stored. Note: Windows users have to change this ; variable in order to use PHP's session functions. session.save_path = /tmp can someone whos running windows, and apache&php check in there php.ini file to see what this is to be set to for windows users |
|
#3
|
|||
|
|||
|
well this was a total waste of time, i just figured it out,
session.save_path = /tmp ok if its set to this what you need to do is create a folder in your c: called tmp, thats as simple as that well this was a interesting post eheh |
|
#4
|
|||
|
|||
|
Stop talking to yourself, Ben!
![]()
__________________
Best Regards, Håvard Lindset |
|
#5
|
|||
|
|||
|
Heheh... i was thinking the same thing!
![]()
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
|
#6
|
|||
|
|||
|
i think i need professional help
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > sessions gone mad! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|