kcfinder

You don't have permission to browse the server?

只愿长相守 提交于 2021-01-27 04:25:34
问题 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.) 回答1: Try this. Make following changes to main index.php file //$system_path = 'system'; $system_path = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'system'; //

You don't have permission to browse the server?

半腔热情 提交于 2021-01-27 04:25:11
问题 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.) 回答1: Try this. Make following changes to main index.php file //$system_path = 'system'; $system_path = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'system'; //

how to customize upload folder for ckeditor+kcfinder using in Laravel?

懵懂的女人 提交于 2019-12-12 10:26:02
问题 I am trying to upload photos by using kcfinder as a plugin for Ckeditor. When configuring kcfinder I use this config : CKEDITOR.editorConfig = function(config) { config.filebrowserBrowseUrl = '../../../../assets/kcfinder/browse.php?type=files'; config.filebrowserImageBrowseUrl = 'assets/kcfinder/browse.php?type=images'; config.filebrowserFlashBrowseUrl = 'assets/kcfinder/browse.php?type=flash'; config.filebrowserUploadUrl = '../../../../assets/kcfinder/upload.php?type=files'; config

Kcfinder Upload image issue

二次信任 提交于 2019-12-12 03:36:43
问题 My site is a Codeigniter with kcfinder and ckeditor, and my issue is when I try upload and load an image, this image upload correctly in an autocreated folder /assets/kcfinder/.thumbs/images/ , but When I select the image from server, the URL is wrong and I can not see it. How can I set the correct path? 回答1: I thing that the problem is that you need to add the base url in your image path base_url() . 'images/' . $img; 回答2: I have solved the problem. In ../assets/kcfinder/config.php I changed

PHP PNG images are being uploaded with mime “image/jpeg” on KCFINDER 3.12

我与影子孤独终老i 提交于 2019-12-09 06:03:26
At this point, I'm very confused for something an image called this-thing.png (created as PNG24 out of photoshop CS5 ), gets uploaded to kcfinder as image/jpeg . Analyzed with TriID , shows the image is completely 100% PNG C:\TrID>trid C:\users\michael\downloads\this-thing.png TrID/32 - File Identifier v2.20 - (C) 2003-15 By M.Pontello Definitions found: 3790 Analyzing... Collecting data from file: C:\users\michael\downloads\this-thing.png 100.0% (.PNG) Portable Network Graphics (16000/1) But when the variable data within $_FILES[(key($_FILES)]['tmp_name'] , reaches kcfinder\core\class\browser

CKEditor and KCfinder image preview on GoDaddy

和自甴很熟 提交于 2019-12-08 20:45:50
问题 I am having a problem with preview of image through KCFinder on CKEditor on GoDaddy hosting. When I select the image from KCFinder the preview is loaded correctly on my local machine, but when I check on GoDaddy it is not showing correctly. Difference can be seen from below images. I have configured the file browser in CKEditor as shown in below snippet. config.filebrowserBrowseUrl = '../admin/kcfinder/browse.php?type=files'; config.filebrowserImageBrowseUrl = '../admin/kcfinder/browse.php

PHP PNG images are being uploaded with mime “image/jpeg” on KCFINDER 3.12

强颜欢笑 提交于 2019-12-08 06:14:58
问题 At this point, I'm very confused for something an image called this-thing.png (created as PNG24 out of photoshop CS5 ), gets uploaded to kcfinder as image/jpeg . Analyzed with TriID, shows the image is completely 100% PNG C:\TrID>trid C:\users\michael\downloads\this-thing.png TrID/32 - File Identifier v2.20 - (C) 2003-15 By M.Pontello Definitions found: 3790 Analyzing... Collecting data from file: C:\users\michael\downloads\this-thing.png 100.0% (.PNG) Portable Network Graphics (16000/1) But

KCFinder 'You do not have permission to list the files.'

那年仲夏 提交于 2019-12-01 16:52:23
I have a problem with the integration of KCFinder in ckeditor. The version of my ckeditor is 4.0 and the other (KCFinder version) is 2.52-dev. Hi configure the config.js of ckeditor like that: CKEDITOR.config.baseHref = "/ckeditor/"; CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. // For the complete reference: // http://docs.ckeditor.com/#!/api/CKEDITOR.config config.contentsCss = 'contents.css'; config.language= 'it'; config.height = '400px'; config.uiColor = '#ffDC6E'; //kcfinder per l'uoload delle immagini config.filebrowserBrowseUrl =

KCFinder 'You do not have permission to list the files.'

可紊 提交于 2019-12-01 14:39:47
问题 I have a problem with the integration of KCFinder in ckeditor. The version of my ckeditor is 4.0 and the other (KCFinder version) is 2.52-dev. Hi configure the config.js of ckeditor like that: CKEDITOR.config.baseHref = "/ckeditor/"; CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. // For the complete reference: // http://docs.ckeditor.com/#!/api/CKEDITOR.config config.contentsCss = 'contents.css'; config.language= 'it'; config.height = '400px';