MyBB Community Forums
Forums Crashed - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: Forums Crashed (/thread-103160.html)



Forums Crashed - Toon World - 2011-09-04

My forums recently crashed, and this error shows up:

Parse error: syntax error, unexpected T_VARIABLE, expecting '{' in /home/soul/public_html/forums/inc/functions.php on line 418

I've located the 418th line of the php file, but cannot find the T that is causing this. Here's the code:

function my_mail($to, $subject, $message, $headers) $from="", $charset="", $headers="", $keep_alive=false, $format="text", $message_text="", $return_email="")



RE: Forums Crashed - Matt - 2011-09-04

Reupload a copy of that file from a fresh download. This wouldn't have just happened all by itself though, the file's corrupt or incomplete.