Jump to content

Cannot log into Admin but do not get error


Recommended Posts

I installed Prestashop V1.4.7.0 yesterday without issue. I came back today to do more work on the site and could not log into Admin back office. It does not give me an error - it simply returns me back to the login page. The site is hosted with Heart Internet in the UK, who I host many sites with (Joomla powered) without problems.

 

I've researched these and other forums, and have so far tried the following:

 

1. Cleared browser cache in Chrome

2. Tried logging in using Firefox

3. Cleared the /tools/smarty/cache and /tools/smarty/compile folders

4. Removed the following from the /classes/cookie.php file:

 

AND (!isset($this->_content['remote_addr']) OR $this->_content['remote_addr'] == ip2long(Tools::getRemoteAddr()) OR !Configuration::get('PS_COOKIE_CHECKIP'))

 

5. Reduced the cookie expiry time (as apparently IE can have issues with longest time cookies) : inclasses/Cookie.php constructor,

 

set : $this->_expire = isset($expire) ? (int)($expire) : (time() + 3600);

 

6. Used an MD5 generator to create a new string (based on what I believed to be the password). The hash string was different to the one stored in the database. When I tried to log in it gave me an incorrect password message. I reverted it to the previous MD5 string

 

7. I tried to log in on a completely different computer. No luck.

 

In all browsers with clean cache I cannot log in.

 

This is extremely worrying given that this is my first experience of Presta Shop. I don't want to put in weeks or months of work to get this site live only to find that I can't log into it!

 

Can anyone offer advice on what else I can try?

Link to comment
Share on other sites

  • 3 weeks later...

update: this cookie bug somehow fixed itself, after 2 days i can login again

 

--

 

thanks for your suggestion mate

 

i still used 1.4.7.3

now upgrading to 1.5.2 in localhost first

for checking theme compatibility

 

then i will use the new version asap

 

cheers

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...