I'm building a CFML app that uses CKfinder1.4.3 / CKeditor with the CFM connector and everything works perfectly on the development server which is Bluedragon JX7.1/Apache2.2 on a Centos5.4 VM. I deployed it to the production server which is an identical setup but for some reason thumbnails do not get displayed (I see the red ?s instead of thumbnails) - I've checked permissions and everything is fine - the thumbnails are created and appear to be in the correct directories on the server.
In a sandbox on the production server I tested a fresh install of the PHP version of CKfinder1.4.3 alongside a fresh install of the CFM version. I used the standalone sample and the PHP version worked properly whereas the CFM version didn't display the thumbnails. Unfortunately I can't rely on the PHP code because the app has to be pure CFML or Java on the serverside.
So I'm guessing there must be a configuration problem somewhere but I'm not sure what to look for now. Any ideas would be gratefully received?
In a sandbox on the production server I tested a fresh install of the PHP version of CKfinder1.4.3 alongside a fresh install of the CFM version. I used the standalone sample and the PHP version worked properly whereas the CFM version didn't display the thumbnails. Unfortunately I can't rely on the PHP code because the app has to be pure CFML or Java on the serverside.
So I'm guessing there must be a configuration problem somewhere but I'm not sure what to look for now. Any ideas would be gratefully received?
Re: Bluedragon server config - thumbnails not showing
Please check HTTP headers using Fiddler or Firebug to see what's going on with thumbnails, Thumbnails are requested with url like this one:
ckfinder/core/connector/php/connector.php?command=Thumbnail&type=Files¤tFolder=%2F&hash=fcce1a9a88f92b40&FileName=invalid.jpg
The HTTP header send back from the server may contain some useful information:
Date Wed, 21 Apr 2010 13:38:42 GMT
Server Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5
X-Powered-By PHP/5.2.5
Content-Encoding none
X-CKFinder-Error 104
Content-Length 0
Connection close
Content-Type text/html
Let me know what you have found there.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Bluedragon server config - thumbnails not showing
Re: Bluedragon server config - thumbnails not showing
I'm not quite sure yet why is it failing though...
A temporary workaround would be to set the type based on the file extension.
PS. Just to check whether that 's the only problem, try the following:
(comment out the old code and try with hardcoded type)
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+