You are here:  » Cannot login to admin area


Cannot login to admin area

Submitted by jacques24681 on Fri, 2013-05-31 10:31 in

Hi David,

My ISP are using bonded adsl, this causes that my ip changes the hole time, I cannot login to my admin area. Any suggestions?

Thanks

Submitted by support on Fri, 2013-05-31 10:39

Hello Jacques,

If you edit includes/admin.php and look for the following code at line 685:

  $remoteAddr = (isset($_SERVER["REMOTE_ADDR"])?$_SERVER["REMOTE_ADDR"]:"");

...and REPLACE with:

  $remoteAddr = "";

...that will prevent the IP address of the connection being used in the authentication token.

Cheers,
David.
--
PriceTapestry.com

Submitted by jacques24681 on Fri, 2013-05-31 21:22

Hi David

Thanks a million, I had to edit admin/login.php at line 8 as well, working perfect now.

Thanks for all the support.

Jacques