Seite 1 von 1
Problem mit mod
Verfasst: 13.01.2011 15:46
von Funny99
Ich komme nicht weiter in meiner Viewtopic datei steckt irgendwo der wurm.
der Fehlercode
Code: Alles auswählen
Parse error: syntax error, unexpected ';', expecting ')' in /users/funny59/www/phpBB-3.0.7-PL1-deutsch/phpBB3/viewtopic.php on line 1674
der Code auf dieser Linie(1673-80).
Code: Alles auswählen
// phpBB Arcade Start
$arcade_data = display_arcade_highscores($poster_id, basename(__FILE__, '.' . $phpEx));
if (sizeof($arcade_data))
{
$postrow = array_merge($postrow, $arcade_data);
}
Das wegnehmen des ; Zeichnes prodziert diesen fehler.
Code: Alles auswählen
Parse error: syntax error, unexpected T_IF, expecting ')' in /users/funny59/www/phpBB-3.0.7-PL1-deutsch/phpBB3/viewtopic.php on line 1675
okey hier die komplette
datei.
der für den Textabschnitt verantwortliche mod ist der
arcade mod von jrsweets
Was soll ich tun=??
Re: Problem mit mod
Verfasst: 13.01.2011 16:22
von gloriosa
Hallo,
dazu
Funny99 hat geschrieben:Was soll ich tun=??
beachte erst einmal
das erste Thema in diesem Forum !

Re: Problem mit mod
Verfasst: 13.01.2011 16:39
von Funny99
GEÄNDERT
sonst noch wünsche?
Re: Problem mit mod
Verfasst: 13.01.2011 20:11
von Mahony
Hallo
Suche
Code: Alles auswählen
'U_POINTS_DONATE' => ($auth->acl_get('u_use_transfer')) ? append_sid("{$phpbb_root_path}points.$phpEx", "mode=transfer&i=".$poster_id."&adm_points=1&post_id=".$row['post_id']) : '',
'S_IS_OWN_POST' => ($poster_id == $user->data['user_id']) ? true : false,
Füge danach ein
Suche
Code: Alles auswählen
$arcade_data = display_arcade_highscores($poster_id, basename(__FILE__, '.' . $phpEx))
if (sizeof($arcade_data))
{
$postrow = array_merge($postrow, $arcade_data);
}
Ersetze mit
Code: Alles auswählen
$arcade_data = display_arcade_highscores($poster_id, basename(__FILE__, '.' . $phpEx));
if (sizeof($arcade_data))
{
$postrow = array_merge($postrow, $arcade_data);
}
// phpBB Arcade End
Grüße: Mahony
Re: Problem mit mod
Verfasst: 14.01.2011 15:04
von Funny99
Danke für die schnelle Antwort.
Jetzt bekomme ich aber ein Debug Notice
Code: Alles auswählen
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1682: array_merge() [function.array-merge]: Argument #2 is not an array
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4457: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3516)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4459: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3516)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4460: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3516)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4461: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3516)
und
Code: Alles auswählen
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4461: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3516)
manchmal
hab die fuctions.php mal
hochgeladen.
Ach und ich kann jetzt zwar einen topic aufrufen bekomme aber nur das Layout. nicht den post zu sehen.
MFG
FUNNY
Re: Problem mit mod
Verfasst: 14.01.2011 23:46
von Mahony
Hallo
Suche in der viewtopic.php
Code: Alles auswählen
if (isset($cp_row['row']) && sizeof($cp_row['row'])) ;
{
$postrow = array_merge($postrow, $cp_row['row']);
}
Ersetze mit
Code: Alles auswählen
if (isset($cp_row['row']) && sizeof($cp_row['row']))
{
$postrow = array_merge($postrow, $cp_row['row']);
}
Grüße: Mahony
Re: Problem mit mod
Verfasst: 15.01.2011 13:10
von Funny99
Vielen dank für die Schnelle hilfe.
M
F
G
FUNNY99