Hi,
Sorry for my poor English first.
My drupal site is Drupal 6 with Filefield,Insert and Ckeditor.
The problem is that when I used Ckeditor in IE8, Everything is ok. but when I changed to FF, image i tried to insert did not display in the text box. I knew that this problem was caused by the url wrong via firebug. Then I disabled the Ckeditor, URL in the HTML code was ok. So i thought that, it may be caused by Ckeditor url filter or something else.
THX for help.
See more details in my attach files.

CommentFileSizeAuthor
url_wrong.png42.86 KBYangchunjin

Comments

mephir’s picture

Priority: Normal » Critical
Status: Active » Postponed (maintainer needs more info)

What is wrong in path? Are you using some filebrowser like imce or others? I cann't review this bug, i haven't any problems with it.

jcisio’s picture

Priority: Critical » Normal

I can confirm that a few of my users get this bug. Not often, and they couldn't reproduce this bug when I was there. But it returned!

The problem that image is not shown is the wrong relative url. When you insert the image, you are at /node/add/story, so the path "../../sites/default/files/blabla" is correct. But when you view your content at /node/%nid, of course, it doesn't work.

wwalc’s picture

Priority: Critical » Normal

@jcisio - how exactly do you insert images into CKEditor? Are you using IMCE or CKFinder?
If you're using CKFinder can you let me know what URL is in the image dialog before you close it and insert image into the editor?

jcisio’s picture

I use IMCE (the "browse on server" option on CKEditor Image) in my site, no CKFinder. My users seemed do it correctly, but sometimes it happens. Not many times, 3-4 times in about 150-200 articles they have created recently. I am not sure this info can help you.

Something about not completely loaded config script or network problem?

wwalc’s picture

@jcisio - if it's a random issue it might be hard to reproduce it. Any chance to get a link via PM to a site with this bug to check whether I'll be able to reproduce it?

jcisio’s picture

PM sent. Thanks.

jcisio’s picture

Status: Postponed (maintainer needs more info) » Active

Wow, now I can reproduce the bug, but it's a bug of the editor, not of the module.

I have a picture in the editor, type Ctrl-X to cut it, move the cursor then Ctrl-V to paste. No problem appears. But when switch to HTML source, the src tag has changed to "../../sites/default/files/blabla"

Only tested with Firefox on Mac. And seeing the first screenshot, I'm not sure that the OP's problem.

wwalc’s picture

Status: Active » Closed (won't fix)