Hi
I am now able to manage the browse button in ckfinder but when I tried to browse image I am getting below message, how should I resolve this...
The file browser is disabled for security reasons. Please contact your system administrator and check the CKFinder configuration file.
Please guide me if any one passed through this issue.
I am now able to manage the browse button in ckfinder but when I tried to browse image I am getting below message, how should I resolve this...
The file browser is disabled for security reasons. Please contact your system administrator and check the CKFinder configuration file.
Please guide me if any one passed through this issue.
Re: The file browser is disabled for security reasons
please look at checkAuthentication function and comments to it in config.php file. This file is in main ckfinder directory.
Re: The file browser is disabled for security reasons
Have same issue. I look chekAuthentication and change to true, but this does not seem to be the best way to go. What would it be correct?
Thx
Re: The file browser is disabled for security reasons
You need some authorization method. It depends on your system .If you use some CMS you should join this method with your session. There is no 'one good ' method to do this. You can also return true and authenticate via browser (http authentication) .
Re: The file browser is disabled for security reasons
I'll try that, although do not know very well how to authenticate via browser
Re: The file browser is disabled for security reasons
If your server use apache and you have permissions, maybe try http://httpd.apache.org/docs/2.0/mod/mod_auth.html or look for something like this.
Re: The file browser is disabled for security reasons
(usually sites/default/settings.php) and set $cookie_domain variable to the
appropiate domain (remember to uncomment that line). If you don't do this,
CKFinder may show an information that the connector is disabled.
This is from ckeditor's readme.txt file. Do these changes and your problem will be solved.
Re: The file browser is disabled for security reasons
CKFinder is not only prepared to work with Drupal, so to not confuse other users, I just wanted to add that sites/default/settings.php, $cookie_domain etc. is something that only Drupal users are aware of.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: The file browser is disabled for security reasons
There is no readme.txt using the Drupal 7 Module. I've also re-downloaded and have done a search for the file. Using the Mod Version of 7.x-1.6 w. Drupal: 7.10.
I fixed the issue by giving the permissions to a user and an anonymous user. It wont work until I give the permissions to the anonymous user. This seems real weird that you can't only give access to an admin or an authenticated user.
Before making this work and funtion properly:
Also in the config.php file in the ckfinder directory, everything is true except for the thumb settings:
$config['Thumbnails'] = Array(
'url' => $baseUrl . '_thumbs',
'directory' => $baseDir . '_thumbs',
'enabled' => true,
'directAccess' => false,
'maxWidth' => 100,
'maxHeight' => 100,
'bmpSupported' => false,
'quality' => 100);
In the filemanager.config.php file in the includes directory has no info in the code of CheckAuthentication, the only true or false call if found @ $GLOBALS['devel_shutdown'] = FALSE;
In the admin Module, I have set the File browser settings to a special path in my images folder: Example
Path to uploaded files:
/images/authors/
Absolute path to uploaded files
/images/authors/
Ive also tried taking out the / in all various ways in the beginning and ending.
When going to the settings.php file in the defaults directory, the only thing I see about cookies is the omitted line of: # $conf['omit_vary_cookie'] = TRUE;
Do I need to add this coolie code to the settings.php file?