[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4363: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4367: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
Erreur au lancement de l'annuaire après installation

Erreur au lancement de l'annuaire après installation

Trouvez ici tout l'aide dont vous avez besoin concernant le script d'annuaire Arfooo.
Merci de reporter les éventuels bugs trouvés.

Erreur au lancement de l'annuaire après installation

Messagede pole » Lun 16 Aoû 2010 20:11

16/08/10

Bonjour,
Erreur au lancement de l'annuaire après installation.
Voici ci-dessous l'erreur sur la page.

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/12/d212108944/htdocs/mainwebsite_congo-entreprendre/arfooo-2/config/main.php on line 15

Voici le code PHP, voyez-vous une erreur ? Merci d'avance de votre aide.

<?php
/**
* Arfooo
*
* @package Arfooo
* @copyright Copyright (c) Arfooo Annuaire (fr) and Arfooo Directory (en)
* by Guillaume Hocine (c) 2007 - 2010
* http://www.arfooo.com/ (fr) and http://www.arfooo.net/ (en)
* @author Guillaume Hocine & Adrian Galewski
* @license http://creativecommons.org/licenses/by/2.0/fr/ Creative Commons
*/

class Config
{
static $confVars = array();

public static function get($name, $defaultValue = null)
{
return self::$confVars[$name];
}

public static function set($name, $value)
{
self::$confVars[$name] = $value;
}

public static function getAll()
{
return self::$confVars;
}

public static function add($confVars)
{
self::$confVars = array_merge(self::$confVars, $confVars);
}
}

class Display
{
static $confVars;

public static function get($name, $defaultValue = null)
{
return isset(self::$confVars[$name]) ? self::$confVars[$name] : $defaultValue;
}

public static function set($name, $value)
{
self::$confVars[$name] = $value;
}

public static function getAll()
{
return self::$confVars;
}
}

Config::set('DEFAULT_LANGUAGE', "en");
Config::set('DEFAULT_TEMPLATE_NAME', "arfooo");
Config::set('DEFAULT_CHARSET', "utf8");

Config::set('CONTROLLERS_PATH', CODE_ROOT_DIR."controllers/");
Config::set('MODELS_PATH', CODE_ROOT_DIR."models/");
Config::set('VIEWS_PATH', CODE_ROOT_DIR."views/");
Config::set('CORE_PATH', CODE_ROOT_DIR."core/");
Config::set('TEMPLATES_PATH', CODE_ROOT_DIR."templates/");
Config::set('COMPONENTS_PATH', CODE_ROOT_DIR."components/");
Config::set('LANGUAGES_PATH', CODE_ROOT_DIR."languages/");

Config::set('SITES_THUMBS_PATH', CODE_ROOT_DIR."uploads/images_thumbs/");
Config::set('PACKAGES_THUMBS_PATH', CODE_ROOT_DIR."uploads/images_packages/");

require_once(CODE_ROOT_DIR."config/db.php");

if(!empty($dbConfig['DB_INSTALLED']))
{
foreach($dbConfig as $key => $value)
{
Config::set($key, $value);
}
}
else
{
$url = substr($_SERVER['SCRIPT_NAME'], 0, -strlen(basename($_SERVER['SCRIPT_NAME'])))."install";
header("Location: $url");
exit;
}
pole
 
Messages: 1
Inscription: Lun 16 Aoû 2010 19:55


Re: Erreur au lancement de l'annuaire après installation

Messagede superbenoit » Mar 17 Aoû 2010 07:29

Curieux pourtant la v2 tourne assez bien !!!! Ta quel version de php?
--== SuperBenoit ==--
-----=== KOD ===-----
superbenoit
 
Messages: 24
Inscription: Jeu 12 Aoû 2010 16:25
Localisation: Paris

Re: Erreur au lancement de l'annuaire après installation

Messagede Arf » Mar 17 Aoû 2010 10:36

Bonjour,

Vous devez activer php5 via le fichier .htaccess ou autre selon les serveurs.
Arf
Administrateur du site
 
Messages: 3100
Inscription: Lun 21 Jan 2008 14:53

Re: Erreur au lancement de l'annuaire après installation

Messagede Smeug » Mar 17 Aoû 2010 23:06

Bonsoir,
j'ai le même message d'erreur.
Je suis chez OVH, j'ai donc ajouté : SetEnv PHP_VER 5 dans le .htaccess mais j'ai toujours le même problème.
Merci de votre réponse.
Smeug
 
Messages: 2
Inscription: Mar 17 Aoû 2010 23:00

Re: Erreur au lancement de l'annuaire après installation

Messagede Hexa-67 » Mer 18 Aoû 2010 08:44

Salut,

un petit phpinfo() nous aiderais bien messieurs.
Si vous pouviez nous mettre ça ici, on en saurais un peu plus sur vos serveurs .
|
Avatar de l’utilisateur
Hexa-67
 
Messages: 966
Inscription: Lun 1 Mar 2010 17:59

Re: Erreur au lancement de l'annuaire après installation

Messagede Smeug » Mer 18 Aoû 2010 13:42

Bonjour,
je suis désolé mais je ne sais pas trop comment faire...
Ce sont les infos du type d'hébergement dont je dispose :
http://pro.ovh.net/test.php5

Est ce que cela suffit?

Merci d'avance.
Smeug
 
Messages: 2
Inscription: Mar 17 Aoû 2010 23:00

Re: Erreur au lancement de l'annuaire après installation

Messagede Hexa-67 » Mer 18 Aoû 2010 13:53

Salut Smeug,
oui, ça suffit!
Au premier coup d'oeil, tu as tout ce qu'il faut pour faire tourner Arfooo.
Pardon de ne pas t'aider plus, mais ça devrait tourner! Je cherche un peu...

Si un spécialiste peut te répondre, ce sera super.
|
Avatar de l’utilisateur
Hexa-67
 
Messages: 966
Inscription: Lun 1 Mar 2010 17:59


Retourner vers Installation, aide et report de bugs

 


  • Articles en relation
    Réponses
    Vus
    Dernier message

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 0 invités

 
Copyright © arfooo.com  2007 - 2011  -  Tous droits réservés  -  Partenaires de confiance
Sites du groupe: petites annonces gratuites   voyance en direct - tirage tarot   Consultant en référencement
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | phpBB SEO Traduction par: phpBB-fr.com
cron