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

XF 1.1 Error For Any Media Embed

Discussion in 'Troubleshooting and Problems' started by Ace Of Death, Dec 31, 2012.

  1. Ace Of Death

    Ace Of Death Member

    I am getting an error all of my site (which we are going to launch tomorrow...) that is preventing us from embedding any media on the site. BB codes no longer work, XenMedio is failing, and I am getting the same error for everything (Youtube videos as well as custom media sites are failing, previously posted items are still functioning). I need URGENT help with this guys so please help me in any way that you can.

    preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash
    preg_match() in XenForo/Helper/Media.php at line 58
    XenForo_Helper_Media->_convertMediaLinkToEmbedHtml() in XenForo/Helper/Media.php at line 39
    XenForo_Helper_Media::convertMediaLinkToEmbedHtml() in XenForo/BbCode/Formatter/BbCode/AutoLink.php at line 174
    XenForo_BbCode_Formatter_BbCode_AutoLink->_autoLinkUrl() in XenForo/BbCode/Formatter/BbCode/AutoLink.php at line 156
    preg_replace_callback() in XenForo/BbCode/Formatter/BbCode/AutoLink.php at line 131
    XenForo_BbCode_Formatter_BbCode_AutoLink->filterString() in XenForo/BbCode/Formatter/Base.php at line 488
    XenForo_BbCode_Formatter_Base->renderString() in XenForo/BbCode/Formatter/Base.php at line 467
    XenForo_BbCode_Formatter_Base->renderTreeElement() in XenForo/BbCode/Formatter/Base.php at line 444
    XenForo_BbCode_Formatter_Base->renderSubTree() in XenForo/BbCode/Formatter/Base.php at line 424
    XenForo_BbCode_Formatter_Base->renderTree() in XenForo/BbCode/Formatter/BbCode/AutoLink.php at line 53
    XenForo_BbCode_Formatter_BbCode_AutoLink->renderTree() in XenForo/BbCode/Parser.php at line 503
    XenForo_BbCode_Parser->render() in XenForo/Helper/String.php at line 218
    XenForo_Helper_String::autoLinkBbCode() in XenForo/ControllerPublic/Forum.php at line 540
    XenForo_ControllerPublic_Forum->actionCreateThreadPreview() in XenForo/FrontController.php at line 310
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
    XenForo_FrontController->run() in /home/fragdojo/public_html/index.php at line 13

    Hopefully someone on here can help me soon and tell me what is breaking the site, or even what the problem is.
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    It looks like one of your media sites is using an invalid regex. You need to find which one it is. Or I can probably find it if you give me a URL and admin login so I can review all of your media sites.
  3. Ace Of Death

    Ace Of Death Member

    let me check a few of them and my partner will do the same, if we still have an issue I will send you the login information

    Thanks for the quick reply
  4. Ace Of Death

    Ace Of Death Member

    Fixed, Your post actually told my partner what the problem was and we got it fixed quickly. Thanks for the help, as always
    Jake Bunce likes this.

Share This Page