Jump to content

Bug inopiné du lien de fichier de config


Recommended Posts

Bonjour à tous !

Depuis ce matin mon site est inaccessible avec comme message d'erreur le suivant

require(dirname(__FILE__).'/config/config.inc.php'); Dispatcher::getInstance()->dispatch();

Je n'ai pas fais de mise à jour ni d'installation de modules avant ce bug ! Juste de la modification de quantité produits (mais qui je pense n'a rien à voir)

J'ai fais pas mal de recherche, j'ai vérifié que le fichier était bel et bien là ! Que le chemin était le bon ! J'ai regardé aussi au niveau des droits d'accès des dossiers mais je ne trouve pas la solution ! J'ai contacté l'hébergeur il me dit que RAS de son côté ! J'ai testé le mode debug !

Si quelqu'un à une idée... Je suis preneur !

 

Version de MySQL 5.1.41

Version du logiciel serveur Apache

Version de PHP 5.6.40

Version de PrestaShop 1.6.1.20

Edited by master pity (see edit history)
Link to comment
Share on other sites

Bonjour,

 

Merci d'avoir pris le temps de me lire et de répondre.

Je n'avais que ça et une phrase de légende de Prestashop sur une page blanche :

* @copyright 2007-2017 PrestaShop SA * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ require(dirname(__FILE__).'/config/config.inc.php'); Dispatcher::getInstance()->dispatch();

 

Mais maintenant j'ai carrément ça :

 

 

Gateway Time-out

The gateway did not receive a timely response from the upstream server or application.

Apache Server at www.vin-de-copains.fr Port 80

 

Link to comment
Share on other sites

Il y a 1 heure, master pity a dit :

* @copyright 2007-2017 PrestaShop SA * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ require(dirname(__FILE__).'/config/config.inc.php'); Dispatcher::getInstance()->dispatch();

Si tout était sur la même ligne ce n'est pas normal, vous avez eu un souci de transfert de fichier.

Normalement le fichier index.php se présente comme ça:

<?php
/*
* 2007-2016 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-2016 PrestaShop SA
*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*/

require(dirname(__FILE__).'/config/config.inc.php');
Dispatcher::getInstance()->dispatch();

 

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...