Seite 1 von 3

Parse error bei Aufruf Moderations-Bereich

Verfasst: 16.11.2008 12:09
von Ottokar
phpBB Version: 3.0.3
PHP Version: 5.2.5
mysql: 5.0.24
keine Mod's installiert
Fehler ist beim Style prosilver und subsilver2 gleich und bestand auch schon bei phpbb Version 3.0.1

Wenn ich den Moderations-Bereich aufrufe, erhalte ich folgende Fehlermeldungen:

Code: Alles auswählen

Parse error: syntax error, unexpected ',' in /WWWROOT/143969/htdocs/includes/functions_module.php(328) : eval()'d code on line 1

Parse error: syntax error, unexpected ',' in /WWWROOT/143969/htdocs/includes/functions_module.php(328) : eval()'d code on line 1

Parse error: syntax error, unexpected ',' in /WWWROOT/143969/htdocs/includes/functions_module.php(328) : eval()'d code on line 1

Parse error: syntax error, unexpected ',' in /WWWROOT/143969/htdocs/includes/functions_module.php(328) : eval()'d code on line 1

Parse error: syntax error, unexpected ',' in /WWWROOT/143969/htdocs/includes/functions_module.php(328) : eval()'d code on line 1

Parse error: syntax error, unexpected ',' in /WWWROOT/143969/htdocs/includes/functions_module.php(328) : eval()'d code on line 1

Parse error: syntax error, unexpected ',' in /WWWROOT/143969/htdocs/includes/functions_module.php(328) : eval()'d code on line 1

Parse error: syntax error, unexpected ',' in /WWWROOT/143969/htdocs/includes/functions_module.php(328) : eval()'d code on line 1
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3729: Cannot modify header information - headers already sent by (output started at /includes/functions_module.php(328) : eval()'d code:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3731: Cannot modify header information - headers already sent by (output started at /includes/functions_module.php(328) : eval()'d code:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3732: Cannot modify header information - headers already sent by (output started at /includes/functions_module.php(328) : eval()'d code:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3733: Cannot modify header information - headers already sent by (output started at /includes/functions_module.php(328) : eval()'d code:1)
danach folgt der Header und der Moderationsbereich, wo allerdings die Schrift viel zu groß ist.
Wenn ich im Administrations-Bereich im Register "System" das Modul "Moderations-Bereich" anklicke, erhalte ich folgende Fehlermeldung:

Code: Alles auswählen

Parse error: syntax error, unexpected ',' in /WWWROOT/143969/htdocs/includes/functions_module.php(328) : eval()'d code on line 1

Parse error: syntax error, unexpected ',' in /WWWROOT/143969/htdocs/includes/functions_module.php(328) : eval()'d code on line 1

Parse error: syntax error, unexpected ',' in /WWWROOT/143969/htdocs/includes/functions_module.php(328) : eval()'d code on line 1

Parse error: syntax error, unexpected ',' in /WWWROOT/143969/htdocs/includes/functions_module.php(328) : eval()'d code on line 1

Parse error: syntax error, unexpected ',' in /WWWROOT/143969/htdocs/includes/functions_module.php(328) : eval()'d code on line 1

Parse error: syntax error, unexpected ',' in /WWWROOT/143969/htdocs/includes/functions_module.php(328) : eval()'d code on line 1

Parse error: syntax error, unexpected ',' in /WWWROOT/143969/htdocs/includes/functions_module.php(328) : eval()'d code on line 1

Parse error: syntax error, unexpected ',' in /WWWROOT/143969/htdocs/includes/functions_module.php(328) : eval()'d code on line 1
[phpBB Debug] PHP Notice: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /includes/functions_module.php(328) : eval()'d code:1)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /includes/functions_module.php(328) : eval()'d code:1)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/functions_module.php(328) : eval()'d code:1)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /includes/functions_module.php(328) : eval()'d code:1)
danach folgt der Header und nichts weiter.
In der Zeile 328 von functions_module.php kann ich keinen Fehler erkennen, aber daran liegt es vermutlich auch nicht.

Woran kann das liegen?

Verfasst: 16.11.2008 13:42
von Metzle
Hallo,

schau mal in der Zeile 1 der Datei includes/functions_module.php, ob da irgendwie ne Leerzeile oder derartiges ist, was da nicht hingehört.

Verfasst: 16.11.2008 13:53
von Würzi
Alternativ lade die includes/functions_module.php mal neu hoch aus einem frischen Paket.

Ich kenne jemanden, der hatte das gleiche Problem, wenn ich mich recht erinnere.

Verfasst: 16.11.2008 14:11
von Ottokar
Danke euch, aber die Datei functions_module.php enthält keine Leerzeile am Anfang und ich habe sie bereits durch eine Version aus dem kompletten 3.0.3. Paket ersetzt.

Das für mich Unsinnige ist ja, dass alle acht ',' der Befehlsliste in der Codezeile 328 angemeckert werden:

Code: Alles auswählen

eval('$is_auth = (int) (' . preg_replace(array('#acl_([a-z0-9_]+)(,\$id)?#', '#\$id#', '#aclf_([a-z0-9_]+)#', '#cfg_([a-z0-9_]+)#', '#request_([a-zA-Z0-9_]+)#'), array('(int) $auth->acl_get(\'\\1\'\\2)', '(int) $forum_id', '(int) $auth->acl_getf_global(\'\\1\')', '(int) $config[\'\\1\']', '!empty($_REQUEST[\'\\1\'])'), $module_auth) . ');');
Noch andere Ideen?

Verfasst: 16.11.2008 14:22
von Würzi
Was benutzt du für ein FTP Programm bzw. Transfertyp (auto, binär, ASCII) ?

Verfasst: 16.11.2008 14:39
von Ottokar
Würzi hat geschrieben:Was benutzt du für ein FTP Programm bzw. Transfertyp (auto, binär, ASCII) ?
WS_FTP Pro 8, Transfertyp: automatisch

Verfasst: 16.11.2008 15:23
von Würzi
Hmm....

Verstehe ich jetzt ehrlich gesagt nicht so richtig. Du hast keine Modifikationen eingebaut und deine includes/functions_module.php meckert.
Diese wird meines Wissens nicht mal beim Einbau von Mods verändert.

Deswegen vermute ich ja einen fehlerhaften Fileupload.

Vielleicht hilft noch die Verwendung eines anderen FTP Programmes.

Ich benutze wie viele anderen hier auch Filezilla. Vielleicht versuchst es mal mit diesem.

Wenns dann auch nicht klappt... dann keine Ahnung. :oops:

Verfasst: 16.11.2008 15:41
von Ottokar
Da ich sowohl das Update auf 3.0.2 als auch auf 3.0.3 mit WS_FTP hochgeladen habe, was übrigends anstandslos funkionierte, kann es definitiv nicht am FTP-Programm liegen.

Verfasst: 16.11.2008 15:44
von Würzi
War ja auch nur ein Vorschlag :wink:

Die Wege des Herrn sind unergründlich, deshalb sollte man eben allen Möglichkeiten nachgehen. :wink:

Verfasst: 16.11.2008 15:55
von Ottokar
Ich bin dankbar für jede Hilfe :wink: