mobilierpr Posted September 9, 2014 Share Posted September 9, 2014 Bonjour, sous prestashop 1.6.0.4 / apache sur CentOS, j'ai 3 sites en multiboutique et depuis cette après mise à jour du module configurateur de thème et du vidage du cache, aucune page ne s'affiche désormais autrement que en 1 seule colonne, https:/edtiondesign .fr et les deux autres boutiques qui sont devenue des boutiques dupliquées de la première, https://lightsevent. com et http://mobilierprivé.com j'avoue ne pas arriver du tout à régler ce problème, je vous serais très reconnaissant de vos lumières car je suis bloqué, merci d'avance, Link to comment Share on other sites More sharing options...
hpar Posted September 9, 2014 Share Posted September 9, 2014 Bonjour, Tes sites renvoient une erreur 500. Link to comment Share on other sites More sharing options...
mobilierpr Posted September 9, 2014 Author Share Posted September 9, 2014 (edited) merci de votre réponse, oui j'ai activé le debug mode et voila le message, il semblerait qu'il s'agisse d'un module d'optimisation SEO desinstallé qui cause le problème Fatal error: Cannot redeclare class Product in /home/lightsev/public_html/override/classes/Category.php on line 57 <?php /*LIVEOPTIM*/class Category extends CategoryCore { public function __construct($id_category = NULL, $id_lang = NULL) { parent::__construct($id_category, $id_lang); if(require_once(_PS_MODULE_DIR_.'liveoptim_premium/classes/CleMKT.class.php')){ require_once dirname(__FILE__).'/../../modules/liveoptim_premium/LiveOptimToolsPremium.Prestashop.php'; require_once dirname(__FILE__).'/../../modules/liveoptim_premium/LiveOptimToolsPremium.php'; $cleMKT = new CleMKT_Premium(); $fileLO = ($cleMKT->isRestreint()?'liveoptim.php':'liveoptim_premium.php'); if(file_exists(dirname(__FILE__).'/../../modules/liveoptim_premium/classes/'.$fileLO)){ require_once dirname(__FILE__).'/../../modules/liveoptim_premium/classes/'.$fileLO; require_once dirname(__FILE__).'/../../modules/liveoptim_premium/LiveOptimToolsPremium.Prestashop.php'; require_once dirname(__FILE__).'/../../modules/liveoptim_premium/LiveOptimToolsPremium.php'; $exist=true; }else{ $exist=false; } }else{ $exist=false; } if ($exist AND $id_category==$_GET['id_category'] AND ($_GET['controller']!='AdminCategories' AND $_GET['tab']!='AdminCatalog')) { $this->description = LiveOptimToolsPremium::parse($this->description); } } } /*LIVEOPTIM*/ class Product extends ProductCore { public static function getProductsImgs($product_id) { $sql = '(SELECT * FROM `'._DB_PREFIX_.'image` WHERE id_product="'.$product_id.'" and cover=0 ORDER BY `position` LIMIT 0,1 )'; $result = Db::getInstance()->executeS($sql); if(!$result){ $sql = '(SELECT * FROM `'._DB_PREFIX_.'image` WHERE id_product="'.$product_id.'" and cover=1 ORDER BY `position` LIMIT 0,1 )'; $result = Db::getInstance()->executeS($sql); } return $result; } } Edited September 9, 2014 by flao3838 (see edit history) Link to comment Share on other sites More sharing options...
mobilierpr Posted September 9, 2014 Author Share Posted September 9, 2014 j'ai d'autres messages d'erreur après avoir désintallé le module en question Notice: Undefined variable: params in /home/lightsev/public_html/modules/blockrssmod/blockrssmod.php on line 185Warning: preg_replace(): Compilation failed: invalid range in character class at offset 24 in /home/lightsev/public_html/classes/Tools.php on line 1153 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