Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Running on the newest drupal 7 version - just installed your module and unpacked the lib files as you described. When i activate your button and then click it in my CKeditor i get the following error:
Module initialization error.
its in a javascript message box - looked a bit up and javascript is included correctly but i cant find a swf file loaded in firebug - maybe that is the reason ? If you want the url of my page i will send it you via mail so you can check out on your own.
Comment | File | Size | Author |
---|---|---|---|
#11 | mod error.jpg | 11.89 KB | rolandk |
Comments
Comment #1
david.mann CreditAttribution: david.mann commenteddev version brings up the same error.
Comment #2
xandeadx CreditAttribution: xandeadx commentedread this? http://drupal.org/project/ocupload#if-not-work
Comment #3
david.mann CreditAttribution: david.mann commentedAs i described in my first post i already checked for the files and it seems like the swf file is missing.
(but its at the location you describe on your project site)
The demo works for me. Since i did everything on your project page i am sure that its a bug in your module. Any ideas what i could try to find out the source of the problem?
Comment #4
xandeadx CreditAttribution: xandeadx commentedreinstall SWFUpload
Comment #5
david.mann CreditAttribution: david.mann commentedNo you don't understand - and yes i tried this like 2 times - the files are at the correct location but your module does not load it. That is the reason why i am posting here since its a bug in your module.
Comment #6
xandeadx CreditAttribution: xandeadx commenteddemo work? if work, then not module bug.
Comment #7
david.mann CreditAttribution: david.mann commentedYes, the demo works perfect for me! But if it works in your demo site it must not mean that it works on every drupal installation since every theme is different and other modules can alter the behavior of your module as well. Fact is that the module does not work on my site - and i think other people struggle with this problem too.
So i was wondering if you could help me to fix this issue.
Here some differences between your demo site and my site:
your root folder is / on my site its website/
i use another theme
Comment #8
xandeadx CreditAttribution: xandeadx commenteddisable all contrib modules and let me know which module disrupts ocupload
move drupal to / folder and let me know if the problem disappears
enable Bartik theme and let me know if the problem disappears
Comment #9
decibel.places CreditAttribution: decibel.places commentedI had this problem but upon RTFM in README.TXT I realized I was using SWFUpload v2.5.0
Changing to SWFUpload v2.2.0.1 works nicely
Comment #10
xandeadx CreditAttribution: xandeadx commentedComment #11
rolandk CreditAttribution: rolandk commentedI am facing the same problem as David.
Drupal 7.4 using wysiwyg mod - swfupload 2.2.0.1 tested fine.
Clicking the oneclick upload button brings up a window that says "Module Initialization error" with both current and dev versions.
Any help appreciated.
Comment #12
xandeadx CreditAttribution: xandeadx commentedhttp://drupal.org/node/1268946#comment-4944456
http://drupal.org/node/1268946#comment-4956122
http://drupal.org/node/1268946#comment-4966714
Comment #13
david.mann CreditAttribution: david.mann commentedhmm i don't even have a readme.txt but Documentation/index.html says SWFUpload v2.2.0.1
i don't understand why you closed this bug ? i noticed that is the second occurrence of this problem and in this thread already 2 people are suffering from this bug.
Searching your module code i found this. Which obviously means that the flash file is not created correctly by your module.
hmm maybe i should try another approach then WYSIWYG :) what you use in your demo ?
Comment #14
xandeadx CreditAttribution: xandeadx commentedconfused you and "decibel.places"
WYSIWYG module + CKEditor
Comment #15
david.mann CreditAttribution: david.mann commentedhmm strange - i tried it with BU editor and it worked perfectly. Such a nice module i hope you can fix this bug.
i also tried it with WYSIWYG on my local isntance and it did not worked again!
which version of wysiwyg and CKEditor do you use in your example?
files to reproduce: http://46.4.19.82/all.rar
using the newest drupal 7
Comment #16
xandeadx CreditAttribution: xandeadx commentedupdate your editor http://ckeditor.com/download
Comment #17
rolandk CreditAttribution: rolandk commentedI was using this module with wysiwyg+ckeditor 3.6.2 - same module init error... there is a legit problem here.
Comment #18
thummel CreditAttribution: thummel commentedI was getting the same error until I tried uninstalling the module and then reinstalling it. Works great now.
Comment #19
david.mann CreditAttribution: david.mann commentedjust checked it with the new version - works perfectly now :)
Comment #20
edaa CreditAttribution: edaa commentedIt may be caused by wrong permission,
please check the roles you expected have checked at the bottom of ocupload edit page.
hope it's helpful.
Comment #21
dansanjou CreditAttribution: dansanjou commentedI had the same issue when deploying our site to our Dev server (was working on local) and the solution was to change the SWFUpload directory to lower case.
Hope this helps