I am using kcfinder with ckeditor. While changing disabled to false
in config file of kcfinder there is no problem but on overriding it with
$_SESSION['KCFINDER'] = array(
'disabled' => false
);
i am unable to browse & upload files there.Message pop up's showing you don't have permission to browse the server. (framework used CI 3.x.)
It implies the file is there, but the site owner has disabled access to public users. If you're a site admin instead, you need to make sure files intended for public access have proper read permissions. Else, if you're facing this error on a public site, inform the site administrator to solve this issue.
Desktop. Click Safari in the top menu and select Preferences. Under Website tracking, uncheck Prevent cross-site tracking. Refresh the page and try again.
Try this. Make following changes to main index.php file
//$system_path = 'system';
$system_path = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'system';
//$application_folder = 'application';
$application_folder = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'application';
And put this code in browse.php of kcfinder
ob_start();
require_once('../index.php'); //path to main index file edited above
ob_end_clean();
$CI =& get_instance();
$CI->load->library('session');
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With