Fork me on GitHub




(1) 2 »


Problème avec free?
Newbie
Inscrit: 08/05/2006 22:57
Messages: 4
Bonsoir à tous,

j'utile le portail Xoops pour mon site depuis quelques mois.

http://www.sl55creationweb.com

Je n'ai jamais eu deproblèmes mais depuis 5 jours environs cela apparait sur la page d'acceuil

Pouvez vous m'aider à resoudre ce gros problème?

Merci d'avance!

Warning: main() [function.main]: open_basedir restriction in effect. File(/var/www/free.fr/8/1/sl55kleemann/xoops/include/common.php) is not within the allowed path(s): (/mnt/126/sdc/8/1/sl55kleemann) in /mnt/126/sdc/8/1/sl55kleemann/xoops/mainfile.php on line 93

Warning: main(/var/www/free.fr/8/1/sl55kleemann/xoops/include/common.php) [function.main]: failed to open stream: Operation not permitted in /mnt/126/sdc/8/1/sl55kleemann/xoops/mainfile.php on line 93

Warning: main() [function.include]: Failed opening '/var/www/free.fr/8/1/sl55kleemann/xoops/include/common.php' for inclusion (include_path='/mnt/126/sdc/8/1/sl55kleemann/include:.:/usr/php4/lib/php') in /mnt/126/sdc/8/1/sl55kleemann/xoops/mainfile.php on line 93

Warning: main() [function.main]: open_basedir restriction in effect. File(/var/www/free.fr/8/1/sl55kleemann/xoops/modules/news/class/class.newsstory.php) is not within the allowed path(s): (/mnt/126/sdc/8/1/sl55kleemann) in /mnt/126/sdc/8/1/sl55kleemann/xoops/modules/news/index.php on line 29

Warning: main(/var/www/free.fr/8/1/sl55kleemann/xoops/modules/news/class/class.newsstory.php) [function.main]: failed to open stream: Operation not permitted in /mnt/126/sdc/8/1/sl55kleemann/xoops/modules/news/index.php on line 29

Warning: main() [function.include]: Failed opening '/var/www/free.fr/8/1/sl55kleemann/xoops/modules/news/class/class.newsstory.php' for inclusion (include_path='/mnt/126/sdc/8/1/sl55kleemann/include:.:/usr/php4/lib/php') in /mnt/126/sdc/8/1/sl55kleemann/xoops/modules/news/index.php on line 29

Fatal error: Undefined class name 'mytextsanitizer' in /mnt/126/sdc/8/1/sl55kleemann/xoops/modules/news/index.php on line 63

Posté le : 08/05/2006 23:35

Edité par sl55klee sur 09/05/2006 19:35:23
Edité par kris sur 09/05/2006 21:15:08
Partager Twitter Partagez cette article sur GG+
Re: Problème avec free?
Supporter Xoops
Inscrit: 09/01/2005 13:37
De Breizh
Messages: 16972
Bonjour,

regardes dans la searchbox avec : adminmenu free

et aussi avec un php info, si ton serveur n'est pas passé en php 5.0.x

A +

Posté le : 08/05/2006 23:39

La connaissance s'accroît quand on la partage ...
Partager Twitter Partagez cette article sur GG+
Re: Problème avec free?
Newbie
Inscrit: 08/05/2006 22:57
Messages: 4
Bonsoir,

merci je viens de rechercher et de fouiller un peu mais je trouve pas trop de solutions à mon problème.

Je ne programme pas en php en fait je débute vraiment.

Posté le : 09/05/2006 00:12
Partager Twitter Partagez cette article sur GG+
Re: Problème avec free?
Supporter Xoops
Inscrit: 09/01/2005 13:37
De Breizh
Messages: 16972
Regardes ce post
Et pas besoin de connaître du code pour celà

A +

Posté le : 09/05/2006 01:52

La connaissance s'accroît quand on la partage ...
Partager Twitter Partagez cette article sur GG+
Re: Problème avec free?
Régulier
Inscrit: 27/01/2006 23:21
De Puteaux
Messages: 214
Ma petite solution
Lien:Post

Xavier

Posté le : 09/05/2006 14:21
Partager Twitter Partagez cette article sur GG+
Re: Problème avec free?
Newbie
Inscrit: 08/05/2006 22:57
Messages: 4
Merci les gars mais je n'y arrive toujours pas.

J'ai fait un fichier test.php pour avoir la nouvelle adresse physique free, et je l'ai recopiée dans le fichier mainfile.php.

Mais j'ai encore ce message d'erreur?

Warning: main() [function.main]: Unable to access /mnt/126/sdc/8/1/sl55kleemann /mnt/126/sdc/8/1/sl55kleemann/xoops/modules/news/class/class.newsstory.php in /mnt/126/sdc/8/1/sl55kleemann/xoops/modules/news/index.php on line 29

Warning: main(/mnt/126/sdc/8/1/sl55kleemann /mnt/126/sdc/8/1/sl55kleemann/xoops/modules/news/class/class.newsstory.php) [function.main]: failed to open stream: No such file or directory in /mnt/126/sdc/8/1/sl55kleemann/xoops/modules/news/index.php on line 29

Warning: main() [function.include]: Failed opening '/mnt/126/sdc/8/1/sl55kleemann /mnt/126/sdc/8/1/sl55kleemann/xoops/modules/news/class/class.newsstory.php' for inclusion (include_path='/mnt/126/sdc/8/1/sl55kleemann/include:.:/usr/php4/lib/php') in /mnt/126/sdc/8/1/sl55kleemann/xoops/modules/news/index.php on line 29

Fatal error: Undefined class name 'mytextsanitizer' in /mnt/126/sdc/8/1/sl55kleemann/xoops/modules/news/index.php on line 63


Mon fichier mainfile.php est comme ceci maintenant:

<?php
// $Id: mainfile.php,v 1.6 2003/02/12 03:37:37 okazu Exp $
// ------------------------------------------------------------------------ //
// XOOPS - PHP Content Management System //
// Copyright (c) 2000 XOOPS.org //
// <http://www.xoops.org/> //
// ------------------------------------------------------------------------ //
// 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. //
// //
// You may not change or alter any portion of this comment or credits //
// of supporting developers from this source code or any supporting //
// source code which is considered copyrighted (c) material of the //
// original comment or credit authors. //
// //
// 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
// ------------------------------------------------------------------------ //
/**
* Xoops is not installed, redirect to the installer
**/
// XOOPS Physical Path
// Physical path to your main XOOPS directory WITHOUT trailing slash

define('XOOPS_ROOT_PATH', $_SERVER["DOCUMENT_ROOT"].' /mnt/126/sdc/8/1/sl55kleemann/xoops');
?>

Posté le : 09/05/2006 18:26
Partager Twitter Partagez cette article sur GG+
Re: Problème avec free?
Régulier
Inscrit: 27/01/2006 23:21
De Puteaux
Messages: 214
Je pense que tu dois réinstaller Xoops, ton fichier mainfile.php est vide !!!

Il devrait ressembler un petit peu à çà :
<?php
// $Id: mainfile.dist.php,v 1.7 2004/12/26 19:11:47 onokazu Exp $
//  ------------------------------------------------------------------------ //
//                XOOPS - PHP Content Management System                      //
//                    Copyright (c) 2000 XOOPS.org                           //
//                       <http://www.xoops.org/>   ... nbsp;   //
//  ------------------------------------------------------------------------ //
//  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.                                      //
//                                                                           //
//  You may not change or alter any portion of this comment or credits       //
//  of supporting developers from this source code or any supporting         //
//  source code which is considered copyrighted (c) material of the          //
//  original comment or credit authors.                                      //
//                                                                           //
//  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., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
//  ------------------------------------------------------------------------ //

if ( !defined("XOOPS_MAINFILE_INCLUDED") ) {
    
define("XOOPS_MAINFILE_INCLUDED",1);

    
// XOOPS Physical Path
    // Physical path to your main XOOPS directory WITHOUT trailing slash
    
define('XOOPS_ROOT_PATH'$_SERVER["DOCUMENT_ROOT"].'/xoops'); // Ma modif !!!

    // XOOPS Virtual Path (URL)
    // Virtual path to your main XOOPS directory WITHOUT trailing slash
    
define('XOOPS_URL''http://www.sl55creationweb.com/xoops');

    
define('XOOPS_CHECK_PATH'1);
    
// Protect against external scripts execution if safe mode is not enabled
    
if ( XOOPS_CHECK_PATH && !@ini_get('safe_mode') ) {
        if ( 
function_exists('debug_backtrace') ) {
            
$xoopsScriptPath debug_backtrace();
            if ( !
count($xoopsScriptPath) ) {
                die(
"XOOPS path check: this file cannot be requested directly");
            }
            
$xoopsScriptPath $xoopsScriptPath[0]['file'];
        } else {
            
$xoopsScriptPath = isset($_SERVER['PATH_TRANSLATED']) ? $_SERVER['PATH_TRANSLATED'] :  $_SERVER['SCRIPT_FILENAME'];
        }
        if ( 
DIRECTORY_SEPARATOR != '/' ) {
            
// IIS6 may double the  chars
            
$xoopsScriptPath str_replacestrpos$xoopsScriptPath'\\') ? '\\' DIRECTORY_SEPARATOR'/'$xoopsScriptPath);
        }
        if ( 
strcasecmpsubstr($xoopsScriptPath0strlen(XOOPS_ROOT_PATH)), str_replaceDIRECTORY_SEPARATOR'/'XOOPS_ROOT_PATH)) ) {
            exit(
"XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.");
        }
    }

    
// Database
    // Choose the database to be used
    
define('XOOPS_DB_TYPE''mysql');

    
// Table Prefix
    // This prefix will be added to all new tables created to avoid name conflict in the database. If you are unsure, just use the default 'xoops'.
    
define('XOOPS_DB_PREFIX''xoops');

    
// Database Hostname
    // Hostname of the database server. If you are unsure, 'localhost' works in most cases.
    
define('XOOPS_DB_HOST''sql.free.fr');

    
// Database Username
    // Your database user account on the host
    
define('XOOPS_DB_USER''');

    
// Database Password
    // Password for your database user account
    
define('XOOPS_DB_PASS''');

    
// Database Name
    // The name of database on the host. The installer will attempt to create the database if not exist
    
define('XOOPS_DB_NAME''');

    
// Use persistent connection? (Yes=1 No=0)
    // Default is 'Yes'. Choose 'Yes' if you are unsure.
    
define('XOOPS_DB_PCONNECT'0);

    
define('XOOPS_GROUP_ADMIN''1');
    
define('XOOPS_GROUP_USERS''2');
    
define('XOOPS_GROUP_ANONYMOUS''3');

    if (!isset(
$xoopsOption['nocommon']) && XOOPS_ROOT_PATH != '') {
        include 
XOOPS_ROOT_PATH."/include/common.php";
    }
}
?>




Xavier

Posté le : 09/05/2006 19:02
Partager Twitter Partagez cette article sur GG+
Re: Problème avec free?
Newbie
Inscrit: 08/05/2006 22:57
Messages: 4
Super un grand grand merci Xavier et tous les autres ca marche!

J'ai recopié l'exemple de ton mainfile.php posté ci dessus en remplissant les champs demandés et c'est reparti.

Allez visiter pour voir

http://www.sl55creationweb.com

Posté le : 09/05/2006 19:11
Partager Twitter Partagez cette article sur GG+
Re: Problème avec free?
Régulier
Inscrit: 27/01/2006 23:21
De Puteaux
Messages: 214
Ma modif pour le chemin de 'XOOPS_ROOT_PATH' reste à valider par l'équipe Xoops France.

je ne suis q'un débutant.


PS: Il faut modifier le préfixe de ton article avec [résolu]

Xavier.

Posté le : 09/05/2006 19:27
Partager Twitter Partagez cette article sur GG+
Re: Problème avec free?
Aspirant
Inscrit: 05/08/2003 09:16
Messages: 22
Bjr,
Depuis 3/4 jours j'ai le même soucis sur mes deux sites qui sont sur free!
J'ai regarder mes fichiers mainfile.php ,mais ils sont complet!rien n'a changer!
Qqn a t'il la solution a cela?
Car pour l'instant, mes deux sites sont inutilisables!

Merci

Posté le : 18/05/2006 10:35
Partager Twitter Partagez cette article sur GG+

 Haut   Précédent   Suivant
(1) 2 »



Vous pouvez voir les sujets.
Vous ne pouvez pas débuter de nouveaux sujets.
Vous ne pouvez pas répondre aux contributions.
Vous ne pouvez pas éditer vos contributions.
Vous ne pouvez pas effacez vos contributions.
Vous ne pouvez pas ajouter de nouveaux sondages.
Vous ne pouvez pas voter en sondage.
Vous ne pouvez pas attacher des fichiers à vos contributions.
Vous ne pouvez pas poster sans approbation.

Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

35 Personne(s) en ligne (24 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 35 | Plus ...