Author Topic: Not displaying in popup window  (Read 10021 times)

0 Members and 1 Guest are viewing this topic.

The_Gaffer

  • Jr. Member
  • **
  • Posts: 2
Not displaying in popup window
« 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 ?

 

Inspirer

  • Mibew Project founder
  • Native
  • *****
  • Posts: 262
    • Mibew Messenger
Re: Not displaying in popup window
« Reply #1 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>

The_Gaffer

  • Jr. Member
  • **
  • Posts: 2
Re: Not displaying in popup window
« Reply #2 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