Pb pour mettre mon site en ligne

Résolu
orel_it Messages postés 24 Statut Membre -  
orel_it Messages postés 24 Statut Membre -
Bonjour,

Dans le cadre de mes études (deust webmaster et gestionnaire intranet) j'ai réalisé un stage et je dois mettre ce rapport en ligne à partir d'un cms. J'ai utilisé crazycms qui fonctionne avec BDD. Mon site en localhost fonctionne très bien.
Reste juste à le mettre en ligne. Pour cela j'ai choisi ifrance http://ue111doucet.ifrance.com/
Comme vous pouvez le voir le message d'erreur suivant apparaît :

Parse error: syntax error, unexpected T_STRING in /www/sites/1/ifrance.com/u/e/ue111doucet/site/index.php on line 1

Pour mettre en ligne mon site, j'ai utilisé filezilla. Je me suis connecté avec tous les identifiants qu' ifrance m'a fourni.
J'ai donc transférer l'intégralité du dossier www de wamp. Une fois transféré j'ai déplacé le fichier index.php du dossier www.

J'espère avoir bien exposé mon problème.

Merci pour toutes vos réponses
Configuration: Windows Vista
Firefox 2.0.0.14

1 réponse

  1. arth Messages postés 84 Date d'inscription   Statut Contributeur Dernière intervention   1 296
     
    SI un problème se trouve dans ton code peux-tu nous dire quel est le code ligne1 du fichier index.php?
    0
    1. orel_it Messages postés 24 Statut Membre 2
       
      Bonjour et merci pour cette réponse rapide:

      Voici une partie de mon fichier index.php


      <?php
      /*
      Copyright CrazyCMS :

      Valmori Quentin
      gay_4_ever@hotmail.fr
      Feuvre Christophe
      chris_tophe2@hotmail.com
      Haustrate Kevin
      gippel5@hotmail.com

      This software is a computer program whose purpose is to make our own
      website. You just have to follow the automatic installation procedure
      and you website is operational. Moreover, He is securized and optimized
      as much as possible.

      This software is governed by the CeCILL² license under French law and
      abiding by the rules of distribution of free software. You can use,
      modify and/ or redistribute the software under the terms of the CeCILL²
      license as circulated by CEA, CNRS and INRIA at the following URL
      "http://www.cecill.info".

      The fact that you are presently reading this means that you have had
      knowledge of the CeCILL² license and that you accept its terms.
      */

      ob_start( 'gz_handler' );
      //Modification url pour w3c
      ini_set("arg_separator.output","&");
      define ( 'CCMS',true);
      //Variable pour calculer le tps de generation de la page ;)
      $time_start=microtime();

      // On défini les variables longues si seuleme,et les courtes sont defini et on defini les variable courtes si seulement les longues sont definis
      if(!isset($HTTP_POST_VARS) AND isset($_POST)){
      $HTTP_POST_VARS = $_POST;
      $HTTP_GET_VARS = $_GET;
      $HTTP_SERVER_VARS = $_SERVER;
      $HTTP_COOKIE_VARS = $_COOKIE;
      $HTTP_POST_FILES = $_FILES;
      }
      else if(isset($HTTP_POST_VARS) AND !isset($_POST)){
      $_POST = $HTTP_POST_VARS;
      $_GET = $HTTP_GET_VARS;
      $_SERVER = $HTTP_SERVER_VARS;
      $_COOKIE = $HTTP_COOKIE_VARS;
      $_FILES = $HTTP_POST_FILES;
      }


      Merci pour votre aide
      0