Seite 1 von 1

Brauche dringend Hilfe beim Attachment MOD

Verfasst: 28.02.2005 07:54
von deister
Hallo,

ich habe nach der Installation des Attachment Mod folgende Fehlermeldung:

Fatal error: Call to undefined function: phpbb_realpath() in /homepages/20/d31443913/htdocs/duran/includes/template.php on line 274

Kann mir jemand weiterhelfen?
Wäre dringend!

Vielen Dank im Voraus für Eure Mühe,
Deister

Verfasst: 28.02.2005 08:27
von Mario Siebert
Ist dieser Teil aus der functions.php bei dir vorhanden?

Code: Alles auswählen

//
// This function is for compatibility with PHP 4.x's realpath()
// function.  In later versions of PHP, it needs to be called
// to do checks with some functions.  Older versions of PHP don't
// seem to need this, so we'll just return the original value.
// dougk_ff7 <October 5, 2002>
function phpbb_realpath($path)
{
	global $phpbb_root_path, $phpEx;

	return (!@function_exists('realpath') || !@realpath($phpbb_root_path . 'includes/functions.'.$phpEx)) ? $path : @realpath($path);
}
Wenn nicht füg ihn mal davor ein:

Code: Alles auswählen

function redirect($url)
{
Grüße Mario

Verfasst: 28.02.2005 08:43
von deister
Hallo Mario,

Danke das war der Fehler jetzt klappt es!!! :grin:
Prima danke noch mal, wenn ich wieder mal etwas hab komme ich gern auf dich zurück!!

Vielen Dank nochmal,
Ciao Deister 8)