whynot Well-known member Aug 20, 2013 #1 The following error occurred The server responded with an error. The error message is in the JavaScript console. Click to expand... Since the upgrade to 1.2.1 we cannot start a PC.
The following error occurred The server responded with an error. The error message is in the JavaScript console. Click to expand... Since the upgrade to 1.2.1 we cannot start a PC.
Jeremy in memoriam 1991-2020 Aug 20, 2013 #2 If you open the JavaScript console, what's the error? Upvote 0 Downvote
whynot Well-known member Aug 20, 2013 #3 ErrorException: Fatal Error: syntax error, unexpected T_FUNCTION - library/XenForo/Mail.php:362 Upvote 0 Downvote
B borbole Well-known member Aug 20, 2013 #4 whynot said: ErrorException: Fatal Error: syntax error, unexpected T_FUNCTION - library/XenForo/Mail.php:362 Click to expand... Try to overwrite the file mentioned in the error message with a fresh one from the xenforo 1.2. package and see if it would help. Upvote 0 Downvote
whynot said: ErrorException: Fatal Error: syntax error, unexpected T_FUNCTION - library/XenForo/Mail.php:362 Click to expand... Try to overwrite the file mentioned in the error message with a fresh one from the xenforo 1.2. package and see if it would help.
whynot Well-known member Aug 20, 2013 #5 borbole said: Try to overwrite the file mentioned in the error message with a fresh one from the xenforo 1.2. package and see if it would help. Click to expand... Rushing to work. I'll do it, thank you! Upvote 0 Downvote
borbole said: Try to overwrite the file mentioned in the error message with a fresh one from the xenforo 1.2. package and see if it would help. Click to expand... Rushing to work. I'll do it, thank you!
whynot Well-known member Aug 21, 2013 #6 Downloaded and uploaded the whole upgrade package. Uninstalled Resource Manager. Cleared browser cache. Used another browser. The problem insist. Code: if ($emailIsRtl) { $__bodyHtml = preg_replace_callback('/<rtlcss>(.*)<\/rtlcss>/sU', function ($matches) { return XenForo_Template_Helper_RightToLeft::getRtlCss($matches[1]); }, $__bodyHtml); } else Line 362: $__bodyHtml = preg_replace_callback('/<rtlcss>(.*)<\/rtlcss>/sU', function ($matches) Click to expand... Last edited: Aug 21, 2013 Upvote 0 Downvote
Downloaded and uploaded the whole upgrade package. Uninstalled Resource Manager. Cleared browser cache. Used another browser. The problem insist. Code: if ($emailIsRtl) { $__bodyHtml = preg_replace_callback('/<rtlcss>(.*)<\/rtlcss>/sU', function ($matches) { return XenForo_Template_Helper_RightToLeft::getRtlCss($matches[1]); }, $__bodyHtml); } else Line 362: $__bodyHtml = preg_replace_callback('/<rtlcss>(.*)<\/rtlcss>/sU', function ($matches) Click to expand...
whynot Well-known member Aug 21, 2013 #7 }, $__bodyHtml); Click to expand... What is the comma for? Upvote 0 Downvote
Mike XenForo developer Staff member Aug 21, 2013 #8 http://xenforo.com/community/threads/xenforo-1-2-1-released.58022/#post-618539 Upvote 0 Downvote
whynot Well-known member Aug 21, 2013 #10 It works,Mike. I've had two error dialog message boxes when posting - it says the error message is in the javascript console. Both posts were successful though so it seems to be cosmetic. Make that three - it happened again. Click to expand... That came from one of the members before patching mail.php. Upvote 0 Downvote
It works,Mike. I've had two error dialog message boxes when posting - it says the error message is in the javascript console. Both posts were successful though so it seems to be cosmetic. Make that three - it happened again. Click to expand... That came from one of the members before patching mail.php.