phpbb3 Board VERY small code problem - preg_match(): Compilation failed:
$10-30 USD
Paid on delivery
Very small code problem on a phpbb3 board
I have a message board here: [url removed, login to view]
When you make a post and then hit preview you get this error:
[phpBB Debug] PHP Warning: in file [ROOT]/includes/[url removed, login to view] on line 84: preg_match(): Compilation failed: character value in /x{...} sequence is too large at offset 88
[phpBB Debug] PHP Warning: in file [ROOT]/includes/[url removed, login to view] on line 84: preg_match(): Compilation failed: character value in /x{...} sequence is too large at offset 93
[phpBB Debug] PHP Warning: in file [ROOT]/includes/[url removed, login to view] on line 84: preg_match(): Compilation failed: character value in /x{...} sequence is too large at offset 109
[phpBB Debug] PHP Warning: in file [ROOT]/includes/[url removed, login to view] on line 84: preg_match(): Compilation failed: character value in /x{...} sequence is too large at offset 90
Quick code fix I am sure.
Here is the code on line 84: if (preg_match($regexp, $this->message))
else
{
foreach ($bbcode_data['regexp'] as $regexp => $replacement)
{
// The pattern gets compiled and cached by the PCRE extension,
// it should not demand recompilation
if (preg_match($regexp, $this->message))
{
$this->message = preg_replace($regexp, $replacement, $this->message);
$bitfield->set($bbcode_data['bbcode_id']);
}
}
}
ALSO - It will NOT display images or links in the post.
Project ID: #11340554
About the project
15 freelancers are bidding on average $28 for this job
I will need access to the site so i can fix it. I will work on this immediately upon selection. Thanks alot.
Hi , I am able to fix such type of issue .I do understand your requirement and will complete task for you withing certain time stamp of the project being awarded . I am sure you will like my work and will not r More