Page 1 of 1

Unable to access admin

Posted: Sun Mar 05, 2006 5:07 pm
by durley
Having played about with this great package (version 0.12-beta2 "Fiji") for several days, i decided to do a fresh install on a different server. Everything went well, until i try to login to the admin. It accepts the user ID and password, but doesn't redirect me to the admin screen.

The install is identical to my first install which works OK.

It simply blanks the user ID and password fields.

If i deliberately type incorrect details it shows an error message, so it is recognising the login details as being correct.

Any help much appreciated.

Thanks

Re: Unable to access admin

Posted: Sun Mar 05, 2006 6:55 pm
by jelle
So what is the difference in the server? what version of php and are nasties like safemode etc in effect?  If everything else is equal as you say, the error should lie in the environment on the server wouldn't it?
How did you do the install exactly btw?

Re: Unable to access admin

Posted: Sun Mar 05, 2006 7:15 pm
by durley
Sorry, I didn't exactly make it clear. It is on the same server under a different domain name. I ftp'd the files as before, created a blank config.php file, modified the necessary file properties, setup a database and ran the install. Everything appeared to configure correctly.

Apache 3 server, PHP Version 4.3.11, Apache Release 10334100, GD Support enabled, GD Version bundled (2.0.28 compatible).

I believe 'safemode' is used.

thanks

Re: Unable to access admin

Posted: Sun Mar 05, 2006 7:36 pm
by jelle
wouldn't it be the quickest thing to first try to do the install again? If you failed once and succeeded once i'd suspect user error :). If that does not work: check if you can reach the admin main page(admin/index.php) manually. The login info is stored in a cookie (check if you got it) so you don't need to rely on the automatic redirect.
If that does not work, check your webservers logfile for errors etc. Also check your config.php for misconfigurations.

Re: Unable to access admin

Posted: Sun Mar 05, 2006 8:48 pm
by durley
Checked error logs and found this error - [Sun Mar  5 20:31:00 2006] [error] [client 86.137.65.162] File does not exist: /home/xxxxxx/public_html/cms/admin/themes/default/css/themes/default/images/vstippled.gif

Checked file path and found vstippled.gif present on server. I don't think this path is correct, surely it should be - cms/admin/themes/default/images/vstippled.gif

Downloaded from cmsmadesimple beta 0.12 (again), unzipped into new directory and ftp'd to server after completely removing original installation. Installed, everything appeared to be OK, same problem exists, same error in error logs. As before, checked the file path and found vstippled.gif to be present on server.

The path in the error log is identical to original install, why is it creating a wrong path to the admin image? Is the path wrong, or have i got it wrong?

Confused!  ???

Re: Unable to access admin

Posted: Mon Mar 06, 2006 9:38 am
by jelle
Don't worry about the missing pictures, they will not stop the flow.

1) After trying to log in, go to amin/index.php manually. something will happen and you should be able to see this request in your acces logs. Post the last few lines here if you have trouble interpreting them.

2) Check your browser if you have recieved 3 cookies. post their details here (but xxx the passhash)

Re: Unable to access admin

Posted: Mon Mar 06, 2006 7:04 pm
by durley
Thanks for persevering with this, the error log files don't tell much as you'll see.

This entry is for /cms/admin/index.php it simply does not show an error, only the missing image file.
[Mon Mar  6 18:29:08 2006] [error] File does not exist: /home/xxxxxx/public_html/cms/admin/themes/default/css/themes/default/images/vstippled.gif

If i type in /cms/admin/admin.php it shows in the error log as you can see.
[Mon Mar  6 18:28:47 2006] [error] File does not exist: /home/xxxxxx/public_html/cms/admin/admin.php

Delete cookies daily, this is for trying to login and /admin/index.php
CMSSESSID
Content = 20fe2203a6b907d26acbedbb3f3d6359
Host www.xxx.co.uk
Path /
Send For: Any type of connection
Expires: At end of session

Hope this means something to someone

Thanks

Re: Unable to access admin

Posted: Mon Mar 06, 2006 7:34 pm
by jelle
Read my instructions again please. 'acces log' usually is something different as 'error log'.

Re: Unable to access admin

Posted: Wed Mar 29, 2006 3:39 pm
by mat123slade
Hi,

I was having exactly the same problem... And it was driving me crazy... Try emptying all files in the tmp/cache folder on the ftp server then try to log in again. That did it for me... It came as a suprise that this should work but it did... Hope it does for you. (Be carefull not ot delete contentcache.php in that same folder)

All the Best,

Re: Unable to access admin

Posted: Thu Mar 30, 2006 2:39 pm
by mat123slade
Ok, I'm having this same problem on a new install of latest version (cmsmadesimple-0.12.1) and emptying the cache isn't the solution this time... I seam to be having this trouble only on one specific server... Driving me a little crazy... I think I'll end up changing server...

Impossible to login to admin, and difficult to describe the problem in detail in order to get help... Not obvious how to correct this...