MyBB Community Forums

Full Version: strange usercp.php problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
FYI:

Twice now I have found my userCP broken - the visual result is that nothing shows beneath the user's name. Checking the file itself shows that it was freshly updated somehow, instead of having the proper date (which would be the date of the rest of the files).


Uploading a fresh copy fixes the problem.

error_log:
[04-May-2011 20:12:54] PHP Parse error:  syntax error, unexpected ')', expecting ',' or ';' in /home/xxx/public_html/forum/usercp.php on line 58
[04-May-2011 20:13:29] PHP Parse error:  syntax error, unexpected ')', expecting ',' or ';' in /home/xxx/public_html/forum/usercp.php on line 58
The error tells you the problem.
unexpected ')', expecting ',' or ';' in /home/xxx/public_html/forum/usercp.php on line 58
A file would not just edit itself, check your host if they maybe be replacing the files from a backup or something.