Hi,
The problem is that I have a site with a domain say http://www.mysite.com and the site is using ckfinder to maintain images. Here is what the baseUrl configuration looks like :
$baseUrl = '/uploads/'; $baseDir = resolveUrl($baseUrl);
The uploaded images are supposed to be put into SERVER_ROOT/uploads/, but it didn't happen that way. Instead, ckfinder creates the directory under its installation folder which is /js/ckfinder/ and the directory name is - very strangely - 'c'. The images were uploaded into that folder except that the paths weren't correct when I use "browse" button in the popup.
My site is running on centOS 5.5 + nginx 0.8 + php5.3.
One thing may be worth mentioning is that I tried put the whole site to apache on windows, with ckfinder having the same configuration, and it worked fine. Images & thumbnails were uploaded & generated in SERVER_ROOT/uploads/
I have no idea why this is happening. Could somebody help me please? I really appreciate it.
Re: baseUrl problem
Change:
into something like
and point this way CKFinder directly into the correct folder.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+