Joomla : 1.5.20
JCKeditor : 3.3.1
XAMP (Windows): 1.7.3
Apache : 2.2.14 (Win32)
PHP : 5.3.1
Browser : Not Applicable
Errors : The file browser is disabled for security reasons. ...
I've just recently installed Joomla and JCKeditor and have been having trouble getting the file browser to work, it keeps telling me that it's disabled.
Digging around in the code led me to '\plugins\jfilebrowser\config.php' and the 'CheckAuthentication' function, if I modify this to simply return true, the browser works, otherwise it doesn't.
digging further brought me to '\includes\ckeditor\session\session.php' and 'getSessionInstance' and the lines:
| Code: |
//$client = JRequest::getInt('client',1); conflict when using Joomla JRequest
//Lets client directly from $_GET variable
$client = $_GET['client'];
$client = (isset($client) && $client == 1 ? 'administrator' : 'site' );
|
Doing a print_r on $_GET shows that $_GET['client'] is 'undefined' meaning that 'client' is being set to 'site'. This being the case I tryed logging into the front end and low and behold the browser worked, both in the front end and the back end, logging out f the front end rendered the browser in-operable again. Is there something wrong with my configuration or is this a bug in JCKeditor?