Hello,
I'm pretty new with drupal and not sure whether this is a problem of kcfinder, ckeditor or me. I installed ckeditor and kcfinder together with wysiwyg in my local installation and it works fine. Now I uploaded the local installation to an internet server and I have problems with the upload path. Like in my local installation „sites/default/files/kcfinder“ is configured as „Upload path URL “ in the kcfinder configuration. But the images are uploaded to sites/all/modules/kcfinder/kcfinder_files/... . I'm using the upload tab in the editor popup for uploading my images. The Image info tab afterwards shows me the URL /images/ and my image was not found. After clicking on the Browse Server button I can see the uploaded image. But after choosing it and coming back to the Image info tab the displayed value in the URL field is now a absolute URL http:///images/ and the image is not included in the preview. I can't see a problem in the file path to sites/default/files/kcfinder.

Can you tell me under which conditions kcfinder uses the different upload path sites/all/modules/kcfinder/kcfinder_files/...?
I had the same problem with kcfinder-7.x-1.82.

CommentFileSizeAuthor
#6 KCfinder.PNG19.93 KBtompri
#6 KCfinder.PNG19.93 KBtompri

Comments

Carol11’s picture

Hello,
during the installation of the newest version 7.x-1.83 the directory sites/all/modules/kcfinder_files was removed and uploading files ist not possible.

Carol11’s picture

Component: Miscellaneous » Code
danyalejandro’s picture

Assigned: Unassigned » danyalejandro

Please wait a couple of days. The KCFinder library project will publish a new release with some integration adaptations so we can make it a separate download... The releases will be activated by then, and a new version of this module will be published.

danyalejandro’s picture

New version is out! please delete old one, uninstall, and install this new one. Remember to download KCFinder files separately!

danyalejandro’s picture

Status: Active » Fixed
tompri’s picture

StatusFileSize
new19.93 KB
new19.93 KB

When I click on Send it to server button (in image Properties window) I see a long narrow black line with a scroll bar. Clicking on OK I receive the message - image source URL missing. Am using KCfinder 2.5, CKeditor 3.6.1, latest Dev WYSIWYG, Drupal 7.7. Library path = /sites/libraries/kcfinder-2.5 (I also tried kcfinder). Upload path = /sites/default/files/kcfinder (the folder is there). Any thoughts?

danyalejandro’s picture

techietom: Could you try to put the library inside "sites/all/libraries" and rename the folder to "kcfinder"? What result do you get? Can you normally browse images with other methods?

tompri’s picture

Make requested changes. Now get "Don't have permission to upload files".

danyalejandro’s picture

techietom: Did you assign the "KCFinder access" permission properly?

tompri’s picture

"KCFinder access" checked for admin and authenticated user.

danyalejandro’s picture

please upload a screenshot of the whole window when the error happens...

tompri’s picture

danyalejandro: Problem solved. Path to library was incorrect. Incorrect path was http://. Correct path is http://www.

Module appears to be working as advertized. Thank you for your time and help.

danyalejandro’s picture

Status: Fixed » Closed (fixed)

Im glad to hear that :) closing this issue. Please open a new one if you find any problems.