isabelle75011 Posted August 19, 2013 Share Posted August 19, 2013 bonjour j'ai le même problème depuis plusieurs heures suite à l'essais d'installation d un module, l'acces front of ou back offoce affiche erreurr 500. j'ai modifié le fichier _PS_MODE_DEV_', true ce qui donne Fatal error: Class 'Link' not found in /homez.724/htdeco/www/config/config.inc.php on line 19 quelqu'un saurait il m'aider ? merci marc Link to comment Share on other sites More sharing options...
coeos.pro Posted August 19, 2013 Share Posted August 19, 2013 tu peux nous donner le code de ce fichier (jusqu'à la ligne 20 si il est trop long) Link to comment Share on other sites More sharing options...
isabelle75011 Posted August 19, 2013 Author Share Posted August 19, 2013 Voici le code du fichier defines.inc /* * 2007-2013 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * 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 customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2013 PrestaShop SA * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ /* Debug only */ define('_PS_MODE_DEV_', false); if (_PS_MODE_DEV_) { @ini_set('display_errors', 'on'); define('_PS_DEBUG_SQL_', true); /* Compatibility warning */ define('_PS_DISPLAY_COMPATIBILITY_WARNING_', true); } else { @ini_set('display_errors', 'off'); define('_PS_DEBUG_SQL_', false); /* Compatibility warning */ define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false); } define('_PS_DEBUG_PROFILING_', false); define('_PS_MODE_DEMO_', false); $currentDir = dirname(__FILE__); if (!defined('PHP_VERSION_ID')) { $version = explode('.', PHP_VERSION); define('PHP_VERSION_ID', ($version[0] * 10000 + $version[1] * 100 + $version[2])); } /* Directories */ define('_PS_ROOT_DIR_', realpath($currentDir.'/..')); define('_PS_CLASS_DIR_', _PS_ROOT_DIR_.'/classes/'); define('_PS_CONTROLLER_DIR_', _PS_ROOT_DIR_.'/controllers/'); define('_PS_FRONT_CONTROLLER_DIR_', _PS_ROOT_DIR_.'/controllers/front/'); define('_PS_ADMIN_CONTROLLER_DIR_', _PS_ROOT_DIR_.'/controllers/admin/'); define('_PS_OVERRIDE_DIR_', _PS_ROOT_DIR_.'/override/'); define('_PS_TRANSLATIONS_DIR_', _PS_ROOT_DIR_.'/translations/'); define('_PS_DOWNLOAD_DIR_', _PS_ROOT_DIR_.'/download/'); define('_PS_MAIL_DIR_', _PS_ROOT_DIR_.'/mails/'); define('_PS_PDF_DIR_', _PS_ROOT_DIR_.'/pdf/'); define('_PS_ALL_THEMES_DIR_', _PS_ROOT_DIR_.'/themes/'); define('_PS_IMG_DIR_', _PS_ROOT_DIR_.'/img/'); if (!defined('_PS_MODULE_DIR_')) define('_PS_MODULE_DIR_', _PS_ROOT_DIR_.'/modules/'); Link to comment Share on other sites More sharing options...
isabelle75011 Posted August 19, 2013 Author Share Posted August 19, 2013 j'éclairci un peu: je n'ai pas accès à mon site par le back office ni au front office. affichage d'une page erreur 500 pour connaitre l'erreur, j'ai vu qu'il fallait modifier le fichier defines.inc , ligne _PS_MODE_DEV_', false par _PS_MODE_DEV_', true en allant sur le back office ou sur www.nomdedomaine.fr cela donne: Fatal error: Class 'Link' not found in /homez.724/htdeco/www/config/config.inc.php on line l'erreur est survenue après avoir supprimé un module que j'avais installé et qui était non compatible 1.5.4 Merci 1 Link to comment Share on other sites More sharing options...
coeos.pro Posted August 19, 2013 Share Posted August 19, 2013 l'erreur est survenue après avoir supprimé un module que j'avais installé et qui était non compatible 1.5.4 OK, ce module à du installer/modifier un fichier qui maintenant fait tout planter, ton module contient un fichier module.php qui contient une fonction install, regarde ce quelle contient tu trouvera la solution 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