[adminer-tracker] [ adminer-Bugs and Features-3086776 ] Fatal error: session_start()
Database management in a single PHP file
Brought to you by:
jakubvrana
From: SourceForge.net <no...@so...> - 2010-10-13 19:29:45
|
Bugs and Features item #3086776, was opened at 2010-10-13 18:46 Message generated for change (Settings changed) made by jakubvrana You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1127745&aid=3086776&group_id=264133 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed Resolution: Invalid Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Fatal error: session_start() Initial Comment: Fatal error: session_start() Failed to initialize storage module: user (path: 0;660;/tmp/php) This error occurs in BSD and from what I've read, it is a long lasting issue on BSD based servers. However, the script will work correctly if you prepend with the following: ini_set("session.save_handler", "files"); ---------------------------------------------------------------------- >Comment By: Jakub Vrána (jakubvrana) Date: 2010-10-13 21:29 Message: Adminer respects your INI settings. "user" session.save_handler is not valid if you don't define it by session_set_save_handler(). So please change session.save_handler in your configuration. Your Master Value is correct so I guess it is overwritten in per-directory setting. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2010-10-13 20:50 Message: Session Support enabled Registered save handlers files user Registered serializer handlers php php_binary Directive Local Value Master Value session.auto_start Off Off session.bug_compat_42 Off Off session.bug_compat_warn On On session.cache_expire 180 180 session.cache_limiter nocache nocache session.cookie_domain .MASKED.MASKED.MASKED.com no value session.cookie_httponly Off Off session.cookie_lifetime 0 0 session.cookie_path / / session.cookie_secure Off Off session.entropy_file no value no value session.entropy_length 0 0 session.gc_divisor 1000 1000 session.gc_maxlifetime 1440 1440 session.gc_probability 1 1 session.hash_bits_per_character 5 5 session.hash_function 0 0 session.name PHPSESSID PHPSESSID session.referer_check no value no value session.save_handler user files session.save_path 0;660;/tmp/php 0;660;/tmp/php session.serialize_handler php php session.use_cookies On On session.use_only_cookies Off Off session.use_trans_sid 0 0 ---------------------------------------------------------------------- Comment By: Jakub Vrána (jakubvrana) Date: 2010-10-13 19:13 Message: Can you please attach all your session options taken from phpinfo()? ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2010-10-13 19:04 Message: Yes, session_start() does work in other scripts. ---------------------------------------------------------------------- Comment By: Jakub Vrána (jakubvrana) Date: 2010-10-13 18:56 Message: This has probably nothing to do with Adminer. Does session_start() work elsewhere? Adminer respects your default session.save_handler. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1127745&aid=3086776&group_id=264133 |