Seite 1 von 1

hilfe bei einer fehlermeldung gesucht (komm nicht weiter :()

Verfasst: 26.09.2006 19:37
von migorna
hallo!

ich such jemand, der sich mal kurz die angehängte file angucken könnte, und mir evtl sagen könnte was ich ändern muss, das die user ihre profile wieder ändern können... fehler tritt auf sobald man eingeloggt is, und oben auf den Profil link klickt.

danke schonmal :)

Fehlermeldung:

Parse error: syntax error, unexpected '=' in /www/htdocs/v119601/Forum/includes/usercp_register.php on line 1009

und hier die file :) http://www.chillin-friends.de/usercp_register.txt

tausend dank :)

p.s. nur mal so aus neugier unexpected '=' bedeutet dass, das ein "=" zuviel in der zeile ist?

Verfasst: 26.09.2006 19:50
von Miriam
Es bedeutet, dass ein = an einer Stelle steht, wo es der Parser nicht erwartet.

Finde

Code: Alles auswählen

$confirm_image = '<img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id") . '" alt="" title="" />';;id=$confirm_id") . '" alt="" title="" />' : '<img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=1") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=2") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=3") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=4") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=5") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=6") . '" alt="" title="" />'; 
ersetze gegen:

Code: Alles auswählen

$confirm_image = '<img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=1") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=2") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=3") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=4") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=5") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&id=$confirm_id&c=6") . '" alt="" title="" />';
Aber was soll der ganze Code da? Ich meine, was soll er bezwecken?

Verfasst: 26.09.2006 21:20
von migorna
das ne gute frage :) glaub ich hab da nix dran geändert, werd mal nachgucken und bescheid geben! danke für die hilfe :)