1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

The error message is in the JavaScript console.

Discussion in 'Troubleshooting and Problems' started by whynot, Aug 20, 2013.

  1. whynot

    whynot Well-Known Member

    Since the upgrade to 1.2.1 we cannot start a PC.
  2. Jeremy

    Jeremy Well-Known Member

    If you open the JavaScript console, what's the error?
  3. whynot

    whynot Well-Known Member

    ErrorException: Fatal Error: syntax error, unexpected T_FUNCTION - library/XenForo/Mail.php:362
  4. borbole

    borbole Well-Known Member

    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 likes this.
  5. whynot

    whynot Well-Known Member

    Rushing to work. I'll do it, thank you!
    borbole likes this.
  6. whynot

    whynot Well-Known Member

    Downloaded and uploaded the whole upgrade package.
    Uninstalled Resource Manager.
    Cleared browser cache.
    Used another browser.

    The problem insist.

    if ($emailIsRtl)
                $__bodyHtml = preg_replace_callback('/<rtlcss>(.*)<\/rtlcss>/sU', function ($matches)
                    return XenForo_Template_Helper_RightToLeft::getRtlCss($matches[1]);
                }, $__bodyHtml);
    Line 362:
    Last edited: Aug 21, 2013
  7. whynot

    whynot Well-Known Member

    What is the comma for?
  8. Mike

    Mike XenForo Developer Staff Member

  9. whynot

    whynot Well-Known Member

    Thank you, Mike, I'll try it.
  10. whynot

    whynot Well-Known Member

    It works,Mike.

    That came from one of the members before patching mail.php.

Share This Page