The Bug Genie team blog

What's cooking behind the scenes of The Bug Genie

Status update on the ‘KEYWORDS’ error in TBG3

leave a comment »

We have had a number of people letting us know about an issue when installing The Bug Genie 3 alpha 2, getting a ‘KEYWORDS’ error. I am looking into this at the moment, and the issue is a bit more complex than I originally thought.

For those who are interested in the technical side, this is an issue with PHP versions less than 5.2.10, and may be either caused by older PCRE libraries, or a configuration issuse.

The issue at hand seems to be that the wrong part of the wiki article is appearing in the array elements containing the code to be parsed by GeSHi. Poking around with Xdebug produces memory corruption errors when trying to build a trace, which may give some indication on what’s going on.

I am still working on this issue, but possible solutions currently include:

  • Updating your PHP version to 5.2.10 or later
  • Upgraing your PCRE libraries
  • Attempt changing the following two parameters in your php.ini file:
    • pcre.backtrack_limit
    • pcre.recursion_limit

    Setting these to a high value such as 100 should fix the problem.

I am still testing these, and we also may be able to improve the regexp pattern.

Written by lsproc

August 18, 2010 at 20:01

Posted in The Bug Genie 3.0

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: