[solved] Session not working?

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
leizmendi
New Member
New Member
Posts: 5
Joined: Tue Feb 17, 2009 11:00 am

[solved] Session not working?

Post 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!
Last edited by leizmendi on Mon Feb 23, 2009 3:08 pm, edited 1 time in total.
Pierre M.

Re: Session not working?

Post 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.
leizmendi
New Member
New Member
Posts: 5
Joined: Tue Feb 17, 2009 11:00 am

Re: Session not working?

Post 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
Pierre M.

Re: Session not working?

Post 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.
leizmendi
New Member
New Member
Posts: 5
Joined: Tue Feb 17, 2009 11:00 am

Re: Session not working?

Post 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
Last edited by leizmendi on Mon Feb 23, 2009 12:32 pm, edited 1 time in total.
leizmendi
New Member
New Member
Posts: 5
Joined: Tue Feb 17, 2009 11:00 am

Re: Session not working?

Post 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 :)
leizmendi
New Member
New Member
Posts: 5
Joined: Tue Feb 17, 2009 11:00 am

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

Post by leizmendi »

My PHP provider changed the mode php runs: from CGI to Apache module and now the cms go...¿?

Merci beaucoup, Pierre!
Pierre M.

Re: Session not working?

Post 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.
Locked

Return to “[locked] Installation, Setup and Upgrade”