Community Forums

Important Notice:

Two sections of this forum are available only to registered customers. In order to receive access to the Customer Forums and ResellerCentral Forums, you must first register on these forums or login to your existing forum account. If you are an existing HostNine customer, be sure to register using the email address on file for your billing profile.

Go Back   HostNine Community Forums > H9 General Forums > Lounge / Off Topic > Web Development

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 03-31-2007, 10:55 PM
Malware Malware is offline
Newbie
 
Join Date: Feb 2007
Posts: 12
Default code stopped working after bringing it to H9

My client has this board where people just come and post stuff.. its almost like a shoutbox but in PHP/MySQL/No automatic updates...

It worked perfectly on her previous host and now, after bringing it to H9, it works only sometimes...

This errors shows up

Quote:
Warning: mb_ereg_replace() [function.mb-ereg-replace]: mbregex compile err: invalid regular expression; there's no previous pattern, to which '{' would define cardinality at 1 in /####/fasttemplate.php on line 120
It's interesting though that it works sometimes.. and other times it doesn't.. =/

I appreciate any lighting on this..

Thanks
Reply With Quote
  #2  
Old 04-01-2007, 11:49 AM
Liam Liam is offline
Junior Guru Wannabe
 
Join Date: Nov 2006
Posts: 30
Default

Hello,

Seems like a strange error and I'd be tempted to say it's a problem with the script if it's intermittent...but without seeing the code I can't tell.

php.net(http://php.net/mb_ereg_replace) doesn't show the function as having changed recently so I don't think it's a php version issue.

I came across a similar problem and a possible solution was adding this to a htaccess file:

PHP_VALUE default_charset UTF-8
PHP_VALUE mbstring.func_overload 0
PHP_VALUE mbstring.encoding_translation On

Good luck!
Liam
Reply With Quote
  #3  
Old 04-01-2007, 02:08 PM
Malware Malware is offline
Newbie
 
Join Date: Feb 2007
Posts: 12
Default

thank you very much..
it looks like it fixed it..

If the error shows up again today, I'll post back here..
the problem is just I like I said, the error doesn't show up every time.. it's just sometimes.. soo.. =/

thanks for your help, Liam!!!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Frontpage code to create header zanass Tools, Tips, & Tricks 3 04-13-2010 08:53 AM
SMTP error code 421 RP-001 ozzva Reseller Hosting 3 10-21-2009 01:27 AM
EPP Code about_ar Shared Web Hosting 1 04-21-2009 10:39 AM
Has the ticket support has stopped working not_me Reseller Hosting 0 04-13-2009 04:39 AM
Stopped taking Prozac! Bigfishtools Customer Testimonials 1 12-19-2007 05:52 PM


All times are GMT -5. The time now is 02:38 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

Host Nine

Our mission began in 2006. Thousands of awesome clients later, we are now one of the most popular hosters in the world.
Most of this is because of our fantastic support. Join us, you'll be glad you did - that's a given.