I have installed CKFinder on my webserver (Apache with PHP) but it doesn't work.
I get the following error on my screen:
"The file browser is disabled for security reasons. Please contact your system administrator and check the CKFinder configuration file."
Does anybody know how i can fix this?
I get the following error on my screen:
"The file browser is disabled for security reasons. Please contact your system administrator and check the CKFinder configuration file."
Does anybody know how i can fix this?
Re: Problems with CKFinder
Please, read the installation instructions: http://docs.fckeditor.net/CKFinder/Deve ... stallation
Re: Problems with CKFinder
"The file browser is disabled for security reasons. Please contact your system administrator and check the CKFinder configuration file."
Who can help me please?
Re: Problems with CKFinder
Re: Problems with CKFinder
... and CKFinder configuration in the PHP language is based on editing the config.php file. To learn more go throughout http://docs.fckeditor.net/CKFinder/Deve ... figuration with especially http://docs.fckeditor.net/CKFinder/Deve ... uick_Start with for your problem especially http://docs.fckeditor.net/CKFinder/Deve ... 9_function
Re: Problems with CKFinder Heres one solution...
and found to our chagrin that ckfinder will not work with sessions but works quite happily with cookies
below is the code we wrote for use with cookies
IN CKFinders config.php:
In our login.php we placed: (within our if else statements that govern whether a user has matched user name and password and is allowed to login to the CMS)
In our logout.php for the cms we placed: (where we destroy the session and any cookies
(our CMS uses a SESSION if the user doesnt want to be permenantly logged in. and uses a cookie
if they want to remain logged in and not remain a 30miniute session timer
this worked well for us and could be adapted for use in other CMS's like drupal or modX or other CMS that use cookies or even sessions
again every attempt to to use CKFinder and protect the file browser with session code failed
we would get the file browser but it was void of anything except the background color and the word Folders on the left pane
there was no buttons at top for upload or settings and no display of images within the folder as well as no tag line that this is a demo version
session data will not work with CKFInder but cookies will
Re: Problems with CKFinder
I seem to be having the same problems listed in this thread. The only thing that sorts it out is not using the Authentication method here:
function CheckAuthentication()
{
return isset($_SESSION['IsAuthorized']) && $_SESSION['IsAuthorized'];
}
but doing what your told not to do:
function CheckAuthentication()
{
return true;
}
Does anyone have any pearls of wisdom?
cheers