Comments

mephir’s picture

Maybe you have wrong permissions for upload folder. Could write more, about it. Which version of ckeditor and imce you are using?

mephir’s picture

Status: Active » Postponed (maintainer needs more info)
FreddieK’s picture

I'm using CKEditor 6.x-1.0 and IMCE 6.x-1.3.

As it is I got the FCKEditor with Wysiwyg and IMCE-Wysiwyg bridge working, so it doesn't seem likely that it is a permissions problem.

I understand that it's not easy to give specific support without more info, but I know that for me at least it would be a good help with a entry on configuring/troubleshooting image upload for the Advanced Help.

Thanks for your time.

druplicate’s picture

Same problem. No tab for 'upload' in the pop-up dialog. CKeditor 6x-1.0, IMCE 6.x-1.3.

I noticed that in FCKeditor there is a permission checkbox for "allow FCKeditor file uploads", but no such permission exists for CKeditor.

Previously I had selected CKfinder for image uploading and the upload tab appeared, even though CKfinder was not installed on the server.

EDIT: I didn't realize that the upload function was within the IMCE dialog. It's an awkward procedure however and not intuitive as you must first select "browse server" to get to the upload section. Seems this is still a UI bug - there should be an upload tab in the CKeditor pop-up that launches the IMCE upload dialog.

Same issue as: www.drupal.org/node/697980

And still, the permissions issue remains.

mephir’s picture

IMCE has own upload engine. Button is in IMCE window. I think upload tab for imce could be a new feature.
@Freddie Karlbom: You think about upload tab, or don't have upload button in IMCE window?

jcisio’s picture

Status: Postponed (maintainer needs more info) » Needs review

It seems that add this line in the config solve that problem:
config.filebrowserUploadUrl = '';
You need to define the filebrowserUploadUrl parameter, if not the upload tab not shown. Another method is to add CKFinder (but not use it).

I don't remember correctly, because I don't use the upload tab now. I'm using the upload feature of IMCE. I don't even think the upload feature of CKEditor works well.

mephir’s picture

I know about it, but imce upload isn't compatible at all with ckeditor upload tab. I can try to connect them each other after weekend, but it will require to patch IMCE.

mephir’s picture

Assigned: Unassigned » mephir
Status: Needs review » Needs work
wwalc’s picture

Just to be sure what's the real problem: are you all talking about the "Upload" tab(2) in CKEditor? (See the first image there).

compujohnny’s picture

You can watch a very nice screencast on How to Install CKfinder with CKeditor in Drupal and you will know exactly how to configure the ckfinder correctly

xcorex’s picture

Thank you, compujohnny!

wwalc’s picture

The screencast in #10 is unfortunately incorrect, I've send you a PM compujohnny regarding what's the problem, i hope you're received it.
Thanks for all the screencasts that you've created btw.

@anyone - while watching the screencast please ignore the instruction about changing the CheckAuthentication function and follow the steps described in README.txt.

wwalc’s picture

Status: Needs work » Postponed (maintainer needs more info)
compujohnny’s picture

Fixed the error you mentioned and created a new screencast with the proper instructions at the same path above

FreddieK’s picture

@wwalc:

Yeah, that is the button that is missing. I got it up for the FCKEditor, but for CKEditor it's non-existing. I'm gonna' watch the screen cast and follow the instructions now and hopefully that'll solve it.

lfrey’s picture

Hi there,
This issue is so confusing -every time I install a new site I need to return to my notes. As I understand it, the problem can be resolved via the CKeditor configuration. On the CKeditor configuration page, Edit the profiles for advanced or default users and under File Browser Settings>FileBrowser Sites, choose IMCE. Under Basic Setup, check the roles that are allowed to use this profile, and hit Save. Finally, make sure the User Permissions are set correctly. Hope this helps.

jouflas’s picture

previous content deleted...

answer found....thanks...

FreddieK’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

I gave it another round and found the solution; install CKFinder to get the 'upload' button but use IMCE for the actual upload. Extremely counter-intuitive, but just follow instructions here.

txg0_0’s picture

Assigned: mephir » txg0_0

Yeah, I get the same problem, but I resolve it now.

First, make sure the directory which you store uploaded file is writable.

Second, make sure choose IMCE on both "default" and "advanced" profile. (this is my issue).

diffy’s picture

So what is the actual solution to this?

I am stuck with a Drupal 6.19 and "lost" my BROWSE SERVER link. Now I am trying to reinstall everything to make it work, but can't.

So I'm taking a step back and asking:
How do I get an image upload feature with CKEditor? Feel free to include details and being elaborative, some of the replies above makes no sense to me: "add config.filebrowserUploadUrl = ''; to config" eg. and "make sure IMCE on both "default" and "advanced" profile ...

FreddieK’s picture

#20
My current solution; use CCK Imagefield and Insert for the images. This makes the images part of the node data structure, which makes migration without breaking images easier. Also, this should work well with Image FUpload which seems to be the best current solution for bulk uploading images in the browser (except for perhaps CKFinder which I haven't tried, but that one still leaves the migration problem).

Broomheath’s picture

Just to add my view of the issue. I have the latest IMCE and CKeditor installed. Under user profile I can upload images to the user default files directory and can then, in CKeditor, browse the server and use the image. Not a problem for me and to be honest I don't use the WYSIWYG myself but my users need to upload images to pages they create in a slightly less convoluted route. I am sympathising with diffy #20 and am taking the same step back. Is there an instruction manual or a how to that covers using CKeditor and IMCE to do allow users to click the image button and then get a popup that has the upload tag on it and actually uploads the image without giving errors abut php config?

Strae’s picture

Same problem here, IMCE 6.x-2.0-rc2 + TinyMCE 3.3.9.

It used to work till yesterday; Today i've changed some roles and now i cant see the imce 'toolbox' anymore, even if I log in with sudo user (user-1).

I've tryed to create new imce profiles, login/logout and try again, but nothing happens!
I see the file list, but i can not select them.

Strae’s picture

I solved my problem.

In my case, there was an Js error (caused by fb module), i found it checking firebug when the files pop-up windows is being open.

MyriamB’s picture

I had the same problem as Strae in #23. And Facebook module was the cause as well. Thanks.

Then, I still have a problem getting the thumbnails and the images themselfs: it looks like their paths are broken.

Update: Actualy the images were not uploaded at all, even if the module kept sending me success messages. There was two reason for that problem 1) The folder permissions were not set to "write" so the files can be uploaded for real; 2) I had to set the file system download method to "Private" at /admin/settings/file-system in order to see the images.

Hope it could help someone.

vlzvl’s picture

Hello,
I had the same problem (missing links in top of imce)
My themer included a jquery init file (jquery.core.js) in his theme .info
so 2 jquery's actually were loaded (the one from drupal itself & the second
from theme because it uses some jquery inside).
I just uncommented the one at my theme .info file and all problems vanished.
Hope it helps

P.S. if there was a way to ignore a jquery init (etc. from a theme) while a
drupal one has been already loaded will be good. Many themers just include their
own and one has to think for many things.

jdelgama’s picture

Same problem, IMCE and CKEditor permissions correctly set. Also files and directory permissions.
My theme was hidding the upload button!

Found

#edit-upload {
	display: none;
}

remove "display: none;" line and everything worked normally!

Drewzilla’s picture

I have no browse button either? I have IMCE and CKEditor in place and permissions checked, not sure about bridging the two (how do I do this?) I set the file browser settings in CKEditor profile to IMCE on all 3. Please help. Drewzilla

frederico’s picture

Thanks jdelgama!!! I found the same thing. I am using a self-built Fusion (6.x-1.x-dev) subtheme. Not sure why this is happening. Unfortunately, the element itself it setting "display:none" via the "element.style" so I cannot just edit the subtheme CSS stylesheet. I'll keep on trying to figure out what's wrong and report back my findings. Thanks again for the clue!

-Frederico Garza

frederico’s picture

Ugh! The fix was embarrassingly easy... I didn't have my filebrowser settings set correctly. In case someone else has the same problem:

1. In the Administrator Menu, hover over SITE CONFIGURATION
2. Click on CKEDITOR
3. For the Advanced profile, click EDIT
4. Click FILE BROWSER SETTINGS
5. Select IMCE for each of these three:
- File browser type (Link dialog),
- File browser type (Image dialog),
- File browser type (Flash dialog)
6. Click the SAVE button at the bottom of the page.

That's it. Good luck!

-Frederico Garza

sunset_bill’s picture

I was wrestling with this for several days, too, searching on Google and drupal.org, finding all kinds of posts about installing additional modules and creating custom modules implementing various hooks. Finally got smart enough to read the README.txt file in the ckeditor folder. Took my time, followed the steps there, and uploads worked fine using CKFinder.

The problem I have now, though, is that uploading a new image and browsing the server for an existing image work fine when I´m creating a new node, but when I´m editing an existing node, the file browser tells me ¨Folder not found¨ and when I try uploading, all I get after choosing an hitting "Send to server" is a horizontal scrollbar.

Any ideas?
Thanks,
SB

sunset_bill’s picture

My problem was a bad path in the filebrowser path settings. Uploads and retrievals work fine with a path under /sites/default/files, so I now know everything works.

AlexisWilke’s picture

I ran in a similar problem where the button wouldn't appear and ended up on this issue.

In my case the problem was that I created a new role and did not remember to go in the Global settings to move the role up (i.e. new roles are appended by default, which makes sense... but that means they appear after the authenticated role!)

Otherwise, I was surprised to see that "Upload" tab in the Image popup. I never saw it in my websites. Not like I need it since the Browse Server button is more than enough.

Thank you for your insights.
Alexis Wilke

mkesicki’s picture

@AlexisWilke can you create new issue with your problem.
This ticket is closed and pretty old.
Please also select a correct version of CKEditor module for drupal with you have a problem.
Thank you.

AlexisWilke’s picture

michal_cksource,

No need. I know it's old, I found it with Google too. 8-)

My comment may help others who end up on this issue as well. Anyway, my problem was resolved so there was no need for a new issue.

Thank you.
Alexis

misscosmic’s picture

#30 did it all for me. Thanks frederico, for this clean and clear sollution you saved me so much work and frustration! TOP!

plcarpenter’s picture

Issue summary: View changes

After two days of trying, I found this easy video. Worked perfect first time! WYSIWYG not required and no hacking needed!

https://www.youtube.com/watch?v=1VTEI8tNEMw

plcarpenter’s picture

ginmonty’s picture

@lfrey Thank you for this:
Hi there,
This issue is so confusing -every time I install a new site I need to return to my notes. As I understand it, the problem can be resolved via the CKeditor configuration. On the CKeditor configuration page, Edit the profiles for advanced or default users and under File Browser Settings>FileBrowser Sites, choose IMCE. Under Basic Setup, check the roles that are allowed to use this profile, and hit Save. Finally, make sure the User Permissions are set correctly. Hope this helps.

That worked for me except the File Browser Sites was actually File Browser Type. Thank you so so much!

cmunk’s picture

In my case the problem was caused by devel, devel_themer modules.
When I disabled the modules above the upload button appeared and I could upload images.

solution@vijay’s picture

You can also see following link with screen.
Which is written by me.

http://easydrupalsolutions.blogspot.in/2014/09/blog-post_2.html

jack@jackgarvey.com’s picture

On occasion, the reason you may not see the "Browse" button in the image properties box is simply because the "Test Format" drop down list box in the node you are working on is set for "Filtered HTML" instead of "Full HTML". Set it to "Full HTML", and you will see the browse button again.

surendra77c’s picture

Ckeditor image upload option | upload image from your local pc

only 2 module is required for this CKEditor and IMCE .

Step - 1
http://xyz.com/admin/config/content/ckeditor/edit/Advanced

Basic setup - > Full HTML { or you choice}
Editor appearance -> Add Imce icon to Toolbar by drag and drop
File browser settings - > File browser type (Link dialog window) {IMCE} | File browser type (Image dialog window) {IMCE}
save the configuration
Step - 2

http://xyz.com/admin/config/media/imce

Configuration profiles - > Click on edit user1 [ check this box : Display file browser tab in user profile pages. ] and save the configuration
Role-profile assignments - > select the dropdown under public files and select user1 as your profiles

josueValRob’s picture

Hello!
i was in that problem for the last hour, reading one by one all the posible solutions... after all, and with a little lucky, i found it;

context: drupal 7, ckeditor module, imce module, bootstrap theme. ... and the key: jquery update module.

1) enable the ck editor module, and configure it with the imce moduele for search files.
2) enable the jquery update module, and put it in the 1.7 version. (yeah, i wasted the last hour just for dont enable that module after enable the bootstrap theme.)

Mistah7’s picture

Thank you josueValRob !

Now it works for me!

Great!

viola_chisto’s picture

#44 worked like a charm for me ! Just install jquery update module. Thanks @josueValRob

hassebasse’s picture

Hi

I've tried everything already mentionned but the buttons are gone. It worked fine for a year or so, but suddenly gone. I suspect it could have to do with a module upgrade or so but I've upgraded so many modules so I don't know where to look.

Pls note that the buttons are not just gone in the editor: I use IMCE to reuse files already on the server when attaching a PDF to a field in a content type, like PDF to download. I can bowse but there are no buttons in the IMCE.

In other words the problem is not connected to CKEDITOR but to IMCE itself.

Any idea anyone?

Hans

capysara’s picture

Thanks everyone! My issue was also with js, specifically related to an update to contrib module Tablesorter (fixed in dev https://www.drupal.org/node/2868490). I went to mysite.com/imce and used the debugger to find the error.

hassebasse’s picture

Issue summary: View changes

It was Tablesorter for me as well. I'm sorry for not comming back here earlier but I posted the question on different places and I simply forgot to inform here.

Hans