functions.api.general.php Fehler beseitigen
Verfasst: Mo 11. Dez 2006, 10:00
Hallo,
nach dem Einloggen bekomme ich immer folgenden Hinweis (der nervt):
Notice: Warning: Can't add /usr/export/www/hosting/drjasmin/pear/ to include_path in /usr/export/www/hosting/drjasmin/contenido/includes/api/functions.api.general.php on line 94
Ich habe hier im Forum gesucht und herausgefunden, warum das so ist. Okay. Ich habe auch gelesen, das es möglich ist, diese Hinweise auszukommentieren. Klasse, aber ich bekomme das nicht genau hin.
Auszug aus functions.api.general.php:
if (!preg_match("|".$cfg['path']['pear']."|i", $include_path)) {
// contenido pear path is not set in include_path
// we try to add it via ini_set
if (!@ini_set( 'include_path' , $include_path.PATH_SEPARATOR.$cfg['path']['pear'])) {
// not able to change include_path
trigger_error("Warning: Can't add {$cfg['path']['pear']} to include_path", E_USER_NOTICE);
$include = $cfg['path']['pear'] . $what; unset($where);
} else {
$paths = explode(PATH_SEPARATOR, ini_get('include_path'));
$last = count($paths)-1;
if ($last >= 2) {
$tmp = $paths[1];
$paths[1] = $paths[$last];
$paths[$last] = $tmp;
@ini_set( 'include_path' ,implode(PATH_SEPARATOR, $paths));
Den roten Teil habe ich gelöscht. Aber es bleibt folgender Satz übrig (nervt immer noch):
in /usr/export/www/hosting/drjasmin/contenido/includes/api/functions.api.general.php on line 94
Wie kann ich diesen wegbekommen?
Danke für eure Hilfe
Kay
nach dem Einloggen bekomme ich immer folgenden Hinweis (der nervt):
Notice: Warning: Can't add /usr/export/www/hosting/drjasmin/pear/ to include_path in /usr/export/www/hosting/drjasmin/contenido/includes/api/functions.api.general.php on line 94
Ich habe hier im Forum gesucht und herausgefunden, warum das so ist. Okay. Ich habe auch gelesen, das es möglich ist, diese Hinweise auszukommentieren. Klasse, aber ich bekomme das nicht genau hin.
Auszug aus functions.api.general.php:
if (!preg_match("|".$cfg['path']['pear']."|i", $include_path)) {
// contenido pear path is not set in include_path
// we try to add it via ini_set
if (!@ini_set( 'include_path' , $include_path.PATH_SEPARATOR.$cfg['path']['pear'])) {
// not able to change include_path
trigger_error("Warning: Can't add {$cfg['path']['pear']} to include_path", E_USER_NOTICE);
$include = $cfg['path']['pear'] . $what; unset($where);
} else {
$paths = explode(PATH_SEPARATOR, ini_get('include_path'));
$last = count($paths)-1;
if ($last >= 2) {
$tmp = $paths[1];
$paths[1] = $paths[$last];
$paths[$last] = $tmp;
@ini_set( 'include_path' ,implode(PATH_SEPARATOR, $paths));
Den roten Teil habe ich gelöscht. Aber es bleibt folgender Satz übrig (nervt immer noch):
in /usr/export/www/hosting/drjasmin/contenido/includes/api/functions.api.general.php on line 94
Wie kann ich diesen wegbekommen?
Danke für eure Hilfe
Kay