Bonjour,
Voilà mon problème (je rajoute tout de suite que je suis nulle en php) : j'ai un fichier de config et un fichier Index. Ce n'est pas moi qui ai développé ce"s pages mais elles fonctionnaient jusqu'à hier et aujourd'hui voilà ce qu'il me dit :
Voilà la partie du fichier de config :ADONewConnection: Unable to load database driver ''
Notice: Only variable references should be returned by reference in C:\Program Files\EasyPHP 2.0b1\www\lib\Adodb410\adodb.inc.php on line 3400
Fatal error: Call to a member function Connect() on a non-object in C:\Program Files\EasyPHP 2.0b1\www\config.inc.php on line 23
Est-ce que quelqu'un pourrais m'aider
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 $DB["host"]="xxx";$DB["basename"]="xxx";$DB["user"]="xxx"; $DB["password"]=""; /*************************************/ /**** Connection DB ******/ /*************************************/ include_once("lib/Adodb410/toexport.inc.php"); include_once("lib/Adodb410/tohtml.inc.php"); include_once("lib/Adodb410/adodb-pager.inc.php"); include_once("lib/Adodb410/adodb.inc.php"); $conn = ADONewConnection("mysql"); if ($conn->Connect($DB["host"], $DB["user"], $DB["password"], $DB["basename"]) === false){ echo"Erreur de connexion à la base de donnée. Fin de l'application."; exit; } $conn->debug = false;
Je vous remercie d'avance
Véro
Partager