Seite 1 von 2

Parse error: syntax error, unexpected T_STRING, expecting ')

Verfasst: 12.02.2007 08:47
von Kewwwin
Hallo,

mir ist gerade aufgefallen, dass i-wo ein Fehler in eienr Datei sein muss. Leider komme ich nicht drauf was. Es zeigt mir an:

Parse error: syntax error, unexpected T_STRING, expecting ')' in /var/www/user/domain.net/includes/usercp_avatar.php on line 306

Leider finde ich in dieser Zeile nichts :(

Die Datei usercp_avatar.php gibtz hier: http://uploaded.to/?id=hisw6h

Danke für eure Hilfe. Bitte sagt mir auch, was genau falsch war, denn ich möchte es auch gerne wissen ;)

Verfasst: 12.02.2007 08:54
von Yoshi
Hi,

versuche es mal damit, vielleicht geht es:

finde und ersetze diesen Block:

Code: Alles auswählen

function display_avatar_gallery($mode, &$category, &$user_id, &$email, &$current_email, &$coppa, &$username, &$email, &$new_password, &$cur_password, &$password_confirm, &$icq, &$aim, &$msn, &$yim, &$website, &$location, &$occupation, &$interests, &$signature, &$viewemail, &$notifypm, &$popup_pm, &$notifyreply, &$attachsig, &$allowhtml, &$allowbbcode, &$allowsmilies, &$hideonline, &$style, &$language, &$timezone, &$dateformat, &$session_id, &$birthdayfunction, &$display_avatar_gallery($mode, &$category, &$user_id, &$email, &$current_email, &$coppa, &$username, &$email, &$new_password, &$cur_password, &$password_confirm, &$icq, &$aim, &$msn, &$yim, &$website, &$location, &$occupation, &$interests, &$signature, &$viewemail, &$notifypm, &$popup_pm, &$notifyreply, &$attachsig, &$allowhtml, &$allowbbcode, &$allowsmilies, &$hideonline, &$style, &$language, &$timezone, &$dateformat, &$session_id, &$birthdayfunction, &$display_avatar_gallery($mode, &$category, &$user_id, &$email, &$current_email, &$coppa, &$username, &$email, &$new_password, &$cur_password, &$password_confirm, &$icq, &$aim, &$msn, &$yim, &$website, &$location, &$occupation, &$interests, &$signature, &$viewemail, &$notifypm, &$popup_pm, &$notifyreply, &$attachsig, &$allowhtml, &$allowbbcode, &$allowsmilies, &$hideonline, &$style, &$language, &$timezone, &$dateformat, &$session_id, &$birthday, &$gender) ) )
{
Komma und &$ gesetzt bei display_avatar_gallery

Verfasst: 12.02.2007 09:02
von Kewwwin
Jetzt kommt das:

Parse error: syntax error, unexpected '(', expecting ')' in /var/www/user/downloadz.xail.net/includes/usercp_avatar.php on line 306

???

Verfasst: 12.02.2007 09:07
von Yoshi
Hm.. bin auch kein Guru aber hast du auch versucht auch die Kommas am ende mal zu entfernen? Du hast da 3. Ich würde mal eins rausnehmen dann zwei. Ich meine da dürfte nur eins sein. So lerne ich das auch immer LOL. Sonst wüsste ich es leider auch nicht... :oops:

Verfasst: 12.02.2007 09:11
von Kewwwin
Komma???

Ich dahcte die ) bzw. ( gehören weg??

Verfasst: 12.02.2007 09:18
von Dr.Death
Hm,

du hast da ein paar mal etwas zuviel eingefügt.

So sollte es richtig sein ( inkl. Birthday Mod ):

Code: Alles auswählen

function display_avatar_gallery($mode, &$category, &$user_id, &$email, &$current_email, &$coppa, &$username, &$email, &$new_password, &$cur_password, &$password_confirm, &$icq, &$aim, &$msn, &$yim, &$website, &$location, &$occupation, &$interests, &$signature, &$viewemail, &$notifypm, &$popup_pm, &$notifyreply, &$attachsig, &$allowhtml, &$allowbbcode, &$allowsmilies, &$hideonline, &$style, &$language, &$timezone, &$dateformat, &$session_id, &$birthday )

Verfasst: 12.02.2007 09:22
von Kewwwin
Kann ich das gender jetzt zusätzlich inten einfügen??? habe ja den Gender hack auch installiert?

Verfasst: 12.02.2007 10:01
von Dr.Death
Klar, das hatte ich übersehen in der Eile....

Code: Alles auswählen

function display_avatar_gallery($mode, &$category, &$user_id, &$email, &$current_email, &$coppa, &$username, &$email, &$new_password, &$cur_password, &$password_confirm, &$icq, &$aim, &$msn, &$yim, &$website, &$location, &$occupation, &$interests, &$signature, &$viewemail, &$notifypm, &$popup_pm, &$notifyreply, &$attachsig, &$allowhtml, &$allowbbcode, &$allowsmilies, &$hideonline, &$style, &$language, &$timezone, &$dateformat, &$session_id, &$birthday, &$gender )

Verfasst: 12.02.2007 21:03
von Kewwwin
Oka danke das hat geklappt... Aber ich habe hier noch nen Fehler... vllt is da wieder mal zu viel kanns mir aber net vorstellen Oô

Parse error: syntax error, unexpected ')' in /var/www/user/domain.net/privmsg.php on line 1423

http://uploaded.to/?id=g699of

Thx =)

Verfasst: 12.02.2007 21:03
von Dr.Death
Tjo, Deine hochgeladene Datei ist unvollständig.

Lade die Datei mal "vernünftig" hoch ( wie, siehe meine Signatur )