Als ik een bericht edit komt er bij posting.php een blanko pagina te staan.
Het bericht is wel aangepast.
Hoe komt dit?
Link naar het forum: Klik (Geen spam toch? Zo wel, verwijder de link maar mods).
Aan welk bestand ligt dit?
Na editten blanko pagina?
Forumregels
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.

Zoek in common.php deze regel
Vervang door
Zie je dan wel fouten?
Code: Selecteer alles
error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variablesCode: Selecteer alles
// error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables
error_reporting (E_ALL);... Maar ik modereer (nog) niet.
Nopez, helemaal geen errors, alleen die witte pagina.
Ik heb pas deze mod geinstalleerd, kan het daar aan liggen?Er is nog meer van die mod, maar dit is alleen posting.php
Als ik dat error_reporting aanzet, wordt mijn hele forum wit
Ik heb pas deze mod geinstalleerd, kan het daar aan liggen?
Code: Selecteer alles
#-----[ FIND ]------------------------------------------------
#
include($phpbb_root_path . 'includes/functions_post.'.$phpEx);
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Log actions MOD Start
include($phpbb_root_path . 'includes/functions_log.'.$phpEx);
// Log actions MOD End
#
#-----[ FIND ]------------------------------------------------
#
switch ( $mode )
{
case 'editpost':
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Log Actions Start
$username = ( !empty($HTTP_POST_VARS['username']) ) ? $HTTP_POST_VARS['username'] : '';
$subject = ( !empty($HTTP_POST_VARS['subject']) ) ? trim($HTTP_POST_VARS['subject']) : '';
$message = ( !empty($HTTP_POST_VARS['message']) ) ? $HTTP_POST_VARS['message'] : '';
$poll_title = ( isset($HTTP_POST_VARS['poll_title']) && $is_auth['auth_pollcreate'] ) ? $HTTP_POST_VARS['poll_title'] : '';
$poll_options = ( isset($HTTP_POST_VARS['poll_option_text']) && $is_auth['auth_pollcreate'] ) ? $HTTP_POST_VARS['poll_option_text'] : '';
$poll_length = ( isset($HTTP_POST_VARS['poll_length']) && $is_auth['auth_pollcreate'] ) ? $HTTP_POST_VARS['poll_length'] : '';
$bbcode_uid = '';
prepare_post($mode, $post_data, $bbcode_on, $html_on, $smilies_on, $error_msg, $username, $bbcode_uid, $subject, $message, $poll_title, $poll_options, $poll_length);
if ( $error_msg == '' )
{
$topic_type = ( $topic_type != $post_data['topic_type'] && !$is_auth['auth_sticky'] && !$is_auth['auth_announce'] ) ? $post_data['topic_type'] : $topic_type;
submit_post($mode, $post_data, $return_message, $return_meta, $forum_id, $topic_id, $post_id, $poll_id, $topic_type, $bbcode_on, $html_on, $smilies_on, $attach_sig, $bbcode_uid, str_replace("\'", "''", $username), str_replace("\'", "''", $subject), str_replace("\'", "''", $message), str_replace("\'", "''", $poll_title), $poll_options, $poll_length);
// Log actions MOD Start
if ( $is_auth['auth_mod'] )
{
log_action('edit', $topic_id, $userdata['user_id'], $userdata['username']);
}
// Log actions MOD End
}
break;
// Log Action End
#
#-----[ FIND ]-------------------------------------------------
#
delete_post(
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Log actions MOD Start
if ( $is_auth['auth_mod'] )
{
log_action('delete', $topic_id, $userdata['user_id'], $userdata['username']);
}
// Log actions MOD End
Als ik dat error_reporting aanzet, wordt mijn hele forum wit