Post details: PHP Sessions


My adventures and exploits as well as the gnashing of teeth with the wonderful OS known as FreeBSD.

PHP Sessions

August 22nd, 2006 (66 views )

Problem:
Scripts making use of session data not functioning correctly (referred to httpd error log for confirmation).

Log displayed:

[error] PHP Warning: Unknown: open(/tmp/o/c/5/1/3/blahblahb, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Solution:
Edit php.ini file from:
session.save_path = "5;/tmp" to
session.save_path = "/tmp".

Comments:

No Comments for this post yet...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

Dualbase :: Montreal webdesign :: the home of FLAM player
Flam Player :: Macromedia Flash mp3 player :: the home of FLAM player