Die Zeile lautet:Parse error: parse error, unexpected '=' in /homepages/43/d100862137/htdocs/phpBB2/includes/functions_cache.php on line 326
Ich seh daran kein Fehler und laut Fix soll die Zeile so heissen...$cache_path = 'includes/';
Die Zeile lautet:Parse error: parse error, unexpected '=' in /homepages/43/d100862137/htdocs/phpBB2/includes/functions_cache.php on line 326
Ich seh daran kein Fehler und laut Fix soll die Zeile so heissen...$cache_path = 'includes/';
Code: Alles auswählen
'GROUP_IDS' => $s_group_ids,
'GROUP_NAMES' => $s_group_names,
)
);
}
// transfert to a var
$template->assign_var_from_handle('def_tree', 'def_tree');
$res = "<?php\n" . $template->_tpldata['.'][0]['def_tree'] . "\n?>";
// output to file
$fname = $phpbb_root_path . './includes/def_tree.' . $phpEx;
@chmod($fname, 0666);
$handle = @fopen($fname, 'w');
@fwrite($handle, $res);
@fclose($handle);
}
function cache_tree_level($main, &$parents, &$cats, &$forums, $level=-1)
{
Code: Alles auswählen
'GROUP_IDS' => $s_group_ids,
'GROUP_NAMES' => $s_group_names,
)
);
}
// transfert to a var
$template->assign_var_from_handle('def_tree', 'def_tree');
$res = "<?php\n" . $template->_tpldata['.'][0]['def_tree'] . "\n?>";
// output to file
$cache_path = 'includes/';
$handle = @fopen($phpbb_root_path . $cache_path . $cache_file . '.' . $phpEx, 'w');
@flock($fp, LOCK_EX);
@fwrite($handle, $res);
@flock($fp, LOCK_UN);
@fclose($handle);
@umask(0000);
@chmod($phpbb_root_path . $cache_path . $cache_file . '.' . $phpEx, 0666);}
}
function cache_tree_level($main, &$parents, &$cats, &$forums, $level=-1)
{
Code: Alles auswählen
@chmod($phpbb_root_path . $cache_path . $cache_file . '.' . $phpEx, 0666);} Code: Alles auswählen
$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : color_group_colorize_name($forum_data[$j]['user_id']);
Code: Alles auswählen
$last_post .= ( $data['tree.post_user_id'] == ANONYMOUS ) ? $data['tree.post_username'] . ' ' : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $data['tree.post_user_id']) . '">' . $data['tree.post_username'] . '</a> ';
Code: Alles auswählen
$last_post .= ( $data['tree.post_user_id'] == ANONYMOUS ) ? $data['tree.post_username'] . ' ' : color_group_colorize_name($forum_data[$j]['user_id']);Code: Alles auswählen
$last_post .= ( $data['tree.post_user_id'] == ANONYMOUS ) ? $data['tree.post_user_id'] : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=".$data['tree.post_user_id']) . '">'.$data['tree.post_username'].'</a>';Code: Alles auswählen
$last_post .= ( $data['tree.post_user_id'] == ANONYMOUS ) ? $data['tree.post_user_id'] : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=".$data['tree.post_user_id']) . '">'.color_group_colorize_name($data['tree.post_user_id'], true).'</a>';