In previous versions of KCFinder it was possible to provide a relative path for the upload URL. That way it worked on any host and didn't need to be reconfigured if you moved the site (say from local testing to the hosting server).
The more recent versions require you to enter an absolute path which breaks this flexibility. However, as a workaround you can enter a path relative to the install directory of the library and it will work just like before.
So for instance if the library path is set to sites/all/libraries/kcfinder (default) and you want the upload directory in sites/default/files/kcfinder you'd enter ../../../default/files/kcfinder for the upload path URL.
Maybe in a future version the input field description could be changed to highlight this or get rid of absolute paths altogether?
Cheers
Comments
Comment #1
danyalejandro commentedComment #2
scott.olipra commentedThank you (dro0x) SO MUCH for taking the time to post that workaround info.
You just helped me solve the problem for now, on a project.