Page 1 of 1
Server moved. No login to Admin Panel.
Posted: Thu Feb 08, 2007 6:12 pm
by Stoffel84
Hi Guys,
first - sorry for my bad english.
I have changed my server and now i have problems to login in the admin panel.
When ich open the loginsite this error is shown:
Warning: Unknown(): open(/var/lib/php/sess_5948f01fea736816eb996ccadece27dd, O_RDWR) failed: Permission denied (13) in Unknown on line 0
Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php) in Unknown on line 0
Any ideas?
Thanks for help!
Re: Server moved. No login to Admin Panel.
Posted: Thu Feb 08, 2007 6:20 pm
by RonnyK
Did you change the settings to reflect the new path in config.php. If you change server, the domain and path probably changed, you should change this in the config.php as this file is filled during install with the settings of that moment.
Ronny
Re: Server moved. No login to Admin Panel.
Posted: Thu Feb 08, 2007 6:29 pm
by Stoffel84
Hi Ronny,
i have edited the config.php file. I guess it's a php problem on this server!
It's a virtual server with plesk - but i haven't any idea how to setup the php installation.
Re: Server moved. No login to Admin Panel.
Posted: Sat Feb 10, 2007 12:44 pm
by Stoffel84
A few more facts about the error:
When i navigate to the cms site no error is visible.
When i try to open the admin panel the error ist shown.
When i then renavigate to the cms site the error is then also shown on the site.
I have changed the session.save_path variable to the servers tmp directory (chmod 777).
A new cmsms installation (a little test - no migration) in another directory runs without any error.

Re: Server moved. No login to Admin Panel.
Posted: Sat Feb 10, 2007 10:07 pm
by tsw
double check all paths in config.php (use the clean installation config.php as a quide) and clear cmsms cache
hope this helps
Re: Server moved. No login to Admin Panel.
Posted: Sat Feb 10, 2007 10:17 pm
by Stoffel84
mhh..
i have now deleted the fresh installation and try again to install a fresh cmsms on the first install page i get a yellow dot at:
Checking if sessions are enabled
Although the PHP support for sessions is not mandatory, it is highly recommended. Logins and other things may slow down and you may have difficulty with some addon functionality without this capability.
The checking session functions test above is green....
I'm really confused...

Re: Server moved. No login to Admin Panel.
Posted: Sat Feb 10, 2007 10:21 pm
by Stoffel84
I guess php is misconfigurated.
My phpinfo is:
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.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 Off Off
Re: Server moved. No login to Admin Panel.
Posted: Sun Feb 11, 2007 12:40 am
by Stoffel84
ERROR FOUND!
The session file which is created by apache has the wrong rights.
When the file is created it has CHMOD 200 (only writable by owner not readable by owner) - cmsms isn't able to read the session.
When i manually change chmod 600 it works fine.
Any ideas how to setup apache?
Thanks!
Re: Server moved. No login to Admin Panel.
Posted: Thu Jul 05, 2007 6:03 pm
by Stoffel84
Finally to fix that problem i like to modify chmod rights with the php command chmod().
Where in cmsms sessions will be created?