Jump to content

Cannot Log Into Admin With Correct Password


Recommended Posts

Hello everyone!

 

I have installed Prestashop 1.5

 

For a few weeks, i left it alone, and now, i cannot login anymore. I changed the pass, i also searched in php.myadmin and set the password from there.

 

it gives me no error when i enter te correct password, just doesn't log-in,

Also, when i enter a wrong password - it gives me wrong password error.

 

I looked in error_log through Cpanel or ftp and everytime i try to access admin login there is an errror:

 

 

[27-Jan-2013 18:42:45] PHP Warning:  Expiry date cannot have a year greater then 9999 in /home/x11likes/public_html/classes/Cookie.php on line 323

 

 

When i go to Cookie.php, 323 line looks like this

 

 

if (PHP_VERSION_ID <= 50200) /* PHP version > 5.2.0 */
return setcookie($this->_name, $content, $time, $this->_path, $this->_domain, 0);
else

THIS is LINE 323

 return setcookie($this->_name, $content, $time, $this->_path, $this->_domain, 0, true);
}

 

 

I tried different changes, i changed the default cookie time to 3600 instead of 172xxxxxx, i tried to skip the admin log-in, but it didn't help.

 

How can i set the expiry date lower then 9999 from ftp or cpanel???

 

Thanks

Edited by sslayer (see edit history)
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...