Cant login to admin after transferring site

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

Cant login to admin after transferring site

Post by elliot »

Hello Everybody.
I have just transferred a site I built on my local webserver to an online server using the instructions in the documentation. The site works perfectly but I cant login to the admin.

I have tried resetting the password using the sql command (UPDATE `cms_users` SET PASSWORD = md5('admin') WHERE user_id =1;) but no joy.

The only other important thing to note is that entering either a correct login or an incorrect one doesn't throw up the red incorrect username / password text - it just seems to reload the page.

Any help would be much appreciated - im in the s**t!

ps its version 1.3.1

pps. Ive tried some solutions from further down this forum without luck, namely:
1.renaming the admin folder and updating config file
2. adding this to include.php: $dirname = dirname(__FILE__);
session_set_cookie_params(0 , '/', $_SERVER['HTTP_HOST']);
session_save_path($dirname.'/tmp/cache');

*EDIT*

I have installed the latest version of CMSMS in a directory on the same server and all is working fine - so my server is OK.
Last edited by elliot on Fri Aug 15, 2008 12:48 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Cant login to admin after transferring site

Post by Dr.CSS »

Are you sure all paths in config.php are correct, look at new install that worked to tell how it may need to be, I've used that trick before to get it going, also can run install but DON'T MAKE TABLES as it asks when putting DB info in, 2 checks at bottom uncheck them, this will let you make new/same user name and password and get it to DB...
elliot

Re: Cant login to admin after transferring site

Post by elliot »

Mark, thanks very much for the reply - ive been off work for a week but as soon as I get sorted out ill give this a try.
Locked

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