install worked, but selecting options in admin sends me to login
Re: install worked, but selecting options in admin sends me to login
Hi David,
if it's a sessions thing, did the way the sessions were handled in CMSMS change from 1.4.1 to 1.5.3?
if it's a sessions thing, did the way the sessions were handled in CMSMS change from 1.4.1 to 1.5.3?
Re: install worked, but selecting options in admin sends me to login
OK, thanks, I didn't know that. FWIW as far as phpinfo() goes, my ISP has sessions enabled. You can see it here: http://arrivett.sc104.info/test.php Maybe that can help narrow down the problem?mark wrote: Yes seeing as 1.4.1 didn't have them...
Re: install worked, but selecting options in admin sends me to login
I'm pretty sure I can create .htaccess. I assume the line above is the important one. How do I determine what values to put in the session.save_path?neil40 wrote: Will your ISP allow you to use .htaccess files ?
php_value session.save_path "/vhost/vhost8/b/r/a//www/session/"[/b]
Re: install worked, but selecting options in admin sends me to login
Hello all,
please follow neil40 : talk with your hosting provider about this PHP session setting problem.
Pierre M.
please follow neil40 : talk with your hosting provider about this PHP session setting problem.
Pierre M.
Re: install worked, but selecting options in admin sends me to login
Hi Pierre,Pierre M. wrote: please follow neil40 : talk with your hosting provider about this PHP session setting problem.
I am afraid that I do not have the technical knowledge to even explain what the problem is to the hosting provider. If somebody could help me out with a description of the problem that I can give to the hosting provider, I would much appreciate it.
Frank
Re: install worked, but selecting options in admin sends me to login
I tried explaining the problem to my web host support and here is their response:
It is not possible to change the PHP settings from .htaccess file. This is done from the php.ini file located in the directory /home/sys/php5 instead (which does the same to the PHP configuration as the .htaccess file). You can modify the php.ini file by yourself if you want. You can use any existing directory in your account for session.save_path (note that the path of the directories has the format /home/www/arrivealivett.com for example). The current path (/tmp) is correct.
So, where do I go from here? I'm going round in circles getting nowhere
It is not possible to change the PHP settings from .htaccess file. This is done from the php.ini file located in the directory /home/sys/php5 instead (which does the same to the PHP configuration as the .htaccess file). You can modify the php.ini file by yourself if you want. You can use any existing directory in your account for session.save_path (note that the path of the directories has the format /home/www/arrivealivett.com for example). The current path (/tmp) is correct.
So, where do I go from here? I'm going round in circles getting nowhere

Re: install worked, but selecting options in admin sends me to login
@ FCazabon
Do as your host has suggested, find the file php.ini in the directory /home/sys/php5 then find the sessions bit and modify accordingly.
Let us know how you get on, or need one of us to look at the php.ini file for you.
@ Pierre M & neil40
Thank you both for your input, I will see if I can resolve this issue using this method (it definately seems the way to go).
Hopefully elliot is still reading and can let us know how he gets on too.
Do as your host has suggested, find the file php.ini in the directory /home/sys/php5 then find the sessions bit and modify accordingly.
Let us know how you get on, or need one of us to look at the php.ini file for you.
@ Pierre M & neil40
Thank you both for your input, I will see if I can resolve this issue using this method (it definately seems the way to go).
Hopefully elliot is still reading and can let us know how he gets on too.
Re: install worked, but selecting options in admin sends me to login
Hi David,
I have done as the host suggested (in fact they actually made the changes) but it hasn't solved the problem. Sorry I hadn't made that clear.
The change they made to the session.save_path is this:
session.save_path = "/tmp"
which they assure me is correct for my setup.
I have done as the host suggested (in fact they actually made the changes) but it hasn't solved the problem. Sorry I hadn't made that clear.
The change they made to the session.save_path is this:
session.save_path = "/tmp"
which they assure me is correct for my setup.
Re: install worked, but selecting options in admin sends me to login
Hi FCazabon
What might be worth trying is setting the session.save_path to the absolute URL?
/home/users/arrivett/www/arrivealivett.com/tmp
Worth a try maybe?
I can confirm that I have been logged into admin without being booted out for over half an hour... happy days!
@ elliot
Call them, and get them to create a folder named session in the absolute root, same location as the cgi-bin, public_html and www folders (obviously get them to chmod 777)
Remember to replace the modified include.php file (I just extraced from the original archive).
Then upload your .htaccess file with the following lines:
That should be all there is too it 
What might be worth trying is setting the session.save_path to the absolute URL?
/home/users/arrivett/www/arrivealivett.com/tmp
Worth a try maybe?
I can confirm that I have been logged into admin without being booted out for over half an hour... happy days!
@ elliot
Call them, and get them to create a folder named session in the absolute root, same location as the cgi-bin, public_html and www folders (obviously get them to chmod 777)
Remember to replace the modified include.php file (I just extraced from the original archive).
Then upload your .htaccess file with the following lines:
Code: Select all
AcceptPathInfo On
php_value session.save_path "/vhost/vhost8/r/o/s/rosspreston.co.uk/session"

Re: install worked, but selecting options in admin sends me to login
Hi David,
I tried this:
session.save_path = "/home/users/arrivett/www/arrivealivett.com/tmp"
and this:
session.save_path = "/home/www/arrivealivett.com/tmp"
(since there was no users/arrivett path I could find).
Neither worked.
I don't know what to try next? This seems to me a bug in CMSMS, but I don't know if it should be reported somewhere or if the developers will see these posts.
Thanks for your help,
Frank
I tried this:
session.save_path = "/home/users/arrivett/www/arrivealivett.com/tmp"
and this:
session.save_path = "/home/www/arrivealivett.com/tmp"
(since there was no users/arrivett path I could find).
Neither worked.

I don't know what to try next? This seems to me a bug in CMSMS, but I don't know if it should be reported somewhere or if the developers will see these posts.
Thanks for your help,
Frank
Re: install worked, but selecting options in admin sends me to login
@davidell
Thanks very much for the info, ive been a bit distracted with other matters but i will give this a go soon.
Thanks very much for the info, ive been a bit distracted with other matters but i will give this a go soon.
Re: install worked, but selecting options in admin sends me to login
Announcing CMS Made Simple 1.5.4
Mon, 06 Apr 2009 posted by Robert Campbell
This is just a small maintenance release that fixes a couple of annoying bugs:
a) The logout/session issue should now be resolved permanently.
b) The problem with errors in preview on new installs because of some bad logic in the default templates has been fixed.
Diff packages are available (they are very small) to allow you to quickly [...]
Cool and the gang.
Mon, 06 Apr 2009 posted by Robert Campbell
This is just a small maintenance release that fixes a couple of annoying bugs:
a) The logout/session issue should now be resolved permanently.
b) The problem with errors in preview on new installs because of some bad logic in the default templates has been fixed.
Diff packages are available (they are very small) to allow you to quickly [...]
Cool and the gang.
Re: install worked, but selecting options in admin sends me to login
Thanks. I'll check it out.
I've installed it and it seems to work!
Thanks for pointing out the upgrade to me and thanks to the developer(s) who fixed this.
I've installed it and it seems to work!
Thanks for pointing out the upgrade to me and thanks to the developer(s) who fixed this.
Last edited by FCazabon on Tue Apr 07, 2009 4:59 pm, edited 1 time in total.