Fork me on GitHub

Rapport de message :*
 

Re: Site hacké ?

Titre du sujet : Re: Site hacké ?
par Ponchy sur 30/06/2006 08:54:29

à tout hasard je poste une partie du mainfile :

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

    
// XOOPS Physical Path
    // Physical path to your main XOOPS directory WITHOUT trailing slash
    // Example: define('XOOPS_ROOT_PATH', 'c:/program files/easyphp1-8/www/xoops2');
    //define('XOOPS_ROOT_PATH', 'c:/program files/easyphp1-8/www/xoops2'); <--- l'ancienne ligne
    
define('XOOPS_ROOT_PATH'str_replace("\""/",dirname __FILE__)) );
C'est la bonne modif ?

Par rapport au message d'erreur depuis hier :
This page cannot be displayed due to an internal error.

If you are the administrator of this site, please visit the Xoops Troubleshooting Page for assistance.

Error [Xoops]: Unable to connect to database in file class/database/databasefactory.php line 34
(la seule réponse que j'ai trouvé avec la recherche sur cette erreur c'est que les serveurs de Free déconnent, mais depuis 12 heures c'est beaucoup non ?)

La suite du mainfile
// 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''localhost');

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

    
// 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''xoops');
Comme vous voyez, y'a pas de password et l'username est Host, mais ça marchait comme ça avant que je modifie la ligne du haut du mainfile
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

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