Chloé Posted June 4, 2014 Share Posted June 4, 2014 Bonjour, Après avoir transféré mon site en local vers le serveur, j'ai rencontré quelques difficultés que j'ai pu résoudre mais là je suis confrontée à une erreur que je n'arrive pas à solutionner. Lorsque je veux aller dans mes catégories, une page blanche s'affiche. J'ai donc fait la manipulation afin d'avoir le rapport d'erreur, voila ce qui s'affiche : Fatal error: Class 'Supplier' not found in .../www/controllers/front/CategoryController.php on line 132 C'est un fichier que je n'ai jamais manipulé et je ne sais pas à quoi correspond la class 'supplier'. Voilà le bout de code qui semble poser problème. $this->context->smarty->assign(array( 'category' => $this->category, 'description_short' => Tools::truncateString($this->category->description), 'products' => (isset($this->cat_products) && $this->cat_products) ? $this->cat_products : null, 'id_category' => (int)$this->category->id, 'id_category_parent' => (int)$this->category->id_parent, 'return_category_name' => Tools::safeOutput($this->category->name), 'path' => Tools::getPath($this->category->id), 'add_prod_display' => Configuration::get('PS_ATTRIBUTE_CATEGORY_DISPLAY'), 'categorySize' => Image::getSize(ImageType::getFormatedName('category')), 'mediumSize' => Image::getSize(ImageType::getFormatedName('medium')), 'thumbSceneSize' => Image::getSize(ImageType::getFormatedName('m_scene')), 'homeSize' => Image::getSize(ImageType::getFormatedName('home')), 'allow_oosp' => (int)Configuration::get('PS_ORDER_OUT_OF_STOCK'), 'comparator_max_item' => (int)Configuration::get('PS_COMPARATOR_MAX_ITEM'), 'suppliers' => Supplier::getSuppliers() )); Merci d'avance pour votre aide Link to comment Share on other sites More sharing options...
ChDUP Posted June 4, 2014 Share Posted June 4, 2014 quelle version de Prestashop ? Le fichier classes/Supplier.php est-il bien present sur votre serveur distant ? Link to comment Share on other sites More sharing options...
Chloé Posted June 4, 2014 Author Share Posted June 4, 2014 Version prestashop_1.5.6.2 En effet, le fichier supplier.php était manquant sur le serveur distant. Cependant, après transfert du fichier, cette "fatal error" est toujours présente Link to comment Share on other sites More sharing options...
ChDUP Posted June 4, 2014 Share Posted June 4, 2014 peut être faut-il vider le cache. Je vous conseille de tout renvoyer, si celui-ci etait manquant, il en manque peut être d'autres. Link to comment Share on other sites More sharing options...
Chloé Posted June 4, 2014 Author Share Posted June 4, 2014 Très bien, je vais essayer tout ça 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