bierglutenvrij Posted February 8, 2015 Share Posted February 8, 2015 (edited) Ik werk met 1.6.0.11 en heb het gevoel dat ik van fout naar fout hobbel. Veel fouten kunnen weer opgelost worden via het zoeken in de forum pagina's, maar echt soepel gaat het niet. Nu weer de volgende fout: na het maken van een nieuwe CMS pagina in de backoffice is deze opgeslagen en keer ik terug in het categorie scherm......waar ik vervolgens geen enkele aangemaakte CMS pagina meer zie staan. In de frontoffice zie ze echter wel terug....ra ra hoe kan dat ineens? Na het aanzetten van de Debug zie ik de volgende melding: [PrestaShopDatabaseException] Column 'position' in where clause is ambiguous SELECT SQL_CALC_FOUND_ROWS b.*, a.* , a.position FROM `ps_cms` a LEFT JOIN `ps_cms_lang` b ON (b.`id_cms` = a.`id_cms` AND b.`id_lang` = 2) LEFT JOIN `ps_cms_category` c ON (c.`id_cms_category` = a.`id_cms_category`) WHERE 1 AND c.id_cms_category = 1 AND `position` LIKE '%4%' ORDER BY `position` desc LIMIT 0,50 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. /** DbCore->displayError - [line 333 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 509 - classes/db/Db.php] - [1 Arguments] DbCore->executeS - [line 2930 - classes/controller/AdminController.php] - [3 Arguments] AdminControllerCore->getList - [line 2080 - classes/controller/AdminController.php] - [1 Arguments] AdminControllerCore->renderList - [line 254 - controllers/admin/AdminCmsController.php] AdminCmsControllerCore->renderList - [line 117 - controllers/admin/AdminCmsContentController.php] AdminCmsContentControllerCore->initContent - [line 180 - classes/controller/Controller.php] ControllerCore->run - [line 374 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 54 - admin/index.php] Er zit dus ergens iets in de SQL fout...... Groeten Rob Edited February 8, 2015 by bierglutenvrij (see edit history) Link to comment Share on other sites More sharing options...
bierglutenvrij Posted February 8, 2015 Author Share Posted February 8, 2015 Oplost door alle cookies te verwijderen! Kan echter niet echt de vinger er op leggen hoe deze fout optrad...... 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