I have a problem, if i use swfupload, i can selected images, and then when i click upload file become green only for the first image... other aren't processed.... but if i refresh page images are uploaded... :(

I use D6.8

Comments

eastcn’s picture

Your browser is? How much is the flash version?

Aquilasfx’s picture

firefox 3.0.5 flash 10.... now i have resolved the problem using photos_swfu.tar_.gz ( http://drupal.org/node/324497#comment-1102758) and using swfupload 2.2 beta 3 -> with this hack:

1- copy every file from swfupload 2.2 beta 3 to /site/all/modules/photos/swfupload/
2- copy again the every file from swfupload 2.2 beta 3 to /site/all/modules/photos/swfupload/Flash/

Aquilasfx’s picture

i have another problem... upload without use flash, doesn't upload anything...

alt_pc’s picture

I seem to have a similar problem as original Poster but fix in #2 doesn't work for me. I can select multiple files in swfu but the first upload never seems to finish. If I cancel all the uploads and refresh the page I find that the first image has been uploaded but not any of the others

I am using:

Firefox 3.0.5
Drupal 6.9
Flash Player 10 plugin
Album Photos 6.x-2.5-beta4 and 6.x-1.4-beta3

Within IE, I get an "error on page" popup and the "Upload" button is missing

this is a GREAT module. Thanks for your help!

-alt

or’s picture

I have the same problem... sombody?

plasticlax’s picture

i have the same problem as original post (FF 3.05, FLASH 10). if you cancel each upload once it is 100% the next one does the same thing. if you then hit refresh all the ones that went green are there.

alt_pc’s picture

Hi, just wanted to report back,

the following fixed the uploads for me BUT
http://drupal.org/node/355079#comment-1186280

now I have the upload into wrong place problem
http://drupal.org/node/352250

thanks!

worldwidemv’s picture

same problem here:
* Druapl 6.8
* Version 6.x.2.5-beta4
* Image upload via "galleries > gallerie X > photomanagment" does not work

If found http://drupal.org/node/357168 is related!
* Uploading images via "galleries > photomanagement" works!

@alt_pc: which version did you use for this patch?

worldwidemv’s picture

Status: Active » Needs work

This is not a flash problem!
The problem is a missing return true; on the end of function photos_swfu_node($node)
(file photos_sfwu.php)

As a result, the status "complet" is never triggert.

Sorry for not provieding a real patch.

plasticlax’s picture

confirmed. adding a "return true;" after line 271 in photos_swfu.module fixes this bug.
awesome module.

oops: http://drupal.org/node/357168 i guess this is a duplicate

alt_pc’s picture

Hey Worldwidemv, for your question above, the patch I used was the one in the link but it probably doesn't matter because I deleted my photos module and started again with 6.x-2.5-beta4.

The solution to add a "return true;" after line 271 in photos_swfu.module works for me too!!

The only issue I see now is that "Upload Image" uploads ok but puts it in the wrong album. Uploading from "Photos Management" uploads properly and puts it in the correct location.

Thanks everyone for your help!!!

plasticlax’s picture

i also experienced that problem. (wrong gallery)

QuirinKoerner’s picture

I didn't get the thing with "return true". I corrected the sites/all/modules/photos_swfu/photos_swfu.module file like this:

$files->name = round(rand(15770, 967049700)) . time() .'.'. $files->ext;
} return TRUE;

Is that right, because it didn't help. Do I have to reinstall the module?

Thanks

worldwidemv’s picture

I corrected the sites/all/modules/photos_swfu/photos_swfu.module

Which version are you using? From the path you wrote it looks like one of the flash 10 patch versions.

The solution works on 6.x.2.5-beta4 and 6.x-1.4-beta3.

The "return true;" completes the function photos_swfu_node($node).

Hope that helps.

QuirinKoerner’s picture

Thank you for your fast reply.
You are right, I had a Flash 10 patch Version. I reinstalled the module and now everything works fine.
Thank you so much.

AdriaanV’s picture

Hooray! I had a lot of problems with uploading too, this has gotten me a long way! Thank you!

However, occasionally I now get an 'Error 403' with some pictures, using the flash upload. What would this mean?

Starminder’s picture

Am getting Error 403 here, too

Starminder’s picture

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

It seems this module has been abandoned.