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

Fixed PHP crash or blank post when editing large post

Discussion in 'Resolved Bug Reports' started by Mike, Sep 13, 2013.

  1. Mike

    Mike XenForo Developer Staff Member

    This was improved in 1.2.1 but it still comes up in some scenarios. Please try this fix.

    In library/XenForo/BbCode/Formatter/Wysiwyg.php, change:
    '#<(xf' . $i . ':([a-z0-9-]+))([^>]*)(?<!/)>((?:(?>[^<]*?)|<)*)</\\1>#siU',
    '#<(xf' . $i . ':((?>[a-z0-9-]+?)))([^>]*)(?<!/)>((?:(?>[^<]*?)|<)*)</\\1>#siU',
    ScottLott and Nobita.Kun like this.
  2. Brad L

    Brad L Well-Known Member

    A few members using older devices have reported that the edit button does not work. After doing some research here I discovered that the problem was related to bbcode. The same members are able to edit simple posts without bbcode. I was excited to find this fix but the line above no longer exists. I'm using 1.4.12.
  3. Mike

    Mike XenForo Developer Staff Member

    This was a server side issue, so it wouldn't be device specific. You should post more details in the support forum.

Share This Page