Solved: 14 Years, 4 Months ago Warning [2] preg_replace() [function.preg-replace]: Compilation failed
#1
Solved: 14 Years, 4 Months ago
i have this problem:

Warning [2] preg_replace() [function.preg-replace]: Compilation failed: number too big in {} quantifier at offset 28 - Line: 3751 - File: inc/functions.php PHP 5.2.9 (Linux)
File 	Line 	Function
[PHP] 	  	errorHandler->error
/inc/functions.php 	3751 	preg_replace
/inc/class_parser.php 	183 	my_wordwrap
/portal.php 	518 	postParser->parse_message
Warning [2] preg_replace() [function.preg-replace]: Compilation failed: number too big in {} quantifier at offset 28 - Line: 3751 - File: inc/functions.php PHP 5.2.9 (Linux)

what can i do to fix it?

thank you!!
#2
Solved: 14 Years, 4 Months ago
Is there some giant line that won't wrap? Maybe spam?

my_wordwrap appears to be the issue...find the post and delete it.
#3
Solved: 14 Years, 4 Months ago
(2009-08-06, 11:56 PM)labrocca Wrote: Is there some giant line that won't wrap? Maybe spam?

my_wordwrap appears to be the issue...find the post and delete it.


i don`t understand i have to find my_wordwarp in code or in post?
#4
Solved: 14 Years, 4 Months ago
What's your forum? Can you link to a page with that error?

In admincp what is this setting at:

"Number of Characters before Word Wrapping Occurs"
#5
Solved: 14 Years, 4 Months ago
http://juackersillos.org/mybb/portal.php

thank you
i got solution uploaded a backup

the problem was the plugin ipcountry

do you have a plugin like that in mybbcentral???
#6
Solved: 14 Years, 4 Months ago
It's not viable as a mybb plugin imho. You can do country blocking the same way via htaccess and it's more effective.


Forum Jump:


Users browsing this thread: 5 Guest(s)