Recent issue with MCHAT

Support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Post Reply
WaGuns
Member
Member
Posts: 172
Joined: 06 Apr 2011, 02:01
Contact:

Recent issue with MCHAT

Post by WaGuns »

No files have changed, in quite a while. For some reason, around 1am this morning, my site popped up with this error message:

Image

This is line 974;

Code: Select all

$message_edit = mb_ereg_replace("'", "’", $message_edit);
Here is line 971-976;

Code: Select all

$message_edit = $row['message'];
				decode_message($message_edit, $row['bbcode_uid']);
				$message_edit = str_replace('"', '"', $message_edit); // Edit Fix ;)
				$message_edit = mb_ereg_replace("'", "’", $message_edit);				
				if (sizeof($foes_array))
				{
I disabled MChat in the ACP and the board came back to life. Just a bit ago, I re-enabled it and the error popped back up, so I disabled it again.

Any ideas?
User avatar
Pond Life
Member
Member
Posts: 53
Joined: 31 Dec 2014, 12:43
Location: Earth

Re: Recent issue with MCHAT

Post by Pond Life »

You need to speak to your hosts, maybe they've updated php on your server and not added the mb_string extension.
User avatar
tumba25
Supporter
Supporter
Posts: 1049
Joined: 24 Oct 2007, 13:10
Real name: Jari Kanerva
Location: Kokkola, Finland.
Contact:

Re: Recent issue with MCHAT

Post by tumba25 »

mbstring or php-mbstring is usually compiled into php.

Go to your forum ACP > General and click on PHP information. Then search for the string mbstring and poke your host if it's missing (and Rich if it's there :) ).
WaGuns
Member
Member
Posts: 172
Joined: 06 Apr 2011, 02:01
Contact:

Re: Recent issue with MCHAT

Post by WaGuns »

tumba25 wrote:mbstring or php-mbstring is usually compiled into php.

Go to your forum ACP > General and click on PHP information. Then search for the string mbstring and poke your host if it's missing (and Rich if it's there :) ).
Went and looked... Nothing.. Nada.. I have PM'd Rich (cough..cough..my host) yesterday... I haz sadness without working Chat. Seriously.. We have thousands of heavily armed people who demand chat is working... This isn't going to end well.. :popcorn:



Image
WaGuns
Member
Member
Posts: 172
Joined: 06 Apr 2011, 02:01
Contact:

Re: Recent issue with MCHAT

Post by WaGuns »

Well, I haven't heard from Rich, but I think he got the message. Chat has resumed and the mbstring portion is back in my PHP configuration!

Image
User avatar
RMcGirr83
Supporter
Supporter
Posts: 6242
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: Recent issue with MCHAT

Post by RMcGirr83 »

Yep, had to reconfigure PHP after upgrading from 5.3 (which is EOL) to 5.5.
WaGuns
Member
Member
Posts: 172
Joined: 06 Apr 2011, 02:01
Contact:

Re: Recent issue with MCHAT

Post by WaGuns »

RMcGirr83 wrote:Yep, had to reconfigure PHP after upgrading from 5.3 (which is EOL) to 5.5.

Thanks Rich!
Post Reply