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

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.
FCazabon
Forum Members
Forum Members
Posts: 165
Joined: Fri Nov 07, 2008 5:28 pm

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

Post 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?
FCazabon
Forum Members
Forum Members
Posts: 165
Joined: Fri Nov 07, 2008 5:28 pm

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

Post 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?
FCazabon
Forum Members
Forum Members
Posts: 165
Joined: Fri Nov 07, 2008 5:28 pm

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

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

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

Post by Pierre M. »

Hello all,

please follow neil40 : talk with your hosting provider about this PHP session setting problem.

Pierre M.
FCazabon
Forum Members
Forum Members
Posts: 165
Joined: Fri Nov 07, 2008 5:28 pm

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

Post 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
FCazabon
Forum Members
Forum Members
Posts: 165
Joined: Fri Nov 07, 2008 5:28 pm

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

Post 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 :(
davidell
New Member
New Member
Posts: 9
Joined: Thu Mar 19, 2009 12:58 pm

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

Post 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.
FCazabon
Forum Members
Forum Members
Posts: 165
Joined: Fri Nov 07, 2008 5:28 pm

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

Post 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.
davidell
New Member
New Member
Posts: 9
Joined: Thu Mar 19, 2009 12:58 pm

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

Post 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  ;)
FCazabon
Forum Members
Forum Members
Posts: 165
Joined: Fri Nov 07, 2008 5:28 pm

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

Post 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
elliot

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

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

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

Post 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.
FCazabon
Forum Members
Forum Members
Posts: 165
Joined: Fri Nov 07, 2008 5:28 pm

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

Post 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.
Last edited by FCazabon on Tue Apr 07, 2009 4:59 pm, edited 1 time in total.
Locked

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