Closed (fixed)
Project:
SWFUpload
Version:
5.x-1.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
13 Sep 2007 at 03:11 UTC
Updated:
28 Sep 2007 at 14:51 UTC
Jump to comment: Most recent file
Just installed this tonight -- the latest dev version. Double, triple, and quadruple checked all my file paths, and they are correct, but the status log says:
SWFUpload Missing files
You must install the minimalistic SWFUpload library to modules/swfupload/swfupload.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | misfiles.jpg | 110.41 KB | mikey081 |
| #3 | swfupload.module.paths_.patch | 1.32 KB | robloach |
Comments
Comment #1
mikey081 commentedSecond that, I had the same thing happen to me (only difference was that I installed the official release 1.1)
On a positive note, when running php.update, I finally got a message saying "UPDATE {system} SET weight='10' WHERE name='swfupload' AND type='module'" , in reference to http://drupal.org/node/173401, so the coding is going in the right direction!
Probably just some simple path in the module to correct, but I certainly don't have the skills to find it.
Great work and can't wait til I can get this to work!
Mikey
Comment #2
robloachYou should have SWFUpload.js and SWFUpload.swf stored in the modules/swfupload/swfupload directory. So you'd have:
modules/swfupload/swfupload/SWFUpload.js
modules/swfupload/swfupload/SWFUpload.swf
...Not quite sure why that isn't working for you.... Are you sure you put it in the right path?
Comment #3
robloachMaybe
dirname(__FILE__)would help instead? Mind trying this out?Comment #4
mikey081 commentedTried your patch, to no effect. I still get the following error from Drupal:
SWFUpload Missing files
You must install the minimalistic SWFUpload library to modules/swfupload/swfupload.
I've attached a shot of my directory to show how my files are saved, I could have very well done something obviously wrong.
This latest version of the module is the first time I've gotten the error (or any error, for that matter, previous versions did nothing at all-literally), and I've installed every previous version of the module the same way.
Sorry for the trouble!
Mikey
Comment #5
robloachDoes the module actually work? Once you install SWFUpload module, can you make file attachements using it? Even though it reports the files as missing?
Comment #6
frjo commentedRenaming the files SWFUpload.swf and SWFUpload.js to lowercase got rid of the error for me.
I guess it would be better to fix the module so it recognize the original files.
Comment #7
robloachAhhhh, that would make sense. Thanks a lot for finding the problem!
Comment #8
(not verified) commented