Jump to content

(solved) Cain't connect to back office when ps mode dev set on true?


Recommended Posts

Hello I recently messed up my backups I'm learninthe hard way, I had password problem that I though I fixed but now I still cain't connect to the back office when i set define('_PS_MODE_DEV_', true

what can I do to fix this?

 

Unknown column 'last_connection_date' in 'where clause'
 

			UPDATE `ps_employee`			SET `last_connection_date` = CURRENT_DATE()			WHERE `id_employee` = 1 AND `last_connection_date`< CURRENT_DATE()		

at line 639 in file classes/db/Db.php

634. 			WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);635. 		}636. 		elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))637. 		{638. 			if ($sql)639. 				throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');640. 			throw new PrestaShopDatabaseException($this->getMsgError());641. 		}642. 	}643. 644. 	/**
Edited by David Dotou (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...