Mibew Messenger Community

General => Support => Topic started by: The_Gaffer on July 19, 2009, 11:28:48 AM

Title: Not displaying in popup window
Post by: The_Gaffer on July 19, 2009, 11:28:48 AM
Hi everyone !

just installed Webim and everything seems to have gone ok, i can log into the admin area and everything seems fine.
The button to show i'm online displays ok but when i click on it i just get a popup window   406 message with "Internet Explorer cannot read this webpage format"

any ideas would be gratefuly appreciated ?

 
Title: Re: Not displaying in popup window
Post by: Inspirer on July 19, 2009, 05:55:07 PM
It seems you have mod_security installed (http://www.modsecurity.org/), replace the following part of button code
Code: [Select]
&url='+escape(document.location.href)+'&referrer='+escape(document.referrer)
with a single quote character, or
insert
Code: [Select]
.replace('http://','').replace('https://','')
after
document.location.href and document.referrer.

I'll fix it in 1.6.2 (though it is not a messenger fault).
PS: another way is to turn off mod_security completely, create .htaccess file
Quote
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
Title: Re: Not displaying in popup window
Post by: The_Gaffer on July 20, 2009, 10:47:58 PM
Thank you for your help Inspirer

Your information was appreciated

I tried the .htaccess but that never worked, then i replaced the code: (.replace('http://','').replace('https://','') ) That worked a treat!
Now everything is working fine ...  :D

Regards
Steve