21491 Posts in 5783 Topics by 2622 members
| Go to End | Next > | |
| Author | Topic: | 1869 Views |
-
mbregex compile error?!

16 April 2009 at 3:06am
My client switched hosts, and now Silverstripe is throwing an error on every page:
mb_ereg_replace() [function.mb-ereg-replace]: mbregex compile err: unmatched close parenthesis
GET /?flush=1Line 494 in sapphire/core/SSViewer.php
Surely this has something to do with the mbregex module configuration? I've seen very little written about this. I've tried changing the mbstring.func_overload to a number of different values. Nothing seems to work. Very frustrating!
-
Re: mbregex compile error?!

12 November 2009 at 11:29am
I just got the same error installing base onto my openhost account, any help out there?
-
Re: mbregex compile error?!

12 November 2009 at 11:33am
Strap yourself in. You're in for a wild ride. This error sucks.
-
Re: mbregex compile error?!

12 November 2009 at 12:12pm
Based on some info over in the all pages display blank? topic, it's an issue with OpenHost's PHP configuration.
You'll need to set mbstring.func_overload to 0 in php.ini.
-
Re: mbregex compile error?!

12 November 2009 at 12:17pm
Thanks,
I've tried the ini_set and .htaccess options but no joy, so I'm waiting for them to complete a ticket re: https://support.webhost.co.nz/index.php?group=openhost&_m=knowledgebase&_a=viewarticle&kbarticleid=380
Cheers youngmug
-
Re: mbregex compile error?!

13 November 2009 at 9:20am Last edited: 13 November 2009 9:20am
EDIT: Yeah, what youngmug said
-
Re: mbregex compile error?!

13 November 2009 at 9:23am
I've set the mbstring.overload every which way, and although it quiets the error sometimes, it still shows up intermittently.
-
Re: mbregex compile error?!

13 November 2009 at 9:27am
>I've set the mbstring.overload every which way, and although it quiets the error sometimes, it still shows up intermittently.
Eek, that's not good. Is this on a variety of hosts, or one host in particular? Is the error always thrown on the same piece of code?
| 1869 Views | ||
| Go to Top | Next > |


