Hello. I have set up CKFinder as part of a CKEditor installation, inputting to mysql via php. CKEditor works like a charm (up from FCK, it's a great tool). Installed the CKFinder browse addon.
However, it keeps generating this after it browses for a file and before it is uploaded :
"It was not possible to complete the request due to file system permission restrictions."
Looking at this very helpful forum I have established that these are not the issues:
-safemode is off
-verification is set to 'true' (there are other security features within the directory containing CKEditor/finder)
-chmod is 777 on /ckfinder and /userfiles
I have tried several versions of path info including:
$baseUrl = '/ckfinder/userfiles/';
$baseDir = 'C:/servername/vhosts/mydomain.com/httpdocs/userfiles/';
And still no joy. Can anyone point me to the solution? It would really be a big help, I'm out of ideas...
Fri, 10/02/2009 - 14:00
#1
Re: file system permission restrictions - can't upload
Sorry for late reply. Please send me a PM with your configuration file and details about your configuration (where CKFinder is installed - local and absolute path).
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: file system permission restrictions - can't upload
HI all,
I have finally caved in and need to ask for help on this one. I am sure it is nothing more than a file permissions issue but I too have this problem. I am trying to configure the config.php
other than having the CheckAuthentication() return true (for testing purposes only).
I have set the $baseURL to '/userfiles/' and $baseDir to resolveUrl($baseUrl);
I have also tried using $baseDir = '/var/www/vhosts/mysite.tld/subdomains/dev/httpdocs/'; (the dev site is a subdomain but will be moved on live). The folder is chmod 777.
I have noticed that if I upload images to this folder they do not show in the ckFinder folder list or main area- leaving me to suspect a path issue (or that ckFinder area is a virtual list created through using ckFinder and not a list of actual files in a given dir.)
(_samples/php/standalone.php give the exact same result/failure/error)
I know it is not much to go on but any help of advice would be hugely appreciated.
also:
Is there a debug mode that would spit out more info to guide me?
Is there a known problem with subdomain installs?
Are directories such as the $baseURL (/userfiles/) created automatically if it does not exist in the $baseDir folder? and are the '_thumbs' directories too ?
would adding image in the userfiles/ filder be reflected in the ckFinder list if they were simply FTP'd up?
thanks in advance, pSouper
Re: file system permission restrictions - can't upload