Part of the EllisLab Network
pMachine Pro has been replaced by ExpressionEngine, our full featured web publishing solution. Please consider upgrading.
You can download pMachine Pro here: Download pMachine Pro  |  Download Language Packs
   
 
couldn’t log in, so…
Posted: 10 March 2005 04:31 PM   [ Ignore ]  
Grad Student
Rank
Total Posts:  35
Joined  2004-03-03

I did a fresh install of pMachinePro 2.4 on IIS.  For some reason I could not log in to the control panel.  If I supplied the wrong user/pass, I’d get a message to that effect in red.  If I supplied the correct user/pass, I’d just get presented with the login form again.

After tracing through some code (I won’t go into detail) I added &use_session_id=0 to line 166 of pm/index.php so that it now reads,

return header("location:index$sfx?sx=$sx&use_session_id=0");

And now, it works.

Or, I suppose I could have turned on use_session_id in config.php.  Why doesn’t it just do that by default?  Or at least have the install script ask.

Profile
 
 
Posted: 10 March 2005 04:47 PM   [ Ignore ]   [ # 1 ]  
Grad Student
Rank
Total Posts:  35
Joined  2004-03-03

uh, now i can’t log in with or without the above hack.  hmmmmm.  I get the same problem as above.

Can’t log in with or without use_session_id being set in config.php either.

Again, not getting a ‘wrong pass’ error message, just getting the login form again.

:(

Profile
 
 
Posted: 10 March 2005 04:52 PM   [ Ignore ]   [ # 2 ]  
Grad Student
Rank
Total Posts:  35
Joined  2004-03-03

also, when i reset my password, the link that appears in the email is messed up. 

The sentence following the url begins with “Your password will...”, but the link extends over the word “your”.  So I have to do some copy/pasting to get the right link into my browser.

This is quickly becoming an Installation post, not a Tips N Tricks post smile

Profile
 
 
Posted: 10 March 2005 04:55 PM   [ Ignore ]   [ # 3 ]  
Grad Student
Rank
Total Posts:  35
Joined  2004-03-03

looking at the header it looks like it’s just a plain text email, so i guess the problem is there’s no space between the link and “Your”,

admin,To reset your password, please go to the following page:http://mydomain.com/apps/pMachine/members/members.php?p=pwreset&id=304614200Your password will be automatically reset, and a new password will be emailed to you.If you do not wish to reset your password, ignore this message. It will expire in 24 hours.

Profile
 
 
Posted: 10 March 2005 04:57 PM   [ Ignore ]   [ # 4 ]  
Grad Student
Rank
Total Posts:  35
Joined  2004-03-03

same thing with the password email that arrives after i paste the appropriate link, the password runs into the word “Once”,

admin,Your username is: adminYour new password: oSbhEBicOGCQOnce you log-in, you can change the password ...

Profile
 
 
Posted: 10 March 2005 05:35 PM   [ Ignore ]   [ # 5 ]  
Grad Student
Rank
Total Posts:  35
Joined  2004-03-03

i left my hack above in there when i changed my config.php, oops.  Now I’m in with use_session_id turned on in config.php , and the above hack removed.

But for the record : can’t get it to work without sessions.  Related thread,

http://www.pmachine.com/forum/threads.php?id=28833_0_15_0_C

Profile
 
 
Posted: 10 March 2005 05:35 PM   [ Ignore ]   [ # 6 ]  
Grad Student
Rank
Total Posts:  35
Joined  2004-03-03

thanks everyone for your responses hahaha

Profile
 
 
Posted: 10 March 2005 07:14 PM   [ Ignore ]   [ # 7 ]  
Grad Student
Rank
Total Posts:  35
Joined  2004-03-03

regarding my email problem above,

http://www.pmachine.com/forum/threads.php?id=29538_0_5_0_C

Profile
 
 
Posted: 10 March 2005 07:35 PM   [ Ignore ]   [ # 8 ]  
Grad Student
Rank
Total Posts:  35
Joined  2004-03-03

or i could trouble myself to link it,

http://www.pmachine.com/forum/threads.php?id=29538_0_5_0_C

Profile
 
 
Posted: 10 March 2005 10:25 PM   [ Ignore ]   [ # 9 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  9868
Joined  2002-06-19

Sounds kind of like this Knowledge-Blog entry:

I’m on a Windows server and the Control Panel login doesn’t work.

 Signature 

Chris Curtis
chriscurtis.org

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 233, on December 18, 2007 12:04 AM
Total Registered Members: 60705 Total Logged-in Users: 0
Total Topics: 73150 Total Anonymous Users: 0
Total Replies: 394532 Total Guests: 44
Total Posts: 467682    
Members ( View Memberlist )
Active Members: