error_reporting = E_ALL & ~E_NOTICE
Und ich habe das daraus gemacht

error_reporting = E_ALL & E_NOTICE
So nun habe ich den server neugestartet nu müssn wa mal kurz warten

EDIT:
Okay nun kommt das:
Notice: Undefined property: name in /srv/www/htdocs/web1/html/dat/include/functions/config_db.php on line 6
Notice: Undefined property: value in /srv/www/htdocs/web1/html/dat/include/functions/config_db.php on line 6
.....
Und das auch noch:
Notice: Undefined index: templatedir in /srv/www/htdocs/web1/html/dat/include/sites/start.php on line 2
Notice: Undefined index: templatedir in /srv/www/htdocs/web1/html/dat/include/functions/template.php on line 44
Notice: Undefined index: template in /srv/www/htdocs/web1/html/dat/include/functions/template.php on line 44
So der inhalt der Datei config_db.php
PHP-Code:
<?php
$sql = "select * from config";
$query = db_query($sql, $connect) or die ($lang["could_not_read_config"].": ".db_error($connect));
while($result = db_fetch_object($query, $connect)) {
$config[$result->name] = $result->value;
}
?>

Einen Kommentar schreiben: