bonjours a tous et merci pour votre futur aide ,voilas j ai deposer et modifier un script sur mon hebergeur 1and1 j ai rentrer ma bd jusqu a la tout marche sauf que des je tape l adresse du site pour entrer et modifier les parametre admin j ai une erreur j ai beau chercher je ne trouve pas alors de l aide s il vous plaie voici la reponse du site :
"
Fatal error: Call to undefined function: adonewconnection() in /homepages/25/d146395061/htdocs/include/config.php on line 77"
je suis aller sur le script "config.php" a la ligne 77mais je ne voie rien de speciale voici le bout du script :
session_start();
$config = array();
// =============== CONFIGURATION ===================================================================
// Your Website Name
$config['site_name'] = "montageonline";
$config['BASE_DIR'] = 'http://www.defouliore.be/';
$config['BASE_URL'] = 'http://www.defouliore.be/';
$config['tmpimgpath'] = 'http://www.defouliore.be/tmp';
$config['tmpimgpath2'] = 'http://www.defouliore.be/tmp';
$config['ffmpeg'] = '/usr/bin/ffmpeg';
$config['mplayer'] = '/usr/bin/mplayer';
$config['mencoder'] = '/usr/bin/mencoder';
$config['metainject'] = '/usr/bin/flvtool2';
$config['phppath'] = '/usr/local/bin/php';
// Guest users (unregistered) daily limit (duration in seconds)
$config['guest_limite'] = 65535;
// Videos have to be approved by admin before made public (1 = yes / 0 = no)
$config['approve'] = 0;
// Delete original uploaded videos (and temp files) after successful conversion (1 = yes / 0 = no)
$config['del_original_video'] = 0;
// User profile photo (avatar) width (pixels). Original uploaded images are redimensioned
$config['photowidth'] = "150";
// Video Bitrate (kbit/sec)- Increase/Decrease quality/filesize of the converted video
$config['vbitrate'] = 800;
// Audio Sample Rate (Hz) – Recommended to leave it to this value
$config['sbitrate'] = 22050;
// Resize/Scale Converted Video (yes = 1 / no = 0)
$config['vresize'] = 0;
//Resized Video Width
$config['vresize_x'] = 320;
//Resized Video Height
$config['vresize_y'] = 240;
//Captcha (Signup Image Verification) ON=1/OFF=0
$config['captcha'] = 1;
//Member Download Videos ON=1/OFF=0
$config['downloads'] = 1;
// =============== DO NOT EDIT UNDER THIS LINE =====================================================
$config['CONF_FILE'] = $config[BASE_DIR] . '/include/conf.ini';
$config['IMG_DIR'] = $config[BASE_DIR] . '/images';
$config['IMG_URL'] = $config[BASE_URL] . '/images';
$config['PHO_DIR'] = $config[BASE_DIR] . '/photo';
$config['PHO_URL'] = $config[BASE_URL] . '/photo';
$config['VDO_DIR'] = $config[BASE_DIR] . '/video';
$config['VDO_URL'] = $config[BASE_URL] . '/video';
$config['ADO_DIR'] = $config[BASE_DIR] . '/audio';
$config['ADO_URL'] = $config[BASE_URL] . '/audio';
$config['FLVDO_DIR'] = $config[BASE_DIR] . '/flvideo';
$config['FLVDO_URL'] = $config[BASE_URL] . '/flvideo';
$config['TMB_DIR'] = $config[BASE_DIR] . '/thumb';
$config['TMB_URL'] = $config[BASE_URL] . '/thumb';
$config['baseurl'] = $config['BASE_URL'];
$config['basedir'] = $config['BASE_DIR'];
$config['vdodir'] = $config['VDO_DIR'];
$config['vdourl'] = $config['VDO_URL'];
$config['audiodir'] = $config['ADO_DIR'];
$config['audiourl'] = $config['ADO_URL'];
$config['flvdodir'] = $config['FLVDO_DIR'];
$config['flvdourl'] = $config['FLVDO_URL'];
$config['photodir'] = $config['PHO_DIR'];
$config['photourl'] = $config['PHO_URL'];
$config['imgurl'] = $config['IMG_URL'];
$config['imgpath'] = $config['IMG_DIR'];
$config['tmbdir'] = $config['TMB_DIR'];
$config['tmburl'] = $config['TMB_URL'];
require_once ($config[BASE_DIR] . '/smarty/libs/Smarty.class.php');
require_once ($config[BASE_DIR] . '/classes/mysmarty.class.php');
require_once ($config[BASE_DIR] . '/classes/SConfig.php');
require_once ($config[BASE_DIR] . '/classes/SError.php');
require_once ($config[BASE_DIR] . '/include/adodb/adodb.inc.php');
require_once ($config[BASE_DIR] . '/include/phpmailer/class.phpmailer.php');
require_once ($config[BASE_DIR] . '/classes/SEmail.php');
require_once ($config[BASE_DIR] . '/include/dbconfig.php');
$conn =&ADONewConnection($DBTYPE);
$conn->PConnect($DBHOST, $DBUSER, $DBPASSWORD, $DBNAME);
$sql = "SELECT * from sconfig";
$rsc = $conn->Execute($sql);
if ($rsc)
merci de votre aide j en dort plus depuis trois jours
Message édité par ericavia le 11-05-2008 à 18:18:04