I'm using CKFinder v1.4.1.1 integrated with CKEditor v3.0.1
* In CKFinder, CheckAuthentication returns true (I know this isn't secure, just want to get it working).
* I set $baseURL and the .htaccess file is in that folder.
* In the three 'ResourceType' arrays, I set maxSize to '4M'
Other than that, CKFinder config is totally stock.
However, no matter what image I upload, I just get a JS alert with my domain name and "invalid file"
Server: Apache/2.2.13 (FreeBSD) mod_ssl/2.2.13 OpenSSL/0.9.8e DAV/2 PHP/5.2.10.
GD is enabled (v2.0.34)
I've searched the support forums and tried a couple things but no matter what configuration I change, I still just get "invalid file".
I've tested uploading on my Mac (10.5.8) with the latest Firefox and Safari. I haven't purchased a license yet, but I don't think that's the problem.
Any help would be greatly appreciated.
Thanks,
Dave
* In CKFinder, CheckAuthentication returns true (I know this isn't secure, just want to get it working).
* I set $baseURL and the .htaccess file is in that folder.
* In the three 'ResourceType' arrays, I set maxSize to '4M'
Other than that, CKFinder config is totally stock.
However, no matter what image I upload, I just get a JS alert with my domain name and "invalid file"
Server: Apache/2.2.13 (FreeBSD) mod_ssl/2.2.13 OpenSSL/0.9.8e DAV/2 PHP/5.2.10.
GD is enabled (v2.0.34)
I've searched the support forums and tried a couple things but no matter what configuration I change, I still just get "invalid file".
I've tested uploading on my Mac (10.5.8) with the latest Firefox and Safari. I haven't purchased a license yet, but I don't think that's the problem.
Any help would be greatly appreciated.
Thanks,
Dave
Re: 'invalid file' - no matter what I do.
Another thing to check - make sure that this file does not contain HTML-like code inside.
Next thing - try uploading a text file with .txt extension instead of image file, perhaps for some unknown reason CKFinder thinks that image file is broken.
Also copy via FTP some file to the directory where you want to upload file to see whether it will be listed by CKFinder, perhaps CKFinder is trying to upload it into different directory than you think (and don't have correct permissions to that folder... however in such case you should get a different error message).
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: 'invalid file' - no matter what I do.
I have an mod rewrite rule to force nice urls. The upload form that posts to QuickUpload also passes some querystring parameters in the URL, and my mod rewrite rule was trying to make the URL more human-readable.
I realize that this is an edge case, but perhaps including a .htaccess file in the root of /ckfinder/ that turns 'RewriteEngine Off' would benefit others in the future.
thanks,
Dave