page d'accueil index.php [Réglé]
samghami Membre non connecté
Booster Bazooka
-
Booster Bazooka
- Voir le profil du membre samghami
- Inscrit le : 16/04/2012
- Site internet
Mais lorsque je met ma page a la racine du site cela ne fonctionne pas et me met:
Screen-shot de l'erreur
janus57 Membre non connecté
-
Booster Fusée
- Voir le profil du membre janus57
- Inscrit le : 07/12/2007
- Groupes :
-
Equipe Assistance
normale la page index.php à la racine du site sert à phpboost, donc tu ne peut pas la remplacer ni la modifier sous peine d'avoir ce genre d’erreur.
Edit : Voici le code de la page index.php
Code PHP :
<?php /*################################################## * index.php * ------------------- * begin : August 23 2007 * copyright : (C) 2007 Régis Viarre * email : crowkait@phpboost.com * * ################################################### * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ###################################################*/ define('PATH_TO_ROOT', '.'); if (!file_exists(PATH_TO_ROOT . '/kernel/db/config.php')) { header('Location:install/index.php'); exit; } else { require_once PATH_TO_ROOT . '/kernel/framework/core/environment/Environment.class.php'; try { Environment::load_imports(); } catch (IOException $ex) { Debug::fatal($ex); } require_once PATH_TO_ROOT . '/kernel/init.php'; $url_controller_mappers = array( new UrlControllerMapper('PHPBoostIndexController', '`^/?$`') ); DispatchManager::dispatch($url_controller_mappers); } ?>
Cordialement, janus57
Édité par janus57 Le 23/06/2013 à 20h51
ElenWii Membre non connecté
-
Administrateur
- Voir le profil du membre ElenWii
- Inscrit le : 14/08/2009
- Site internet
- Groupes :
-
Equipe Graphique
samghami Membre non connecté
Booster Bazooka
-
Booster Bazooka
- Voir le profil du membre samghami
- Inscrit le : 16/04/2012
- Site internet
ElenWii Membre non connecté
-
Administrateur
- Voir le profil du membre ElenWii
- Inscrit le : 14/08/2009
- Site internet
- Groupes :
-
Equipe Graphique
Il y a pas mal de sujet qui parle de cela sur le forum

ElenWii
samghami Membre non connecté
Booster Bazooka
-
Booster Bazooka
- Voir le profil du membre samghami
- Inscrit le : 16/04/2012
- Site internet
ElenWii Membre non connecté
-
Administrateur
- Voir le profil du membre ElenWii
- Inscrit le : 14/08/2009
- Site internet
- Groupes :
-
Equipe Graphique

On est tous dans l'action

ElenWii
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie