Author Topic: Upgraded and now I can't login with the correct password  (Read 1957 times)

don1r

  • Posts: 5
    • View Profile
Upgraded and now I can't login with the correct password
« on: December 01, 2006, 04:40:43 pm »
Hello Dean,

I just upgraded from v1.77 to v1.87d and I waited until the database update was completed, but when I try to login at login.php my password is accepted (I am shown the message Admin logged in, proceed.) but then I am sent to login.php?r=editlists.php where I am asked to enter my admin password again and it just keeps repeating this over and over again.  How do I fix this problem?

Don

P.S. My server is using PHP version 4.4.4

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Upgraded and now I can't login with the correct password
« Reply #1 on: December 02, 2006, 05:30:01 pm »
Greetings,

Has this since resolved itself?  Have you tried clearing the cookies for your ListMail domain or using another browser?  If you still can't get in please feel free to submit a bug report here.

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

don1r

  • Posts: 5
    • View Profile
Upgraded and now I can't login with the correct password
« Reply #2 on: December 02, 2006, 08:26:00 pm »
Hi Dean,

I have deleted cookies and also tried switching web browsers from IE to Firefox but the problem still persists, so I have filled out a bug report.

Don

funston

  • Posts: 29
    • View Profile
Unable to login after upgrade
« Reply #3 on: December 03, 2006, 01:50:30 pm »
03 December 2006 16:51:06 Central Standard Time
Dear Dean,

I have the very same problem. Has a solution been found?
The apache error log gives a php notice of undefined variable and mentions line 54 inside config.php, the line that has the word adminpw ==
Is it possible that php.ini needs something special turned on? Like magic quotes or something?

PHP Notice:  Undefined variable: adminpw in /config.php on line 54
referer: /login.php?r=editconf.php

I'm using PHP Version 4.3.11

Tanks beforehand!

Frank Eckdall
PD Update
I went into the datebase and corrected the lm_config table by filling in the erroneous data manually. Now I don't see the PHP notice of undefined variable or any mention of line 54 inside config.php
I am able to login with correct password but ListMail still remains stuck at the login screen, ie Listmail accepts password, "Admin logged in, proceed" but stays stuck at the login page.

I have tried again installing with virgin install but it stays stuck on login page.

What could be causing it to hang at the login page?

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Upgraded and now I can't login with the correct password
« Reply #4 on: December 04, 2006, 09:32:50 pm »
This should fix it:

In login.php do a search for "setcookie".  The following modifications should be made in each (2 line) result:
Code: [Select]
setcookie ('LMadm1','',time()-2592000);
 setcookie ('LMadm2','',time()-2592000);

Code: [Select]
 setcookie ('LMadm1','',time()-2592000);
  setcookie ('LMadm2','',time()-2592000);

Code: [Select]
 setcookie('LMadm1',md5($instid));
  setcookie('LMadm2',md5($adminpw));

Please let me know if you continue to have troubles.

This fix will be included in all future updates.

Regards, DW
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting