Jump to content

[solucionado] Unknown column 'id_shop' in 'where clause'


ivanson7

Recommended Posts

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` = 1

at 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.     /**
Edited by ivanson7 (see edit history)
Link to comment
Share on other sites

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

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