I have installed the latest version 1.2 of the cKfinder on a site and I have set the proper sandboxing in cold fusion to allow read,write,delete to the appropriate server instance for the site. When I go to upload a file I am getting an error. 1st error is.
A has no properties http://www.writehook.com/admin/ckfinder/core/js/ckfinder_gecko.js Line 34
A has no properties es(undefined)ckfinder_gecko.js (line 34) be(undefined)ckfinder_gecko.js (line 47) be(undefined, false, true, false, true)ckfinder_gecko.js (line 47) be(undefined, undefined)ckfinder_gecko.js (line 47) Init(1, undefined)ckfinder_gecko.js (line 48) bv(1, "access denied (java.io.FilePermission C:JRun4serversCentricMainSERVER-INF empcfusion.war-tmp read)", undefined)ckfinder_gecko.js (line 45) [Break on this error] undefined
As i have stated I have turned on in the CF administrator the proper settings. I am able to view the thumbnails and browse the directory but cannot uplod. I have also verified in the config file that the upload permissions are set properly.
config.accessControl[3] = structNew(); config.accessControl[3].role = '*'; config.accessControl[3].resourceType = 'Images'; config.accessControl[3].folder = '/images_art/'; config.accessControl[3].folderView = true; config.accessControl[3].folderCreate = true; config.accessControl[3].folderRename = true; config.accessControl[3].folderDelete = true; config.accessControl[3].fileView = true; config.accessControl[3].fileUpload = true; config.accessControl[3].fileRename = true; config.accessControl[3].fileDelete = true;
I am not sure what else you may need from me. Thanks.
Re: Error on file upload
C:\CFusion8\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp
make sure that you have added the path above to your Sandbox.
Before checking file upload again, empty your wwwroot-tmp folder manually if possible.
I believe that this is not related with the issue described above, but there is a known issue in CKFinder for ColdFusion that uploaded file may be not deleted from wwwroot-tmp folder after file has been uploaded succesfully.
This will be fixed in the next release.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+