You are here:  » Unable to access admin panel

Support Forum



Unable to access admin panel

Submitted by speak2daryl on Mon, 2016-10-10 11:55 in

Hi David,

I am having difficulty accessing my admin page, I am entering the password I set in config.advanced.php but it keeps bringing the password box up again.

Thanks,

Daryl

Submitted by support on Mon, 2016-10-10 12:08

Hi,

The login cookie includes your IP address in the hash, so this can happen if you are behind a proxy server group that is causing your IP address to be presented differently. To avoid this from happening, edit includes/admin.php and look for the following code at line 861:

  if (isset($admin_checkPassword) && $admin_checkPassword)

...and REPLACE with:

  $_SERVER["REMOTE_ADDR"] = "127.0.0.1";
  if (isset($admin_checkPassword) && $admin_checkPassword)

Cheers,
David.
--
PriceTapestry.com