Jump to content

PrestaShopDatabaseException


valdeck

Recommended Posts

Hello, I installed this module

 

http://cyrilchalamon.fr/produit/module-de-devis-ps1-5-version-1-0/

 

to realize an estimate on my shop.

 

But when I validate my order I have this message which displays :

 

[PrestaShopDatabaseException]

Unknown column 'p1.id_orders' in 'field list'
 

			SELECT p1.id_orders+1			FROM `ps_orders` p1			LEFT JOIN `ps_orders` p2 ON p1.id_orders+1 = p2.id_orders 			WHERE p2.id_orders IS NULL 			ORDER BY p1.id_orders LIMIT 1

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

607. 			WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);608. 		}609. 		else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))610. 		{611. 			if ($sql)612. 				throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');613. 			throw new PrestaShopDatabaseException($this->getMsgError());614. 		}615. 	}616. 617. 	/**


Anybody would have a solution to this problem?

Thank you

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