Les avertissements suivants se sont produits :
Warning [2] Undefined array key 0 - Line: 1640 - File: showthread.php PHP 8.2.18 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 1640 errorHandler->error_callback
/showthread.php 915 buildtree




Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
OVH arret PHP 4.X 5.2 5.3
#4
ttp://test2.girardetroux.com/

J'ai fait donc ma mise a jour. le site marche en locale mais pas sur le serveur d'OVH..


/home/girardet/www/girardnew/lib/adodb.functions.php:56 - offsetGet
/home/girardet/www/girardnew/lib/classes/class.CmsApp.php:229 - adodb_connect
/home/girardet/www/girardnew/include.php:201 - GetDb
/home/girardet/www/girardnew/index.php:71 - require_once
FATAL ERROR: Could not find database connection key db_password in the config file

Je suis sur d'avoir entré le bon mot de passe.

J'ai crée un fichier .ovhconfig comme indiqué.


Que faire ?

Merci
Cordialement.


$config['dbms'] = 'mysql';
$config['db_hostname'] = 'xxxxxxxxx.mysql.db';
$config['db_username'] = 'xxxxxxxxxx';
$config['db_passwgord'] = 'xxxxxxx';
$config['db_name'] = 'xxxxxx';
$config['db_prefix'] = 'cms_';
$config['db_port'] = 0;
$config['root_url'] = 'h t t p ://tes t.girardetroux.com'; ( j'ai volontairement cassé l'url sinon je ne pouvais pas poster.)
$config['query_var'] = 'page';
$config['timezone'] = 'Europe/Paris';
$config['default_encoding'] = 'utf-8';
$config['admin_dir'] = 'adminsite';
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.html';


Édité par modérateur [Ouik] : ne jamais laisser les données sensibles visibles !!!


Messages dans ce sujet

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)