General > Support
406 (not acceptable) + 404 (not found) errors webim v. 1.6.0
enkiduwd:
Installation went ok. Button code generation: ok.
and then: Bang!
--- Quote ---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.
--- End quote ---
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:
--- 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 -->
--- End code ---
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
Eddybaur:
Chromo the files 644...hope that helps :)
enkiduwd:
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!
Inspirer:
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.
enkiduwd:
--- Quote from: Inspirer on June 03, 2009, 11:58:20 PM ---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.
--- End quote ---
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!
Navigation
[0] Message Index
[#] Next page
Go to full version