Page 1 of 1

[solved] Session not working?

Posted: Tue Feb 17, 2009 11:24 am
by leizmendi
Hello

I tried the installation script, but in the first step I receive the message: Session not working, you have problem with some modules and functionality! Ask your provider, exiting!

I asked my provider and he taught me the phpinfo of my host:http://www.p-misdns.net/info.php where we can see:

session
Session Support enabled
Registered save handlers files user
Registered serializer handlers php php_binary wddx

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 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 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 files files
session.save_path /var/lib/php/session /var/lib/php/session
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0

Do you know what is wrong?

Thanks!

Re: Session not working?

Posted: Tue Feb 17, 2009 5:42 pm
by Pierre M.
Hello,

I'm not a PHP hoster. May be make sure session.save_path /var/lib/php/session is writeable ?
Hopefully a PHP aware forum member will tell you better.

Pierre M.

Re: Session not working?

Posted: Tue Feb 17, 2009 7:14 pm
by leizmendi
Thanks, yes, all the folders in the path /var/lib/php/session are 777... :-\

My Hoster says maybe CMSMS runs not with PHP 5?

Merci

Re: Session not working?

Posted: Wed Feb 18, 2009 9:34 am
by Pierre M.
CMSms works fine on PHP5.
What is the link you have downloaded and are trying to install ?
What is your installation procedure and your actions so far ?

Pierre M.

Re: Session not working?

Posted: Wed Feb 18, 2009 11:23 pm
by leizmendi
In the page: http://dev.cmsmadesimple.org/project/files/6#package-1 I downloaded cmsmadesimple-1.5.2-base.tar.gz.
I extracted all the files with the same structure and I uped to the folder httpdocs in my host.

The help says in the section
Error messages during installation:
...
Session not working
    (start) You have session module but not working properly in your system. Perhaps this is due to some restriction of your PHP system, for example session functions are disabled or open basedir enabled. Check your installation and ask your provider for enable.
What about open_basedir?? In the phpinfo() It says like this:
open_basedir Local value: /var/www/vhosts/p-misdns.net/httpdocs:/tmp Master value: no value
Merci beaucoup

Re: Session not working?

Posted: Fri Feb 20, 2009 3:51 pm
by leizmendi
Hello again

In the last message I said somthing about open_basedir parameter... well, we changed it but no success...
Now my PHP provider says me that "PHP runs mode CGI and the sessions must execute by MySQL, not by Folders..."
¿¿Some light there??

Thanks thousends :)

[Solved] (not very clear because...) Session not working?

Posted: Mon Feb 23, 2009 10:27 am
by leizmendi
My PHP provider changed the mode php runs: from CGI to Apache module and now the cms go...¿?

Merci beaucoup, Pierre!

Re: Session not working?

Posted: Mon Feb 23, 2009 2:26 pm
by Pierre M.
Nice it works !-)

Please put [solved] in the title of your first post in the thread.
Have fun with CMSms

Pierre M.