Jump to content

Problema con el archivo index.php


Recommended Posts

Hola todos,

Estaba creando mi pagina web  ocemar.net, todo iba bien durante una semana. Descansé 2 días y al tratar de entrar en mi pagina, me salio el mensaje siguiente :

 

Hello World!

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

Como si hubiera configurado un blog de WordPress, cosa que nunca he hecho. Entré en el Cpanel de mi hosting, Godaddy, y busqué la app WordPress Blog, entré y borré el fichero que estaba alli. Luego quizé entrar a mi pagina y esta vez me salio:

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.

Aguien me dijo qe venia seguramente del fichero  index.php. Ubiqué uno en:     /.trash/install/index.php   lo borré pero la cosa siguió igual.

Ese fichero contenia lo siguiente:

<?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();
}

He hecho mal en borrarlo?

Espero me puedan dar una solución.

Gracias por el apoyo.

Bachir

Link to comment
Share on other sites

Hola, Bachir.

Por lo que comentas parece que no tienes muchos conocimientos sobre cómo funciona un CMS como Prestashop o WordPress. Lo mejor es que busques ayuda de alguien que te pueda ayudar en persona, me temo que por muchos consejos que te podamos dar por aquí no te van a servir de mucho.

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

Amigo, 

Te equivocas, solo sé que sé nada... En serio, no sé nada de programación. Copiar y pegar te hace un maestro? 

La idea de PS y WP es justamente para gente como yo que no entiende nada de programación. Si estoy en ese foro es que realmente tengo un problema. No encuentro nada productivo en tu comentario.  No te molestes en responderme, solo voy a leer comentarios productivos que me aportan una solucion.

Saludos cordiales,

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