I'm unable to login to my newly-created server. The setup script seems to run successfully and my index page reports "This server is configured and working correctly." But when I try to login with the client I get: "Update failed (300 login required)"
My error.log file is empty. I enabled command logging and can see my correct login information being passed in, then:
USER 1 2
> LIST USERS
ERROR 300 'Login required'
Any advice would be greatly appreciated!
- Log in to post comments
Hello,
It looks like sessions are not working correctly with your PHP installation. Perhaps PHP doesn't have access to the session.save_path (this is a common error on Windows). See http://www.php.net/session for more information.
Regards,
Michał
Michal-
Thank you for the prompt response. Access to the session save directory I think is probably not the problem. It's the /tmp directory on my ISP's linux server. Here is the session phpinfo()
Session Support enabled
Registered save handlers files user sqlite
Registered serializer handlers php php_binary
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
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 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.hash_bits_per_character 4 4
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /tmp /tmp
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 1 1
Thank you!
The configuration looks good, so I don't know what may be the problem, but I'm pretty sure it's somehow related to sessions because the only place where error 300 is returned is the following code:
Regards,
Michał