When trying to browse server for flash- and mediafiles I get the following error:
Precondition Failed
The precondition on the request for the URL /FCKeditor/editor/filemanager/browser/default/browser.html evaluated to false.
Can somebody please help?
Precondition Failed
The precondition on the request for the URL /FCKeditor/editor/filemanager/browser/default/browser.html evaluated to false.
Can somebody please help?
Re: "Browse server" returns error
In the config.aspx usually found in /fckeditor/editor/filemanager/connectors/aspx look for the function CheckAuthentication().
By default it returns false. Just read what's in there and take appropriate action.
Returning true will make the error go away, but as stated in the comments, do not just set it to true!
Re: "Browse server" returns error
Thanks for the reply!
Still cant make it work though... I can't find the function CheckAuthentication() in config.php. But i assume it's this code you are thinking of?
---------------------------------------------------------------------------------
global $Config ;
// SECURITY: You must explicitly enable this "connector". (Set it to "true").
// WARNING: don't just set "$Config['Enabled'] = true ;", you must be sure that only
// authenticated users can access this file or use some kind of session checking.
// * ------------------ CMSimple -------------------------------------------
if (!isset($_COOKIE)) {
global $_COOKIE;
$_COOKIE = $GLOBALS['HTTP_COOKIE_VARS'];
}
if (isset($_COOKIE['status'])) {
if ($_COOKIE['status'] == 'adm' && ($_SESSION["_VALID_FCKeditor"] == "_VALID_FCKeditor" )) {
$Config['Enabled'] = true;
}
else
{
$Config['Enabled'] = false;
}
}
----------------------------------------------------------------------------
Re: "Browse server" returns error
Config.php??? i thought you were using aspx...

It's config.ascx you are looking for...