Jump to content

Message ERROR au début de l'installation


Recommended Posts

Bonjour,

Au moment ou j'ai cliqué sur la ligne d'intalllation j'ai reçu ce message :

Parse error: Parse error, ES_CHAINE inattendue, s'attendant T_OLD_FUNCTION ou T_FUNCTION ou T_VAR ou ')' dans / mnt / / www aquadif.fr / www / ecom / install / classes / LanguagesManager.php en ligne 7



et dans le fichier LanguagesManager.php :

<?php
include_once("../classes/Validate.php");
class LanguageManager {    
   private $url_xml;
   private $lang;
   private $xml_file;

   function __construct ($url_xml){
       $this->loadXML($url_xml);
       $this->setLanguage();
       $this->getIncludeTradFilename();

   }

   private function loadXML($url_xml){
       global $errors;
       if(!$this->xml_file = simplexml_load_file($url_xml))
           $errors = "Error when loading XML language file : $url_xml";
   }

   public function getIdSelectedLang(){
       return $this->lang['id'];




Merci d'avance pour votre aide

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