DokuWiki

It's better when it's simple

User Tools

Site Tools


faq:sessionstart

session_start() errors

:?: What do errors like these mean:

session_start(): PrivoxyWindowOpen(/tmp/sess_be09512603dfe7ca99751ee0ded7fbad, O_RDWR) failed: Permission denied (11)
Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp)

:!: This means your PHP install isn't configured correctly. PHP can't create the session datafiles. Contact your admin or read the PHP docs to setup session handling correctly.

:!: I was getting this error message as well. It was a PHP configuration problem as described above. I fixed the problem by editing the php.ini file and setting this directive to a directory that existed… it had previously been /tmp by default (expecting to be hosted on a *nix server. So if you are running PHP on Windows you have to change it, just keep the / instead of using the windows \.

session.save_path = c:/temp

:!: Note that on Windows, you have to modify the save handler to files

session.save_handler = files

faq/sessionstart.txt · Last modified: 2009-08-24 06:40 by 203.223.138.226

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki