The one click upload module with both the WYSIWYG module and CKEditor Module causes all the buttons in the menu to become greyed out and non functional. I am running CKEditor 4.3. Module is installed according to instructions, all required libraries are installed.

With the CKEditor module, removing the One Touch upload button from "used buttons" returns the editor to normal function. Same results when one click upload is removed from WYSIWYG module configuration. This action is repeatable.

Comments

Anonymous’s picture

Priority: Critical » Normal
Status: Active » Postponed
Anonymous’s picture

Issue summary: View changes
Priority: Normal » Critical
Status: Postponed » Active
xandeadx’s picture

I cannot reproduce

Anonymous’s picture

Here is the error msg I am getting in Chrome. Same behavior in Firefox:

Uncaught ReferenceError: SWFUpload is not defined
(anonymous function)
b.extend.each
b.fn.b.each
(anonymous function)
j
CKEDITOR.event.CKEDITOR.event.fire
CKEDITOR.editor.CKEDITOR.editor.fire
(anonymous function)

Anonymous’s picture

The directory is:

sites/all/libraries/swfupload

Should it be:

sites/all/libraries/SWFUpload

xandeadx’s picture

Anonymous’s picture

Thanks, I'll try to re-install again, but I did follow those instructions.

Anonymous’s picture

Got the module working by disabling:

"Delete unused files
To save space uploaded files that are not used in text will be deleted"

I will double check the dir permissions, but in any case, this appears to have been the source of the problem. All menu buttons, including the one click upload are working now.

Anonymous’s picture

Status: Active » Needs review
Anonymous’s picture

Problem persists in Firefox. Along with the error:

TypeError: e.getSelection(...) is null @ .../libraries/ckeditor/ckeditor.js?mwlfwq:361

I am also getting this error:

[09:44:47.795] ReferenceError: SWFUpload is not defined @ ...sites/all/modules/ocupload/static/plugin.js?t=DAED:29

xandeadx’s picture

@trainingcity reinstall SWFUpload

Anonymous’s picture

Reinstalled SWFUpload and problem seems to have gone away. Still getting this error when page loads, but one click upload button is working in Firefox now:

ReferenceError: SWFUpload is not defined plugin.js:29

from file: CKEDITOR.plugins.add('OCUpload', {line 29

var swfu = new SWFUpload({

megadutch1956’s picture

Training City,
y othner
Are you still out there?

I'm having a similar problem. I've tried reinstalling SWFUpload but that does not seem to work.

Do you have any other suggestions?

Thank you for your time.

Anonymous’s picture

Gave up on this approach. I've generally moved away from allowing site users to add images and oembed videos into WYSIWYG long text fields, preferring to setup separate image fields and link fields. The media module and editor based solutions all have various severe limitations that can be managed when only trusted site admins are adding content, but cause endless problems for a social site like mine, RealLifeEnglish.com. I found a great module called Drag and Drop Upload that works with the image field and works great will all major browsers: www.drupal.org/project/dragndrop_upload

xandeadx’s picture

Status: Needs review » Closed (won't fix)