Can’t log in after db restore
Posted: 23 March 2005 09:58 AM   [ Ignore ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  962
Joined  12-20-2002

Yesterday I had to move an EE site under development onto another server running not Apache but IIS. I managed to do so by backing up via EE and restoring via myphpadmin and all seemed to be working, but today I can’t log into the site.

What happens is that when I enter the correct username and password I get the login screen again but without an error message such as “The username you submitted was not found in the database.” or “The password you submitted was not correct.”

 Signature 

Who ain’t a slave? - Ishmael

Profile
 
 
Posted: 23 March 2005 10:13 AM   [ Ignore ]   [ # 1 ]  
Lab Assistant
RankRank
Total Posts:  147
Joined  06-26-2004

Just guessing…

That sounds like a cookie problem. Probably the cookie domain. Since you can’t get into the CP to set it, you’ll probably have to edit your config.php.

Profile
 
 
Posted: 23 March 2005 10:30 AM   [ Ignore ]   [ # 2 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  962
Joined  12-20-2002

Sounds like you’ve done this before. Can you elaborate?

 Signature 

Who ain’t a slave? - Ishmael

Profile
 
 
Posted: 23 March 2005 10:48 AM   [ Ignore ]   [ # 3 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  962
Joined  12-20-2002

That is, how do I edit my config.php for this?

 Signature 

Who ain’t a slave? - Ishmael

Profile
 
 
Posted: 23 March 2005 01:52 PM   [ Ignore ]   [ # 4 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  151
Joined  11-25-2003

http://www.pmachine.com/forum/threads.php?id=28589_0_19_0_C

Consult the Knowledge Forum for the 7 easy steps for changing a host as per LJ.  In CP>Admin>Security try changing admin and users to session only.  Alway double check config permssions and make sure that is is write enabled.

Good luck from one who has been there.

 Signature 

Doug Fisk
IT3, Firestone Grp
aka Webscribe2
running ExpressionEngine 1.6.1 build 20071204 with, Tags module, MSM. Gallery and Discussion Forum 2.0 hosted by sonic.net in Santa Rosa, CA.
URL: legacyjournal.info

Profile
 
 
Posted: 23 March 2005 03:04 PM   [ Ignore ]   [ # 5 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  9868
Joined  06-19-2002

Knowledge-Blog: I can’t log into the Control Panel on my Windows-based server

 Signature 

Chris Curtis
chriscurtis.org

Profile
 
 
Posted: 24 March 2005 03:59 AM   [ Ignore ]   [ # 6 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  962
Joined  12-20-2002

Aha! Thanks, my mistake for missing this, a kiss to Chris! Works fine now.

 Signature 

Who ain’t a slave? - Ishmael

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64978 Total Logged-in Users: 24
Total Topics: 82017 Total Anonymous Users: 18
Total Replies: 440817 Total Guests: 174
Total Posts: 522834    
Members ( View Memberlist )