MyBB Community Forums

Full Version: Unable to load admin section
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello
My forum was hacked few hours ago, and some reading around i have been able to load the site again. However i am not able to access the admin section, i get the following error from the log file.

[27-Nov-2011 04:52:18] PHP Parse error:  syntax error, unexpected T_STRING, expecting ',' or ';' in /home/USER/public_html/forum/admin/inc/class_page.php on line 120
[27-Nov-2011 04:53:18] PHP Parse error:  syntax error, unexpected T_STRING, expecting ',' or ';' in /home/USER/public_html/forum/admin/inc/class_page.php on line 120
[27-Nov-2011 04:53:20] PHP Parse error:  syntax error, unexpected T_STRING, expecting ',' or ';' in /home/USER/public_html/forum/admin/inc/class_page.php on line 120
[27-Nov-2011 05:06:35] PHP Parse error:  syntax error, unexpected T_STRING, expecting ',' or ';' in /home/USER/public_html/forum/admin/inc/class_page.php on line 120
[27-Nov-2011 05:07:34] PHP Parse error:  syntax error, unexpected T_STRING, expecting ',' or ';' in /home/USER/public_html/forum/admin/inc/class_page.php on line 120
[27-Nov-2011 05:07:36] PHP Parse error:  syntax error, unexpected T_STRING, expecting ',' or ';' in /home/USER/public_html/forum/admin/inc/class_page.php on line 120
[27-Nov-2011 05:08:37] PHP Parse error:  syntax error, unexpected T_STRING, expecting ',' or ';' in /home/USER/public_html/forum/admin/inc/class_page.php on line 120

My understanding is that the exploit was not that serious to alter my admin section access. Please advise.
Thanks
Reupload /admin/inc/class_page.php from a fresh package.
Thanks, that helped.