phpbb3 Board VERY small code problem - preg_match(): Compilation failed:

Closed Posted 7 years ago Paid on delivery
Closed 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.

HTML5 PHP

Project ID: #11340554

About the project

15 proposals Remote project Active 7 years ago

15 freelancers are bidding on average $28 for this job

mhanif

I will need access to the site so i can fix it. I will work on this immediately upon selection. Thanks alot.

$30 USD in 1 day
(137 Reviews)
6.7
BitLabs

Hello, I have gone through your outsourced requirements "phpbb3 Board VERY small code problem - preg_match(): Compilation failed: " and have analyzed that I have right skills (HTML5, PHP) to execute your esteemed More

$27 USD in 1 day
(94 Reviews)
6.0
richestuser

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

$35 USD in 1 day
(49 Reviews)
5.3
artiboria

Thank you so much for this great opportunity. I have 9+ years of experience in this field and can provide you my past work sample. I am an expert in WordPress, Magento, Joomla, PSD to HTML conversion, LOGO Desigi More

$25 USD in 1 day
(19 Reviews)
4.4
kangkanrajkhowa

you will know afterr see my work

$25 USD in 1 day
(0 Reviews)
0.0