Mibew Messenger Community
General => Support => Topic started by: enkiduwd on May 11, 2009, 11:25:47 AM
-
Installation went ok. Button code generation: ok.
and then: Bang!
Not Acceptable
An appropriate representation of the requested resource /webim/client.php could not be found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Any suggestion would be appreciated.
EDIT 1) Webim button was placed on the website on other domain (include domain name in the button code checked).
EDIT 2) I can use webim button from local disc but not if website is on the server. Probably referrer issue.
[partly solved]:
modified button code: <!-- webim button --><a href="http://www.mydomain.com/webim/client.php?locale=en" target="_blank" onclick="if(navigator.userAgent.toLowerCase().indexOf('opera') != -1 && window.event.preventDefault) window.event.preventDefault();this.newWindow = window.open('http://www.mydomain.com/webim/client.php?locale=en', 'webim', 'toolbar=0,scrollbars=0,location=0,status=1,menubar=0,width=640,height=480,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;"><img src="http://www.mydomain.com/webim/button.php?image=webim&lang=en" border="0" width="163" height="61" alt=""/></a><!-- / webim button -->
For now - it's ok.
Still - I am not very happy with this solution.
Browser: Firefox and Opera
Server:
cPanel Version 11.24.4-RELEASE
cPanel Build 35075
Apache version 2.2.10 (Unix)
PHP version 5.2.6
MySQL version 5.0.67-community
Architecture x86_64
Operating system Linux
-
Chromo the files 644...hope that helps :)
-
already did it. every file is 644 and every folder - 755
I will solve it this way or another... so no worries. Anyway - this is interesting. I removed some code from button html and now it's working perfectly. What was the purpose of this commands? And do I really need it?
That's my friend is a complicated question...
Anyway: I don't believe I am the only one with this problem. Any ideas welcome!
Cheers!
-
Some add-ons on your server can block requests. For example, anti-sql-injection filter forbids word "createtable" in the url and produces 404 error.
-
Some add-ons on your server can block requests. For example, anti-sql-injection filter forbids word "createtable" in the url and produces 404 error.
I think, you didn't read carefully. I haven't got problem with installation or Mysql.
The only problem I've got is a button html code. My server for some reason not like "referrer" part of it.
Modification of button code solving this problem.
Cheers!
-
I'll fix the button code soon.
-
Ok guys, inspirer and i finally figured out the fix. Here's what you do.
Add the following line to your .htaccess file.
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
source:http://www.reaper-x.com/2007/03/22/hostgator-tips-temporarily-disable-modsecurity/
I'm betting it'd work more then just HostGator users.
-
ThX!
I will try it and report.
EDIT: Nope.... That's not working. Anyway - thank you guys for trying!
I wonder if there are some other people with the same problem? For now it seems - it only me. If this is true - that means it is not a problem with mibew but probably something wrong with my server settings.
From my point of view - after button html code modification webim is fully functional so the problem is rather minor one.
Thanks again!
-
hey guys, i'm having this issue was there ever a solution to this? been sat looking at the button code for a hour or so and can not figure it out. For some reason it works if i right click and open new tab, but just clicking on the button on my homepage it errors?
any help would be appriciated :) thanks in advance
Button Code:
<!-- webim button --><a href="http://www.mydomain.com/chat/client.php?locale=en&style=default" target="_blank" onclick="if(navigator.userAgent.toLowerCase().indexOf('opera') != -1 && window.event.preventDefault) window.event.preventDefault();this.newWindow = window.open('http://www.mydomain.com/chat/client.php?locale=en&style=default&url='+escape(document.location.href)+'&referrer='+escape(document.referrer), 'chat', 'toolbar=0,scrollbars=0,location=0,status=1,menubar=0,width=640,height=480,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;"><img src="http://www.mydomain.com/chat/b.php?i=webim&lang=en" border="0" width="163" height="61" alt=""/></a><!-- / webim button -->