airmouss Posted July 19, 2015 Share Posted July 19, 2015 Bonjour, J'ai plein d'erreurs quand je me connecte dans ma boutique. C'est peut être suite à une mis à jour de mes modules que mon site est devenu ainsi Merci beaucoup pour votre aide version : 1.6.0.9 Bien cordialement www.clesouk.com [PrestaShopDatabaseException]Unknown column 'cl.id_shop' in 'where clause' SELECT cl.`meta_title`, cl.`link_rewrite` FROM `pss_cms_lang` cl INNER JOIN `pss_cms` c ON (cl.`id_cms` = c.`id_cms`) WHERE cl.`id_cms` = 3 AND (c.`active` = 1 OR c.`id_cms` = 1) AND cl.`id_shop` = 1 AND cl.`id_lang` = 2 LIMIT 1at line 635 in file classes/db/Db.php 629. WebserviceRequest::getInstance()->setError(500, ' '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);630. }631. else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))632. {633. if ($sql)634. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');635. throw new PrestaShopDatabaseException($this->getMsgError());636. }637. }638.639. /** DbCore->displayError - [line 325 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 547 - classes/db/Db.php] - [1 Arguments] DbCore->getRow - [line 325 - modules/blockcms/BlockCMSModel.php] - [1 Arguments] BlockCMSModel::getCMSMetaTitle - [line 279 - modules/blockcms/BlockCMSModel.php] - [1 Arguments] BlockCMSModel::getCMSTitlesFooter - [line 861 - modules/blockcms/blockcms.php] BlockCms->hookFooter - [line 509 - classes/Hook.php] - [1 Arguments] HookCore::exec - [line 811 - classes/controller/FrontController.php] - [1 Arguments] FrontControllerCore->initFooter - [line 185 - classes/controller/Controller.php] ControllerCore->run - [line 373 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] Link to comment Share on other sites More sharing options...
joseantgv Posted July 21, 2015 Share Posted July 21, 2015 Execute this query: ALTER TABLE `ps_cms_lang` ADD `id_shop` int NOT NULL DEFAULT 1 AFTER `id_lang` Link to comment Share on other sites More sharing options...
J. Danse Posted July 22, 2015 Share Posted July 22, 2015 Je viens de proposer le correctif chez PrestaShop: https://github.com/PrestaShop/blockcms/pull/16 Link to comment Share on other sites More sharing options...
airmouss Posted July 26, 2015 Author Share Posted July 26, 2015 Bonjour, Je viens de supprimer le module blockcms que j'ai remplacer par un blockcms que j'ai télécharger sur le site de prestashop . En effet, avec ma méthode j'ai réussi à résoudre plain de problème . Cependant, il me reste les messages d'erreurs ci-dessous . Pouvez-vous me donner une solution afin de résoudre ce problème s'il vous plait ? Très cordialement Le voici : Notice: Use of undefined constant _PS_PRICE_COMPUTE_PRECISION_ - assumed '_PS_PRICE_COMPUTE_PRECISION_' in /home/clesoukcck/www/modules/socialsharing/socialsharing.php on line169Warning: round() expects parameter 2 to be long, string given in /home/clesoukcck/www/classes/Tools.php on line 1592Notice: Use of undefined constant _PS_PRICE_COMPUTE_PRECISION_ - assumed '_PS_PRICE_COMPUTE_PRECISION_' in /home/clesoukcck/www/modules/socialsharing/socialsharing.php on line170Warning: round() expects parameter 2 to be long, string given in /home/clesoukcck/www/classes/Tools.php on line 1592 Quel est la solution s'il vous plait ? Cordialement Link to comment Share on other sites More sharing options...
joseantgv Posted July 27, 2015 Share Posted July 27, 2015 Bonjour, Je viens de supprimer le module blockcms que j'ai remplacer par un blockcms que j'ai télécharger sur le site de prestashop . En effet, avec ma méthode j'ai réussi à résoudre plain de problème . Cependant, il me reste les messages d'erreurs ci-dessous . Pouvez-vous me donner une solution afin de résoudre ce problème s'il vous plait ? Très cordialement Le voici : Notice: Use of undefined constant _PS_PRICE_COMPUTE_PRECISION_ - assumed '_PS_PRICE_COMPUTE_PRECISION_' in /home/clesoukcck/www/modules/socialsharing/socialsharing.php on line169 Warning: round() expects parameter 2 to be long, string given in /home/clesoukcck/www/classes/Tools.php on line 1592 Notice: Use of undefined constant _PS_PRICE_COMPUTE_PRECISION_ - assumed '_PS_PRICE_COMPUTE_PRECISION_' in /home/clesoukcck/www/modules/socialsharing/socialsharing.php on line170 Warning: round() expects parameter 2 to be long, string given in /home/clesoukcck/www/classes/Tools.php on line 1592 Quel est la solution s'il vous plait ? Cordialement Module socialsharing causes these warnings, not errors. Disable errors and they will be hidden or contact module developer. Link to comment Share on other sites More sharing options...
claude83 Posted August 24, 2015 Share Posted August 24, 2015 Bonjour J'ai exactement le même problème sur la quasi totalité de mes produits depuis que j'ai créé une nouvelle catégorie de clients. Notice: Use of undefined constant _PS_PRICE_COMPUTE_PRECISION_ - assumed '_PS_PRICE_COMPUTE_PRECISION_' in /home/ferforgeso/www/modules/socialsharing/socialsharing.php on line 170Warning: round() expects parameter 2 to be long, string given in /home/ferforgeso/www/classes/Tools.php on line 1592Notice: Use of undefined constant _PS_PRICE_COMPUTE_PRECISION_ - assumed '_PS_PRICE_COMPUTE_PRECISION_' in /home/ferforgeso/www/modules/socialsharing/socialsharing.php on line 171Warning: round() expects parameter 2 to be long, string given in /home/ferforgeso/www/classes/Tools.php on line 1592 Si quelqu'un a une idée, il sera le bienvenu Merci d'avance Claude 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