djtechnic

Visiteur
Enregistré le 20/03/2003
Messages: 53
Non connecté
|
Ajouté le : 20/01/2007 21:58
Message :
Bon, en transférant un autre programme, je me suis apercu qu'il ne faut pas modifier CF_config donc j'ai recommencé l'exportation et l'importation de ce fichier sans le modifier.
Mais j'ai un autre problème quand je me connecte au forum ca me met :
Fatal error: Class sqlconnect: Cannot inherit from undefined class my_sql in /home.10.5/annuaire/www/forum/admin/functions.php on line 34
pour info je vous mets le début du fichier functions.php:
<?
//*********************************************************************************
//* *
//* CoolForum v.0.7 Beta : Forum de discussion *
//* Copyright ©2001-2002 SORIANO Denis alias Cool Coyote *
//* *
//* *
//* 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., 59 Temple Place - Suite 330, *
//* Boston, MA 02111-1307, USA. *
//* *
//* *
//* Forum Créé par SORIANO Denis (Cool Coyote) *
//* contact : coyote@coolcoyote.net *
//* site web et téléchargement : http://www.coolforum.net *
//* *
//*********************************************************************************
// ********************************************************
// * CLASSE MYSQL *
// ********************************************************
class SQLConnect extends My_SQL
{
function SQLConnect()
{
@mysql_connect($this->host,$this->user,$this->pass) or die("Impossible de se connecter à la base de données");
@mysql_select_db("$this->bdd") or die("Impossible de se connecter à la base de données");
}
function query($query)
{
global $NBRequest;
$msql=mysql_query($query);
if($msql)
$NBRequest++;
else
{
echo(mysql_error()."<br>");
echo($query."<p>");
}
return($msql);
}
function list_tables()
{
$msql=mysql_list_tables($this->bdd);
return($msql);
}
}
Sinon, j'ai bien vérifier .htaccess, il y a bien seulement ce qu'il faut.
Bon, je ne comprends toujours rien !!! Est-ce que moi aussi c'est un problème de CHMOD !?!
je vous remercie d'avance !
*** Message édité par djtechnic le 20/01/2007 20:59 ***
|