Seite 1 von 1

fehler im mini profil mod

Verfasst: 16.07.2004 18:05
von zorb!
hi,
habe gerade den mod für das mini profil installiert, leider ohne erfolg :-(
ich bekomme folgenden fehler:

Parse error: parse error, unexpected T_ELSEIF in /homepages/37/d105280836/htdocs/profile.php on line 91

was kann ich tun?
bin die änderungen noch mal durchgegenagen, und es stimmt alles mit der
anleitung überein.

danke zorb!

fehler live sehen? dann hier lang.

Verfasst: 18.07.2004 23:37
von Markus67
Hi ...

Speichere mal die profile.php als txt-Date und verlinke sie hier ...

Hast du auch noch einen Link zum MOD ?

Markus

Verfasst: 19.07.2004 09:24
von zorb!
hi,
hier die profile.php
und hier der link zum mod

Verfasst: 19.07.2004 09:33
von Leuchte
Suche

Code: Alles auswählen

exit;// Begin Mini Profile
	elseif ( $mode == 'miniprofile' )
	{
		include($phpbb_root_path . 'includes/usercp_miniprofile.'.$phpEx);
		exit;
	}
	// End Mini Profile
Ersetze mit

Code: Alles auswählen

exit;
  }
  // Begin Mini Profile
	elseif ( $mode == 'miniprofile' )
	{
		include($phpbb_root_path . 'includes/usercp_miniprofile.'.$phpEx);
		exit;
	}
	// End Mini Profile

Verfasst: 19.07.2004 09:38
von Markus67
Hi ...

suche in der profile.php

Code: Alles auswählen

		include($phpbb_root_path . 'includes/usercp_viewprofile.'.$phpEx);
		exit;// Begin Mini Profile
	elseif ( $mode == 'miniprofile' )
	{
		include($phpbb_root_path . 'includes/usercp_miniprofile.'.$phpEx);
		exit;
	}
	// End Mini Profile
ersetze mit:

Code: Alles auswählen

		include($phpbb_root_path . 'includes/usercp_viewprofile.'.$phpEx);
		exit;
	}
	// Begin Mini Profile
	elseif ( $mode == 'miniprofile' )
	{
		include($phpbb_root_path . 'includes/usercp_miniprofile.'.$phpEx);
		exit;
	}
	// End Mini Profile
Markus

Verfasst: 19.07.2004 09:52
von zorb!
mhh, danke für den tip, hab die entsprechende zeile geändert, nun kommt
folgendes

Parse error: parse error, unexpected '}' in /homepages/37/d105280836/htdocs/profile.php on line 125

Verfasst: 19.07.2004 10:14
von Markus67
Hi ...

speichere die Datei nochmal neu als txt-Datei ab und verlinke sie nochmal

Markus

Verfasst: 19.07.2004 10:24
von zorb!

Verfasst: 19.07.2004 10:38
von Markus67
Hi ...

suche:
// End Mini Profile
}
Diese Klammer bitte entfernen ...

Markus