Jump to content

Recommended Posts

Bonjour à tous.

J´étais en en trainde créer mon site, tout allait bien, Presta 1.7.6.1. Après deux jours de pause, je tape l´URL, ocemar.net et je tombe sur :

 

Future home of something quite cool.

If you're the site owner, log in to launch this site

If you are a visitor, check back soon.

Je suis rentré dans le Cpannel de mon hébergeur (Godaddy) et j´ai supprimé un fichier "Mon blog" qui se trouvait dans l´application WordPress. Je n´étais jamais entré dans cette aplli. Je ne sais aps comment WordPress s´est emparé de mon site. J´étais tranquille avec Prestashop.

J´ai toujours accès à mon Back Office.

Que dois-je faire pour retrouver mon site avec Prestashop ?

Un grand merci à  la communauté.

Bachir

Link to comment
Share on other sites

Le lien : www.ocemar.net

Au début quand je suis entré, je suis tombé sur :

Hello World!

Welcom to WordPress. This is your first post. Edit or delete it, then start blogging.

Alors que j´ai jamais activé de WordPress, dans le Cpanel de Goddady, je ne suis jamais entré dans l´appli WordPress.

A toute...

Link to comment
Share on other sites

Il ressemble plutôt à ca :

 

<?php
/**
 * 2007-2019 PrestaShop and Contributors
 *
 * 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:
 * https://opensource.org/licenses/OSL-3.0
 * 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 https://www.prestashop.com for more information.
 *
 * @author    PrestaShop SA <[email protected]>
 * @copyright 2007-2019 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
 * International Registered Trademark & Property of PrestaShop SA
 */

require_once 'install_version.php';

if (
    !defined('PHP_VERSION_ID') // PHP_VERSION_ID is available since 5.2.7
    || PHP_VERSION_ID < _PS_INSTALL_MINIMUM_PHP_VERSION_ID_
    || !extension_loaded('SimpleXML')
    || !extension_loaded('zip')
    || !is_writable(
        __DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'var'.DIRECTORY_SEPARATOR.'cache'
    )
) {
    require_once dirname(__FILE__).'/missing_requirement.php';
    exit();
}

require_once dirname(__FILE__).DIRECTORY_SEPARATOR.'init.php';
require_once(__DIR__).DIRECTORY_SEPARATOR.'autoload.php';

try {
    require_once _PS_INSTALL_PATH_.'classes'.DIRECTORY_SEPARATOR.'controllerHttp.php';
    require_once _PS_INSTALL_PATH_.'classes'.DIRECTORY_SEPARATOR.'HttpConfigureInterface.php';
    InstallControllerHttp::execute();
} catch (PrestashopInstallerException $e) {
    $e->displayMessage();
}


Je supprime quand même ? Il est ici => /.trash/install/index.php

 

Link to comment
Share on other sites

J´ai effacé le fameux fichier en question, j´ai vidé la cache, mais le problème persiste et signe...

9 minutes ago, ndiaga said:

l faut bien voir,   s'ils  y'a  pas d'autres  fichiers qui  n'appartiennent  a l'installation de  PrestaShop.

Je dois supprimer tous les fichier index.php? J´en ai vu pas mal. 

Il ressemble tous à ca :

 

<?php
/**
 * 2007-2019 PrestaShop and Contributors
 *
 * 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:
 * https://opensource.org/licenses/OSL-3.0
 * 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 https://www.prestashop.com for more information.
 *
 * @author    PrestaShop SA <[email protected]>
 * @copyright 2007-2019 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
 * International Registered Trademark & Property of PrestaShop SA
 */

header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");

header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");

header("Location: ../");
exit;


Je les supprime ?

Link to comment
Share on other sites

Bonjour Ndiaga,

Je viens de parler avec Goddady Support. En fait, il m´a dit que si tu supprimes ton fichier Index, il faut le remplacer. Alors il m a demandé de contacter Prestashop pour avoir le fichier remplacant pour la version et le template que j´ai.

Vous en pensez quoi ? Si vous voulez intervenir sur mon serveur, je remets le fichier que j ai supprimé hier comme ca vous aurez la version telle que j´avais durant le problème. De plus, je ne suis pas sûr d´avoir supprimer le bon fichier.

Je reste à votre disposition et encore merci.

Cordialement,

Bachir

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