ivanson7 Posted June 1, 2015 Share Posted June 1, 2015 (edited) Hola, tengo un problema con mi CMS ya que me carga las paginas en blanco y cuando activo el modo debug me sale esto [PrestaShopDatabaseException] Unknown column 'id_shop' in 'where clause' SELECT * FROM `ps_cms_category_lang` WHERE `id_cms_category` = 1 AND `id_shop` = 1at line 646 in file classes/db/Db.php 641. WebserviceRequest::getInstance()->setError(500, ' '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);642. }643. elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))644. {645. if ($sql)646. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');647. throw new PrestaShopDatabaseException($this->getMsgError());648. }649. }650.651. /** DbCore->displayError - [line 340 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 516 - classes/db/Db.php] - [1 Arguments] DbCore->executeS - [line 240 - classes/ObjectModel.php] - [1 Arguments] ObjectModelCore->__construct - [line 43 - controllers/admin/AdminCmsContentController.php] - [1 Arguments] AdminCmsContentControllerCore->__construct - [line 135 - classes/controller/Controller.php] - [2 Arguments] ControllerCore::getController - [line 366 - classes/Dispatcher.php] - [1 Arguments] DispatcherCore->dispatch - [line 54 - admin/index.php] Edited July 28, 2015 by ivanson7 (see edit history) Link to comment Share on other sites More sharing options...
ventura Posted June 1, 2015 Share Posted June 1, 2015 Que version de Prestashop tienes instalada. ¿? Revisa tu base de datos para ver si efectivamente falta ese campo en esa tabla Link to comment Share on other sites More sharing options...
ivanson7 Posted June 1, 2015 Author Share Posted June 1, 2015 Hola Tengo la ultima 1.6.14 Creo que puede ser lo que dices, si entro a ps_cms_category_lang veo que esta id_cms_category pero no veo que este la de id_shop. Las que tengo son id_cms_category id_lang name description link_rewrite meta_tittle meta_keywords meta_description Link to comment Share on other sites More sharing options...
ivanson7 Posted June 1, 2015 Author Share Posted June 1, 2015 Ya agregue id_shop, y ahora no da error, lo unico que me carga las paginas en blanco :S Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now