Closed (won't fix)
Project:
One Click Upload
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
18 Nov 2013 at 19:39 UTC
Updated:
8 Oct 2023 at 18:40 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedComment #2
Anonymous (not verified) commentedComment #3
xandeadx commentedI cannot reproduce
Comment #4
Anonymous (not verified) commentedHere 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)
Comment #5
Anonymous (not verified) commentedThe directory is:
sites/all/libraries/swfupload
Should it be:
sites/all/libraries/SWFUpload
Comment #6
xandeadx commentedhttps://drupal.org/project/ocupload#if-not-work
Comment #7
Anonymous (not verified) commentedThanks, I'll try to re-install again, but I did follow those instructions.
Comment #8
Anonymous (not verified) commentedGot 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.
Comment #9
Anonymous (not verified) commentedComment #10
Anonymous (not verified) commentedProblem 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
Comment #11
xandeadx commented@trainingcity reinstall SWFUpload
Comment #12
Anonymous (not verified) commentedReinstalled 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({
Comment #13
megadutch1956 commentedTraining 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.
Comment #14
Anonymous (not verified) commentedGave 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
Comment #15
xandeadx commented