I have installed the php version of CKFinder and purchased the licence for it. I have two problems with it. Firstly, the thumbnails are showing as question marks. I have tried the suggested fix that is on this forum and it didn't work. I'm sure I have the paths correct. Is there anything I can try that others have found to fix this problem for them?
Secondly, I am trying to call CKFinder using the pick.js file which always worked perfectly with FCKEditor. It calls CKFinder and shows the files from the directory but when I click on a file nothing happens. If I call CKFinder from the Image button, I can click on a file and it is returned to the screen within the text. But I cannot get the pick.js external link to send anything back to the main screen.
I appreciate any help that anyone can give. I'm on a reseller account on a host running php on Apache with GD support.
Thanks
Secondly, I am trying to call CKFinder using the pick.js file which always worked perfectly with FCKEditor. It calls CKFinder and shows the files from the directory but when I click on a file nothing happens. If I call CKFinder from the Image button, I can click on a file and it is returned to the screen within the text. But I cannot get the pick.js external link to send anything back to the main screen.
I appreciate any help that anyone can give. I'm on a reseller account on a host running php on Apache with GD support.
Thanks

Re: Thumbnails are question marks in CKFinder window
Re: Thumbnails are question marks in CKFinder window
core/connector/cfm/Core/Connector.cfc
<cfcatch type="any"> <cfscript> oCommandHandler_XmlCommandHandler = APPLICATION.CreateCFC("CommandHandler.XmlCommandHandlerBase").Init(); oCommandHandler_XmlCommandHandler.sendError(#REQUEST.constants.CKFINDER_CONNECTOR_ERROR_CUSTOM_ERROR#, #CFCATCH.Message#); </cfscript> </cfcatch>core/connector/cfm/connector.cfm
<cfcatch type="any"> <cfscript> oCommandHandler_XmlCommandHandler = APPLICATION.CreateCFC("CommandHandler.XmlCommandHandlerBase").Init(); oCommandHandler_XmlCommandHandler.sendError(#REQUEST.constants.CKFINDER_CONNECTOR_ERROR_CUSTOM_ERROR#, #CFCATCH.Message#); </cfscript> </cfcatch>Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Thumbnails are question marks in CKFinder window
I am experiencing the same problem as Marc-O (mercure) with the Coldfusion version, but I am running the demo version (no license purchased yet).
We're running Coldfusion 8 and I haven't changed the config.thumbnails settings.
Wiktor - I have removed the cfcatch statements in the two files as you've suggested. When I reload the URL, I get the following response in IE7:
<Connector>
<Error number="104"/>
</Connector>
Hope this helps.
Thanks for your help.
Glenn.
Re: Thumbnails are question marks in CKFinder window
It looks to me that CKFinder is unable to create the thumbnails directory. To be sure that this is the problem, in core\connector\cfm\CommandHandler\Thumbnail.cfc paste the following:
instead of:
and open the url with the Thumbnail command once again. If the path is displayed, instead of previous XML message, it means that web server can't create the directory for thumbnails.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Thumbnails are question marks in CKFinder window
We are on cf8 using sandboxing. I have given permission to the directories properly in the sandbox and I don't have trouble uploading or deleting files from the images directory it just doens't create the thumbnails. Also I have noticed that when an image is uploaded it keeps it in the temp directory on the server rather than moving it out after it has been uploaded.
C:\JRun4\servers\cfusion\SERVER-INF\temp\cfusion.war-tmp\
is keeping a copy of the file after uploading this should actually be removed after placing it in the site folder.
Any solutions for veiwing the images would be greatly appreciated if I can actually get this to work on one site then will be getting a Corporate Web Sites license but really need the ability to do view the thumbnails.
thanks.
Re: Thumbnails are question marks in CKFinder window
Is the fileSystem.createDirectoryRecursively function responsible for not returning thumbnails?
If you add this code, is the thumbPath displayed in the response message?
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Thumbnails are question marks in CKFinder window
Re: Thumbnails are question marks in CKFinder window
<?xml version="1.0" encoding="UTF-8"?>
<Connector resourceType="Images"><Error number="0"/><ConnectorInfo c="" enabled="true" s="" thumbsEnabled="true"/><ResourceTypes><ResourceType acl="224" allowedExtensions="gif,jpeg,jpg,png" defaultView="Thumbnails" deniedExtensions="bmp" name="Images" url="/media/images/"/></ResourceTypes></Connector>
<?xml version="1.0" encoding="UTF-8"?>
<Connector resourceType="Images"><Error number="103"/><CurrentFolder acl="224" path="/" url="/media/images/"/></Connector>
<?xml version="1.0" encoding="UTF-8"?>
<Connector resourceType="Images"><Error number="103"/><CurrentFolder acl="224" path="/" url="/media/images/"/></Connector>
Edited 4:01 pm:
Ok i did some more digging and realized that some of my code was missing to even view the thumbnails.
config.baseUrl = "/media/";
config.baseDir = APPLICATION.CreateCFC("Utils.FileSystem").resolveUrl(config.baseUrl);
config.thumbnails = structNew();
config.thumbnails.url = config.baseUrl & 'thumbs';
config.thumbnails.baseDir = "/images/";
config.thumbnails.enabled = true;
config.thumbnails.maxWidth = 100;
config.thumbnails.maxHeight = 100;
config.thumbnails.quality = 80;
config.accessControl[3] = structNew();
config.accessControl[3].role = '*';
config.accessControl[3].resourceType = 'Images';
config.accessControl[3].folder = '/';
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;
Then these are the responses I get back.
<?xml version="1.0" encoding="UTF-8"?>
<Connector resourceType="Images"><Error number="0"/><ConnectorInfo c="" enabled="true" s="" thumbsEnabled="true"/><ResourceTypes><ResourceType acl="255" allowedExtensions="gif,jpeg,jpg,png" defaultView="Thumbnails" deniedExtensions="bmp" name="Images" url="/media/images/"/></ResourceTypes></Connector>
<?xml version="1.0" encoding="UTF-8"?>
<Connector resourceType="Images"><Error number="0"/><CurrentFolder acl="255" path="/" url="/media/images/"/><Folders><Folder acl="255" hasChildren="true" name="thumbnails"/></Folders></Connector>
<?xml version="1.0" encoding="UTF-8"?>
<Connector resourceType="Images"><Error number="0"/><CurrentFolder acl="255" path="/" url="/media/images/"/><Files><File date="200802271613" name="02501.jpg" size="3"/><File date="200802271613" name="025011.jpg" size="6"/><File date="200802271356" name="02507.jpg" size="2"/><File date="200802271723" name="03001.jpg" size="2"/><File date="200802271723" name="030011.jpg" size="8"/><File date="200803071642" name="DSC00738.jpg" size="15"/><File date="200803101101" name="DSC00742.jpg" size="10"/><File date="200803101120" name="mobile 001.jpg" size="33"/></Files></Connector>
<?xml version="1.0" encoding="UTF-8"?>
<Connector><Error number="1" text="access denied (java.io.FilePermission \images\Images read)"/></Connector>
Once again let me stress that I have turned on Sandboxing. I have tried everything from root right down to the directory to allow read write capabilities for this site. Still nothing seems to work properly.
Re: Thumbnails are question marks in CKFinder window
ACL 224 means: File delete + File rename + File upload.
To be able to browse files you need also: folderView and fileView. fileView permission is also required to create thumbnails.
So first thing we need to de before debugging this thumbnail issue, is to grant all permissions to your test user to be sure that we have appropriate ACL settings.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Thumbnails are question marks in CKFinder window
Re: Thumbnails are question marks in CKFinder window
I'll try to reproduce it tomorrow and we should have it fixed soon, thanks!
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Thumbnails are question marks in CKFinder window
Copy the url of the command that sent this error and open it in your browser.
java.io.FilePermission is not as helpful as detailed exception iformation, so let's change the code a bit to get the whole exception:
Comment out the catch "any" statements:
in connector.cfm, Connector.cfc, CommandHandler/XmlCommandHandlerBase.cfc.
You should be able to see the detailed exception information (assuming that "Enable Robust Exception Information" is checked).
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Thumbnails are question marks in CKFinder window
Re: Thumbnails are question marks in CKFinder window
http://www1.MyDomain.com/console/ckfind ... ype=Images
Re: Thumbnails are question marks in CKFinder window
http://ckfinder.com/hotfix/97/FileSystem.cfc
ckfinder\core\connector\cfm\Utils
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Thumbnails are question marks in CKFinder window
I sent you a private message.
I even renit the application.
Is there soemthing else I should try?
Re: Thumbnails are question marks in CKFinder window
still get this in the error email
0
CF_CFPAGE
205
at cfFolderHandler2ecfc1095938212$funcGETTHUMBSSERVERPATH.runFunction(E:\Websites\MyDomain.com\www\console\ckfinder\core\connector\cfm\Core\FolderHandler.cfc:205)
E:\Websites\MyDomain.com\www\console\ckfinder\core\connector\cfm\Core\FolderHandler.cfc
Re: Thumbnails are question marks in CKFinder window
Re: Thumbnails are question marks in CKFinder window
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Thumbnails are question marks in CKFinder window
Re: Thumbnails are question marks in CKFinder window
Open _thumbs folder, CKFinder created there another subfolders, one per resource type. Check permission and owner/group of those subfolders. It may be that CKFinder is unable to write to _thumbs/Images to save there thumbnail of myfile.jpg.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Thumbnails are question marks in CKFinder window
Safe_mode of php is set to "ON"
Re: Thumbnails are question marks in CKFinder window
CKFinder created automatically subfolders inside of _thumbs directory and because safe_mode is on, it is unable to save thumbnails inside of those directories (even 777 doesn't help, because probably the owner/group of a subfolder is invalid).
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Thumbnails are question marks in CKFinder window
Re: Thumbnails are question marks in CKFinder window
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Thumbnails are question marks in CKFinder window
Re: Thumbnails are question marks in CKFinder window