Having trouble with mChat lately

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
Mike86
New member
New member
Posts: 6
Joined: 21 Dec 2014, 08:13
Contact:

Having trouble with mChat lately

Post by Mike86 »

Hey I recently switched hosts and simply copied everything over (files and database) to my new host. Everything is working except mChat. I uninstalled mchat and attempted to reinstall it as it was not accepting new messages, you would type a message and press send and nothing would happen. During reinstalling, when I get to the .....mchat_install.php file part, I get a lovely 403 Access denied in my browser. And I can't figure out what the heck is wrong. Let me know what I need to post for addition tech info.
Mike86
New member
New member
Posts: 6
Joined: 21 Dec 2014, 08:13
Contact:

Re: Having trouble with mChat lately

Post by Mike86 »

[img]https://scontent-a-atl.xx.fbcdn.net/hphotos-xfa1/t31.0-8/s2048x2048/10495587_730531250377168_1653604683547099064_o.png[/img]

With reading some previous topics, it seems it could likely be the host, so I'm contacting them and I'll update when I hear back from them.
Last edited by Mike86 on 21 Dec 2014, 12:26, edited 1 time in total.
Neculai Anișor
Supporter
Supporter
Posts: 150
Joined: 11 Jan 2013, 17:01
Location: Liverpool, UK

Re: Having trouble with mChat lately

Post by Neculai Anișor »

Edit: I see that mchat is still installed on your board so below is how can you fix the problem with submitted messages.

Open overall_header.html
Delete Remove the preceding lines

Code: Select all

<script type="text/javascript" src="{T_TEMPLATE_PATH}/jquery.js"></script>

Purge cache.
User avatar
RMcGirr83
Supporter
Supporter
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: Having trouble with mChat lately

Post by RMcGirr83 »

Neculai, what does that have to do with mchat_install php file stating 403?

To the OP ignore what Neculai stated and via FTP check the permissions on the file (they should be set to 644) and if set correctly your new host may not allow ajax based chats so you would have to check with them.
Neculai Anișor
Supporter
Supporter
Posts: 150
Joined: 11 Jan 2013, 17:01
Location: Liverpool, UK

Re: Having trouble with mChat lately

Post by Neculai Anișor »

He doesn't need to run the install file anymore.
User avatar
RMcGirr83
Supporter
Supporter
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: Having trouble with mChat lately

Post by RMcGirr83 »

And you know that how?
Neculai Anișor
Supporter
Supporter
Posts: 150
Joined: 11 Jan 2013, 17:01
Location: Liverpool, UK

Re: Having trouble with mChat lately

Post by Neculai Anișor »

I saw his site xD
Snapshot_2014-12-21_143335.png
Mike86
New member
New member
Posts: 6
Joined: 21 Dec 2014, 08:13
Contact:

Re: Having trouble with mChat lately

Post by Mike86 »

Well I just put in all the old files so everything is there. But the chat doesn't work when you click send. And if you click on any of the buttons like, Archive, Purge it goes right to that 403 access denied page. I did remove that line from the overall_header file but still doesn't work. And the chmod permissions are correct :(. Might have to look for a host that will allow your mod lol
Neculai Anișor
Supporter
Supporter
Posts: 150
Joined: 11 Jan 2013, 17:01
Location: Liverpool, UK

Re: Having trouble with mChat lately

Post by Neculai Anișor »

Try the mod on prosilver without any jquery except for jquery mini and cookie mini and that's how you can find out if there is a problem with your host or your style.
User avatar
RMcGirr83
Supporter
Supporter
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: Having trouble with mChat lately

Post by RMcGirr83 »

Enable the mod for guests.
Mike86
New member
New member
Posts: 6
Joined: 21 Dec 2014, 08:13
Contact:

Re: Having trouble with mChat lately

Post by Mike86 »

It's enabled for guests for now :)
User avatar
RMcGirr83
Supporter
Supporter
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: Having trouble with mChat lately

Post by RMcGirr83 »

Place this in your overall_header.html file

Code: Select all

<script type="text/javascript" src="{ROOT_PATH}mchat/jquery-1.5.0.min.js"></script>
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_cookie_mini.js"></script>

before this in the same file

Code: Select all

<script type="text/javascript" src="{T_TEMPLATE_PATH}/jquery_scrollto.js"></script>


then remove this in your overall_header file

Code: Select all

<!-- IF S_MCHAT_ENABLE and (S_MCHAT_ON_INDEX or U_MCHAT) -->
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery-1.5.0.min.js"></script>
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_cookie_mini.js"></script>
<!-- ENDIF -->


and refresh your template in the ACP.

You also have an error in editor.js so remove this

Code: Select all

      {
try
      {


and this

Code: Select all

}
      catch(e)
      {
      }


you will have to refresh your browsers cache after making that change. As far as mchat.php tossing a 403, that would be a question for your host if the permissions are set correctly on the file (should be 644).
User avatar
RMcGirr83
Supporter
Supporter
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: Having trouble with mChat lately

Post by RMcGirr83 »

BTW, is your account a free account at byet?
Mike86
New member
New member
Posts: 6
Joined: 21 Dec 2014, 08:13
Contact:

Re: Having trouble with mChat lately

Post by Mike86 »

Yes it is a free account. I made the changes in both files and refreshed everything and it's still not working and showing 403 error.
Neculai Anișor
Supporter
Supporter
Posts: 150
Joined: 11 Jan 2013, 17:01
Location: Liverpool, UK

Re: Having trouble with mChat lately

Post by Neculai Anișor »

What version of mchat are you using?
Post Reply