Page 2 of 2

Re: install worked, but selecting options in admin sends me to login

Posted: Fri Mar 27, 2009 5:17 pm
by FCazabon
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?

Re: install worked, but selecting options in admin sends me to login

Posted: Sat Mar 28, 2009 2:12 pm
by FCazabon
mark wrote: Yes seeing as 1.4.1 didn't have them...
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?

Re: install worked, but selecting options in admin sends me to login

Posted: Tue Mar 31, 2009 1:37 am
by FCazabon
neil40 wrote: Will your ISP allow you to use .htaccess files ?
php_value session.save_path "/vhost/vhost8/b/r/a//www/session/"[/b]
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?

Re: install worked, but selecting options in admin sends me to login

Posted: Tue Mar 31, 2009 9:50 am
by Pierre M.
Hello all,

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

Posted: Tue Mar 31, 2009 12:01 pm
by FCazabon
Pierre M. wrote: please follow neil40 : talk with your hosting provider about this PHP session setting problem.
Hi Pierre,

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

Posted: Wed Apr 01, 2009 1:22 am
by FCazabon
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 :(

Re: install worked, but selecting options in admin sends me to login

Posted: Wed Apr 01, 2009 12:20 pm
by davidell
@ 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.

Re: install worked, but selecting options in admin sends me to login

Posted: Wed Apr 01, 2009 12:38 pm
by FCazabon
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.

Re: install worked, but selecting options in admin sends me to login

Posted: Wed Apr 01, 2009 1:10 pm
by davidell
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:

Code: Select all

AcceptPathInfo On
php_value session.save_path "/vhost/vhost8/r/o/s/rosspreston.co.uk/session"
That should be all there is too it  ;)

Re: install worked, but selecting options in admin sends me to login

Posted: Wed Apr 01, 2009 2:26 pm
by FCazabon
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

Re: install worked, but selecting options in admin sends me to login

Posted: Mon Apr 06, 2009 8:48 am
by elliot
@davidell
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

Posted: Tue Apr 07, 2009 11:31 am
by elliot
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.

Re: install worked, but selecting options in admin sends me to login

Posted: Tue Apr 07, 2009 4:05 pm
by FCazabon
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.