I downloaded ckeditor and ckfinder both last night, so they are up to date. I am using drupal, and the ckeditor module there.
$baseUrl = 'http://mysite.com/sites/default/files/images/'; $baseDir = '/var/www/mysite/sites/default/files/images/';
Looking at the filesystem:
$ cd /var/www/mysite/sites/default/files/images $ ls _thumbs images $ ls images logo1w.png sprite2.png vladstudio_googlelibrary_1600x1200.jpg
Uploads work great, as you can see: images show up, they have thumbnails, they're in the filesystem. However, when I use the browser to select one, the path that gets entered is:
/sites/all/modules/contrib/ckeditor/ckfinder/core/connector/php/sites/default/files/images/sprite2.png
There are two things wrong: one, it should be "images/images" at the end. The second, of course, is that the root of the path is being set to the path of ckfinder's files, and then my path is getting appended on the end (without the second 'images.')
If I hand-edit the path to be /sites/default/files/images/images/sprite2.png it works great -- but that's not a good solution for our users for obvious reasons.
Using _samples/php/standalone.php shows the same errors as the drupal module with respect to the path values.
If I'm missing something obvious I apologize for wasting your time, but I wasn't able to find help on the problem of uploads working, but the browser pasting in the wrong URL for a file.
Re: Uploads work, file selections don't
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Uploads work, file selections don't
I did, several times over, as did a co-worker.
I have since given up and am using ICME instead.