Jump to content

Backoffice Login Problem - Prestashop 1.5 on Godaddy


Recommended Posts

Hi Everyone

 

I have just installed prestashop 1.5 using Godaddy as web host.

 

I have problem when I try to login my backoffice via google chrome but I can login via IE.

 

When I type in correct email and pwd on chrome, nothing happen.

 

Is there a way that I can login via google charome?

 

thanks!

Genie

Link to comment
Share on other sites

  • 8 months later...

Hi All,

 

I am using Prestashop 1.5.5.0 version. I am able to login to admin panel but after login when I click any link inside its redirecting back to login page.

 

I am using Godaddy Windows hosting. Is there any setting i need to do when i move to hosting because I dont have any problem when I am using it on local host.

 

The problem is only after uploading to server. I also tried a fresh installation and have the same problem.

 

Any one have a solution ? 

 

 

Thanks

 

Regish

Link to comment
Share on other sites

Hi All,

 

 

Simple Resolution - Fixed and Working Admin panel

classes/Employee.php under function public function isLoggedBack() around line 252

 

&& (!isset(Context::getContext()->cookie->remote_addr) || Context::getContext()->cookie->remote_addr == ip2long(Tools::getRemoteAddr()) || !Configuration::get('PS_COOKIE_CHECKIP'))

 

to

 
//&& (!isset(Context::getContext()->cookie->remote_addr) || Context::getContext()->cookie->remote_addr == ip2long(Tools::getRemoteAddr()) || !Configuration::get('PS_COOKIE_CHECKIP'))
 
 
In many forums its mentioned to do the change in classes/Cookie.php but I tried that and failed. Now after do the change in Employee.php my site admin panel is working.
 
Thanks
 
Regish
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...