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

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

Post by elliot »

Hello
I am having a strange problem with my install.

Everything seems to work OK during the install and the site is visible and working, but when I go to the admin area selecting almost any option sends me to the admin login page.

I initially built this site locally and then moved it online as per instructions, but this issue arose which I assumed was a problem with the move. So I cleared the DB and re-uploaded the files using the latest download release (cmsmadesimple-1.5.3-base.tar.gz). Again no problem with the install but after logging in to the admin its doing the same thing.

I can view the system information page without being throw out and it is saying there is an error with the root path, but I am certain its right. And its happy with the other options (uploads_path and previews_path) which are basically the same (see below).

If any body can help with this id be grateful, its driving me mad!

/vhost/vhost8/r/o/s/rosspreston.co.uk/www (0755) - root_path (shows error icon)

/vhost/vhost8/r/o/s/rosspreston.co.uk/www/tmp/cache (0777) - previews_path (shows tick icon)

::

php info here btw: http://www.rosspreston.co.uk/phpinfo.php

edit: If i turn debugging on in config.php the problem goes away - does this mean anything to you guys??
edit2: Ive tried installing the CMS at another domain with the same host (easyspace) with the same problem
Last edited by elliot on Thu Mar 26, 2009 10:23 pm, edited 1 time in total.
davidell
New Member
New Member
Posts: 9
Joined: Thu Mar 19, 2009 12:58 pm

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

Post by davidell »

I guess you're still having issues as the debuggin script is still on the site?

Well guess what, I've been installing on the same servers and have encountered the 'exact' same issue as you are experiencing.

The issue seems to be that sessions are timing out... 'I think'?

I've tried various work arounds after reading the following threads:

http://forum.cmsmadesimple.org/index.ph ... 455.0.html
http://forum.cmsmadesimple.org/index.ph ... 63.15.html
http://forum.cmsmadesimple.org/index.ph ... 37.15.html
http://forum.cmsmadesimple.org/index.ph ... 3.new.html

Then I stumbled on your thread, when I realised we we're on the same servers alarm bells started ringing, so I call them.

After d***ing around with them for hours, the response from the '2nd line' tech dept (2nd line, becasue we're on shared servers, we just get the idiot dept)... this was the response I received:

"We do not allow sessions to be written to the php /temp directory on shared hosting... good luck finding someone who does"

So there we go, as helpful as ever.  I have 1.5.2 working on other shared servers, just not with Easyspace?

My thinking is, as I'm reluctant to go down the dedicated server route, or move to a new host would be to roll-back to say version 1.4.1?

Just as thought, and not even sure if that will work either?

How have you faired with their technical support?
elliot

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

Post by elliot »

I had exactly the same experience that you had. As far as i can work out (and im no expert) CMSMS is a no go with that provider, Its a bummer for me as I renewed not that long ago. As for downgrading its far from ideal and I haven't tried it yet.

Had I known I would have gone with Zen Internet as Ive built CMSMS sites on their shared hosting without any issues. And for the same price (ish) you get multiple DBs rather than one which would be handy for running Magento ecommerce or similar as well. Incidentally Magento doesn't work on Easyspace either as the PHP version isn't new enough, though thats partly Magentos problem as they should make it compatible with earlier PHP releases really.

On a wider point Ive installed CMSMS on 4 servers so far and have a 50% success rate. When it works its impossible to fault, its easy to install and I really enjoy the process of modifying the templates/stylesheets. More importantly the admin is very easy for the client to use and I find that they are more inclined to use the CMS than with other systems ive used which is a big plus.

Unfortunately 2 out of 4 working installs is a problem that could mean moving to a different system, unless ive been really unlucky and dont have any futher problems in the future.
davidell
New Member
New Member
Posts: 9
Joined: Thu Mar 19, 2009 12:58 pm

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

Post by davidell »

Thanks for replying Elliot... I can say that reverting to an older version (in this case 1.4.1) doesn't work.  Won't even install with PHP5

So I'm thinking/ wondering if there is a way to disable sessions?

It's an old post but this looks interesting:

http://forum.cmsmadesimple.org/index.ph ... ml#msg5333

Im going to keep searching the forums for clues, and I'm going to install 1.5.2 and take another look.  I'm ok with PHP but by no means am I an expert (I'd give myself 3/10), if there is any guru out there who could help/ point us in the right direction,  then we might be able to help anyone else unfortunate enough to have chosen Easyspace as their host.
elliot

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

Post by elliot »

Hello again. Your about a point/point and a half higher than me in the php knowledge stakes I think.

I found that enabling debugging stopped me getting kicked out to the login page, not a solution I admit - might give somebody with a bigger brain than me a clue though.
elliot

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

Post by elliot »

Just on that thought. Is it possible to have debugging enabled in the config file, but not have it display the debug info in the HTML?

That would sort my problem out I think.
elliot

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

Post by elliot »

Me again. I lost my temper with it and deleted all the session stuff out the top of include.php.

I suspect its not 'best practice' but it seems to have worked  ;D
davidell
New Member
New Member
Posts: 9
Joined: Thu Mar 19, 2009 12:58 pm

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

Post by davidell »

Good news!

I wish I had read this earlier though... I went ahead and deleted the original installation, tried 1.4.1 and ended up with the 'blank page at install' issue.

I tried 1.5 - 1.5.1 & 1.5.2 and keep coming stuck with the blank screen.

So, I decide to test in a seperate folder (/cms) rather than the route... works first time, but can I get it to in the route folder?

Driving me mad now, at least when (if) I get back up and running there's a workaround for the sessions issue.

Well done you!
elliot

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

Post by elliot »

Have you been clearing the database each time you install?
davidell
New Member
New Member
Posts: 9
Joined: Thu Mar 19, 2009 12:58 pm

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

Post by davidell »

Yeh, I dropped the tables prior to trying the fresh install.

Looks like it's really got it's knickers in a twist, as when I run the checksum.php it's looking for all the 'other' cms files inside the 'install' folder... for example:

/www/install/modules/ModuleManager/action.setprefs.php

/www/install/plugins/function.startExpandCollapse.php

/www/install/admin/index.php

Why it's looking for these in (and virtually all the others) inside the install directory is beyond me?

I just have a feeling it's something server side?

PS - Sorry for hijacking your thread  :-[
Last edited by davidell on Fri Mar 20, 2009 5:19 pm, edited 1 time in total.
elliot

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

Post by elliot »

No probs, at least some kind of solution prevailed. Im going to mark this solved (ish) as I dont know what the consequence of deleting the session stuff might be.
davidell
New Member
New Member
Posts: 9
Joined: Thu Mar 19, 2009 12:58 pm

Re: [solved[ish]] install worked, but selecting options in admin sends me to login

Post by davidell »

OK, I'm finally up and running again (sort of).

I was just wondering Elliot without sessions, what happens when you go to Content | Image Manager?

Anything look out of place on your set-up?
elliot

Re: [solved[ish]] install worked, but selecting options in admin sends me to login

Post by elliot »

Yes thats not good is it. Im un-solving this thread, maybe I should replace with 'unsolvable'.
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 Elliot,

please don't say it's unsolvable because I have just got it too (with my site due to go live next week).  I am hosted at Domain400 and the prior version I had was 1.4.1, which worked fine, but wouldn't support the latest version of SelfRegistration.  I had done an upgrade to my local installation of CMSMadeSimple and it worked fine, but when I did the upgrade on the webhost is when I started getting this login prompt everytime I tried to add a new template ot copy an existing one or some other things.  Some things work fine.  Also I had been getting an error with the Captcha module, but uninstalling that and re-installing it has solved the problem (now I just need towork out why the submit button doesn't have a caption and is tiny - see attached image).

I seem to have a slightly newer version of PHP on my local install than the one on Domain400.

I am very new to CMS Made Simple (about 4 weeks I think, but only about 20 hours work in it).  Here is what I what I was thinking of doing:

Backup up the database on my local install, restore it onto the web host and see if that worked.

If not, delete cmsmadesimple frommy host completely, then do a new install and then restore my database and other files.

Do you think any of those will help?
Attachments
Capture1.png
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

I don't think so I'm affraid.  The issue we're encountering is due to sessions not supported by our host.  I uninstalled/ installed maybe 10 times in total.

@Elliot

So I take it you can see the login screen in a frame on that page?  Unsolvable... nah, we'll get to the bottom of it eventually!

*Strange* When replying/modifying this message there's a post from FCazabon in the topic summary... but not showing up in the main thread?
Last edited by davidell on Fri Mar 27, 2009 1:42 pm, edited 1 time in total.
Locked

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