Support ⇒ Support Request mChat

Support Section
Previous topicNext topic
User avatar

Topic Author
Ronald
Users
Users
Posts: 3
Joined: Sep 20th, '23, 17:01

mChat

Post by Ronald »

Your phpBB Version: 3.3.10
Your phpBB Type: Standard phpBB
Extensions installed: Yes
Your knowledge: Beginner

PHP Version: 7.3.33

What have you done before the problem was there?
adding arcade games

What have you already tried to solve the problem?
Disable mChat

Description and Message
Forum was working then over night I hot a 500 error message. Managed to get into the site, seen a mChat error code. Disabled mChat, site came back online

This is the mChat code error I get:

Code: Select all

Parameter "ip" for route "dmzx_mchat_page_whois_controller" must match "[^/]++" ("" given) to generate a corresponding URL.

User avatar

miri4ever
Users
Users
Posts: 71
Joined: Jan 22nd, '17, 14:39

Re: mChat

Post by miri4ever »

Did you want to add highsscore from your Arcade Game to M Chat for Display?

Then you need to do this fix:

Mchat fix:

Open: ext/dmzx/mchat/core/mchat.php

Find

Code: Select all

'MCHAT_U_IP'				=> $this->auth->acl_get('u_mchat_ip') ? $this->helper->route('dmzx_mchat_page_whois_controller', ['ip' => $row['user_ip']]) : false,
Replace with

Code: Select all

'MCHAT_U_IP'				=> $row['user_ip'] && $this->auth->acl_get('u_mchat_ip') ? $this->helper->route('dmzx_mchat_page_whois_controller', ['ip' => $row['user_ip']]) : false,

User avatar

Topic Author
Ronald
Users
Users
Posts: 3
Joined: Sep 20th, '23, 17:01

Re: mChat

Post by Ronald »

miri4ever wrote: Oct 11th, '23, 14:34 Did you want to add highsscore from your Arcade Game to M Chat for Display?

Then you need to do this fix:

Mchat fix:

Open: ext/dmzx/mchat/core/mchat.php

Find

Code: Select all

'MCHAT_U_IP'				=> $this->auth->acl_get('u_mchat_ip') ? $this->helper->route('dmzx_mchat_page_whois_controller', ['ip' => $row['user_ip']]) : false,
Replace with

Code: Select all

'MCHAT_U_IP'				=> $row['user_ip'] && $this->auth->acl_get('u_mchat_ip') ? $this->helper->route('dmzx_mchat_page_whois_controller', ['ip' => $row['user_ip']]) : false,
Thanks, I made the changes, will see what happens.
Ron.

Previous topicNext topic