DurbanYouthCouncil
New Member
- Messages
- 44
- Reaction score
- 0
- Points
- 0
Hi there guys, got some troubles with my script:
The error i receive from this is:
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /home/liquatic/public_html/includes/page_tail.php on line 66
All help is appreciated! And if you see any other errors in the script, please let me know so i can get this up and running
Edit:
Sorry for double post, but i am also having this problem when i log into my account:
An Error Has Occurred
Although you've logged in successfully, there was an error retrieving your account's hosting type from the backend system.
Please post on our forums to seek support on this issue.
Code:
#-----[ OPEN ]------------------------------------------
#
includes/page_tail.php
#
#-----[ FIND ]------------------------------------------
#
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><br />' : '';
#
#-----[ AFTER, ADD ]------------------------------------------
#
/*******************
** MOD: Report Posts
*******************/
// BEGIN : AFTER, ADD
include_once($phpbb_root_path . 'includes/functions_report.'.$phpEx);
if ( $userdata['user_level'] >= ADMIN )
{
$open_reports = reports_count();
if ( $open_reports == 0 )
{
$open_reports = sprintf($lang['Post_reports_none_cp'],$open_reports);
}
else
{
$open_reports = sprintf(( ($open_reports == 1) ? $lang['Post_reports_one_cp'] : $lang['Post_reports_many_cp']), $open_reports);
$open_reports = '<b style="color:#' . $theme['fontcolor2'] . '">' . $open_reports . '</b>';
}
$report_link = ' <a href="' . append_sid($phpbb_root_path . 'viewpost_reports.'.$phpEx) . '">' . $open_reports . '</a> ';
}
else
{
$report_link = '';
}
// END : AFTER, ADD
#
#-----[ FIND ]------------------------------------------
#
'ADMIN_LINK' => $admin_link)
#
#-----[ BEFORE, ADD ]------------------------------------------
#
/*******************
** MOD: Report Posts
*******************/
// BEGIN : BEFORE, ADD
'REPORT_LINK' => $report_link,
// END : BEFORE, ADD
The error i receive from this is:
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /home/liquatic/public_html/includes/page_tail.php on line 66
All help is appreciated! And if you see any other errors in the script, please let me know so i can get this up and running
Edit:
Sorry for double post, but i am also having this problem when i log into my account:
An Error Has Occurred
Although you've logged in successfully, there was an error retrieving your account's hosting type from the backend system.
Please post on our forums to seek support on this issue.
Last edited: