wobiii Posted October 1, 2014 Share Posted October 1, 2014 (edited) Bonsoir, J'ai une erreur suite à un changement de domaine. Lorsque j'essaie d’accéder au catalogue en back office. Le catalogue est toutefois bien accessible en front office. Pas d'autres problèmes rencontrés. Fatal error: Class 'AdminProductsControllerCore' not found in /var/www/clients/client1/web14/web/override/controllers/admin/AdminProductsController.php on line 23 Contenu du fichier en question (tel qu'il était avant le changement de domaine lorsque tout fonctionnait.) J'ai déjà essayé d'ajouter la balise "?>" tout à la fin car il semble qu'elle est manquante... mais cela ne change rien. <?php /** * Product Videos Module * 2007-2013 logicalit.com * NOTICE OF LICENSE * * Copy Right, all rights reserved: logicalit.com * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customise this module for your * needs please contact http://www.logicalit.com/contact-us/ * * @author logicalit.com * @copyright 2007-2013 logicalit.com * @version Release: $Revision: 1.5 * @license http://www.logicalit.com/shop/en/content/3-terms-and-conditions-of-use */ require_once(_PS_MODULE_DIR_.'productvideos/classes/ProductVideosClass.php'); class AdminProductsController extends AdminProductsControllerCore { public function ajaxProcessDeleteProductVideo() { if ($this->tabAccess['delete'] === '1') { $id_product_video = (int)Tools::getValue('id_product_video'); $product_video = new ProductVideosClass((int)$id_product_video); if (!$product_video->delete()) $json = array( 'status' => 'error', 'message' => $this->l('Error. Invalid Product Video ID.')); else $json = array( 'status' => 'ok', 'message' => $this->l('Success. Product Video Deleted.') ); die(Tools::jsonEncode($json)); } } public function ajaxProcessEditProductVideo() { if ($this->tabAccess['edit'] === '1') { $id_product_video = (int)Tools::getValue('id_product_video'); $sql = 'SELECT title,caption FROM `'._DB_PREFIX_.'li_product_video_lang` pvl WHERE pvl.`id_li_product_video` = '.$id_product_video; $result = Db::getInstance()->ExecuteS($sql); die(Tools::jsonEncode($result)); } } } Une piste ? Merci pour votre aide précieuse. Edited October 2, 2014 by pimentervotreplaisir (see edit history) Link to comment Share on other sites More sharing options...
coeos.pro Posted October 1, 2014 Share Posted October 1, 2014 as tu essayé de le retransférer via ftp ? Link to comment Share on other sites More sharing options...
wobiii Posted October 1, 2014 Author Share Posted October 1, 2014 Merci pour ta réponse Je pensais qu'il s’agissait peut être que d'un petit problème de syntaxe dans le fichier concerné. Si ce n'est pas le cas, recommencer le transfert semble en effet être la première étape. Link to comment Share on other sites More sharing options...
wobiii Posted October 2, 2014 Author Share Posted October 2, 2014 Résolu en retransférant l'intégralité des fichiers. 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