Having trouble with mChat lately
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
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
Having trouble with mChat lately
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.
Re: Having trouble with mChat lately
[img]https://scontent-a-atl.xx.fbcdn.net/hph ... 9064_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.
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.
-
- Supporter
- Posts: 150
- Joined: 11 Jan 2013, 17:01
- Location: Liverpool, UK
Re: Having trouble with mChat lately
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
Open overall_header.html
Delete Remove the preceding lines
Purge cache.Code: Select all
<script type="text/javascript" src="{T_TEMPLATE_PATH}/jquery.js"></script>
Re: Having trouble with mChat lately
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.
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.
-
- Supporter
- Posts: 150
- Joined: 11 Jan 2013, 17:01
- Location: Liverpool, UK
Re: Having trouble with mChat lately
He doesn't need to run the install file anymore.
Re: Having trouble with mChat lately
And you know that how?
-
- Supporter
- Posts: 150
- Joined: 11 Jan 2013, 17:01
- Location: Liverpool, UK
Re: Having trouble with mChat lately
I saw his site xD
Re: Having trouble with mChat lately
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
-
- Supporter
- Posts: 150
- Joined: 11 Jan 2013, 17:01
- Location: Liverpool, UK
Re: Having trouble with mChat lately
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.
Re: Having trouble with mChat lately
Enable the mod for guests.
Re: Having trouble with mChat lately
It's enabled for guests for now
Re: Having trouble with mChat lately
Place this in your overall_header.html file
before this in the same file
then remove this in your overall_header file
and refresh your template in the ACP.
You also have an error in editor.js so remove this
and this
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).
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>
Code: Select all
<script type="text/javascript" src="{T_TEMPLATE_PATH}/jquery_scrollto.js"></script>
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 -->
You also have an error in editor.js so remove this
Code: Select all
{
try
{
Code: Select all
}
catch(e)
{
}
Re: Having trouble with mChat lately
BTW, is your account a free account at byet?
Re: Having trouble with mChat lately
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.
-
- Supporter
- Posts: 150
- Joined: 11 Jan 2013, 17:01
- Location: Liverpool, UK
Re: Having trouble with mChat lately
What version of mchat are you using?