Page 1 of 1

Locked out of Admin [solved]

Posted: Thu Apr 29, 2010 7:24 am
by Mury
Hi Folks - this is so boring.  I re-setup a little site I have on a new server.  I restored the old database on the the new server, then did a fresh install. All went well, I updated everything, got it all functioning etc.  Go the emails back to confirm setup and passwords etc etc.
Now when I go to log in it just sits there and looks at me - no error, no access just blanks out the submit fields.
When I try to reset the password - nothing arrives.... any ideas.  Bored bored - This is just a plaything - but Id really like to get access rather than killing everything to start again. Yes I have FTP access and PHPAdmin.
Regards

Re: Locked out of Admin

Posted: Thu Apr 29, 2010 3:08 pm
by Mury
Hi - OOOPs - OK I told a fib.
Actually it is a NEW database and a fresh install. (I have another site that was having problems with a restored database - sorry for the confusion).  But the problem with THIS install is a follows :
This one site uses a fresh database and I have selected the new database, all the configs point to the new one.
The install went smoothly and I have been working on the site.
Today it simply sits there and looks at me not even acknowledging a password reset, no error for wrong password - ZIP.
Any ideas would be great ..... Thanks

Operating system  Linux
Path to PERL /usr/bin/perl
Kernel version 2.6.33.1
cPanel Version 11.25.0-STABLE
Architecture i686
MySQL version 5.1.30
cPanel Build 44718
Path to sendmail /usr/sbin/sendmail
Dedicated Ip Address 174.120.106.251
Apache version 2.2.11
PHP version 5.2.9
cPanel Pro 1.0 (RC1) 

This is the error log :(sitename removed )
The thing that is a bit odd is that this error :  File does not exist: /home/xxxx/public_html/gmw_main was an old folder on the site
[Thu Apr 29 09:53:03 2010] [error] [client 213.89.138.192] File does not exist: /home/xxxx/public_html/404.shtml, referer: http://www.xxxx.com/stylesheet.php?cssi ... ype=screen
[Thu Apr 29 09:53:03 2010] [error] [client 213.89.138.192] File does not exist: /home/xxxxx/public_html/404.shtml, referer: http://www.xxxx.com/stylesheet.php?cssi ... ype=screen
[Thu Apr 29 09:53:03 2010] [error] [client 213.89.138.192] File does not exist: /home/xxxx/public_html/ec-image, referer: http://www.xxxx.com/stylesheet.php?cssi ... ype=screen
[Thu Apr 29 09:53:03 2010] [error] [client 213.89.138.192] File does not exist: /home/xxxx/public_html/ec-image, referer: http://www.xxxx.com/stylesheet.php?cssi ... ype=screen
[Thu Apr 29 09:25:31 2010] [error] [client 207.46.204.177] File does not exist: /home/xxxx/public_html/404.shtml
[Thu Apr 29 09:25:31 2010] [error] [client 207.46.204.177] File does not exist: /home/xxxx/public_html/gmw_main
[Thu Apr 29 09:24:50 2010] [error] [client 207.46.204.177] File does not exist: /home/xxxx/public_html/404.shtml
[Thu Apr 29 09:24:50 2010] [error] [client 207.46.204.177] File does not exist: /home/xxxx/public_html/robots.txt

Re: Locked out of Admin

Posted: Thu Apr 29, 2010 6:13 pm
by Dr.CSS
You can reset the password using this...

http://wiki.cmsmadesimple.org/index.php ... d_password

Re: Locked out of Admin

Posted: Thu Apr 29, 2010 8:28 pm
by Mury
Hi DrCSS, no that did not work - any other ideas? It still simply sits there with blank inputs after Submit.
Regards

Re: Locked out of Admin

Posted: Thu Apr 29, 2010 8:47 pm
by Jeff
My guess (and it is only a guess) is that you have a config.php or .htaccess problem and your forms aren't getting submitted it is reloading the page that is why you don't login or reset the password. Usually redirects between non-www and www or adding a trailing / are the problem.

Re: Locked out of Admin

Posted: Thu Apr 29, 2010 10:25 pm
by Mury
Hi ajprog, Thank you so much. That solved it.
I had added a rewrite to the htaccess to do a www rewrite as per the CMSMS Hints :
RewriteEngine on
RewriteCond %{HTTP_HOST} ^([a-z.]+)?sitename\.com$ [NC]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule .? http://www.%1sitename.com%{REQUEST_URI} [R=301,L]

The system obviously objected.  Since Ive installed in Root (Public HTML) I have http://sitename.com
I was trying to get Http://www.sitename.com  --- what did I do wrong ?
However I can now access the admin and reset password - Thank you.
Regards