Jump to content

Recommended Posts

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

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

j'éclairci un peu:

  1. je n'ai pas accès à mon site par le back office ni au front office. affichage d'une page erreur 500
  2. 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
  3. l'erreur est survenue après avoir supprimé un module que j'avais installé et qui était non compatible 1.5.4

Merci

  • Like 1
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...