Hi
I've followed the install steps show on http://drupal.org/project/kcfinder to install kcfinder.
If I click on the image buitton in ckeditor, i get up the file dialog, but when I try and browser the server for files, I get a 404 error.
The page it is trying to load is
http://localhost/test_site/?q=sites/all/libraries/kcfinder/browse.php?ty...
If I edit that line to remove the "?q=" I can see the file upload dialog and actually upload files. Does anyone know what I'm not doing right or remove the "?q=" from the drupal base address
My KCFinder library path = sites/all/libraries/kcfinder
My Upload path URL = http://localhost/test_site/sites/default/files/kcfinder
I'm using
Drupal - 7.8
ckeditor - 3.6.2.7275
kcfinder - 2.51
Thanks
Simon
Comments
I've just done this, which
I've just done this, which makes the problem go away. I guess the real question is should drupal we be providing the redirect and it isn't or should the url() function not be adding /?q= to the base path? Does anyone know if this would be fixed by using clean URL's, (I currently can't/ don't use them).
In kcfinder.inc.php (within /sites/all/modules/kcfinder)
clean URL's solution works
Hi simon_6162,
I encounter the same problem, try your solution, and works.. thx.
After more reading, i found that every drupal install, make different decision on enable/ disable Clean URLs configuration.
And yeah, on Clean URLs enable, this situation never happened.