Long content does not work Print E-mail
(0 votes)
Wednesday, 15 June 2011

Long content doesn't work in some of Core Design extensions, for example Magic Tabs or Accordion plugin.

If you have a very long content you may notice that some of Core Design extensions doesn't work - for example Magic Tabs or Accordion plugin. The result is not processed and you see the raw text.

It's caused by server limitation for regular expresssion matches. By default the text length is limited on 100000 byte.

Solution

Increase  "pcre.backtrack_limit" directive in server configuration. In case you don't know how, please ask your hosting provider how to do that.

Also you can use "ini_set" function in particular PHP script to increase "pcre.backtrack_limit" value - unfortunately this function may be forbidden on your server.

Official documentation:
http://php.net/manual/en/pcre.configuration.php

Last Updated ( Wednesday, 15 June 2011 )