Opened 15 years ago

Closed 14 years ago

#3628 closed Bug (invalid)

$_SERVER['HTTP_USER_AGENT'] don't work on a virtual server (founded how but not why)

Reported by: Marc A Owned by:
Priority: Low Milestone:
Component: Server : PHP Version: FCKeditor 2.6.4
Keywords: Cc:


HI. I'm writting because I did'nt find any solution yet on your bug list.

After a while I found this issue. Quickly: (tested on Mac with Safari Opera & Firefox) on local server works but on a Virtual hosting (Dreamhost) it returns a : Mozilla/5.0 (000000000; 0; 000 000 00 0 0000000; 00) 000000000000000000 0000000 0000 000000 0000000000000 0000000000000 when in line 36 (function FCKeditor_IsCompatibleBrowser() in fckeditor_php5.php), is trying to know the Browser. After that it returns false and only shows a textarea.

Locally, $sAgent = $HTTP_SERVER_VARSHTTP_USER_AGENT? returns: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.2

(it recognizes Safari-AppleWebKit option)

Sorry, if you knew about that....and sorry for my english. if you know any solution or suggestion about how to make it work in a shared host, please let me know. Thanks, and congratulations for all your work.


Change History (1)

comment:1 Changed 14 years ago by Alfonso Martínez de Lizarrondo

Resolution: invalid
Status: newclosed

That seems like a bug in your hosting provider, not something that can be changed by the server integration of FCKeditor.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy