Posted by SnowFredje on September 18, 2008 at 2:20pm
5 followers
| Project: | album photos |
| Version: | 6.x-1.2 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Last week I was still running my site in a subfolder on my webserver. That folder was called 'beta1'. Back then, the SWFUpload addition to this module worked like a charm.
Today however, it was time to move the drupal installation to the root of the site. Now the SWFUpload module does not work anymore. All the uploads I select are displayed with a red progress bar and the message (failed uploads are marked in red).
Uploading normally, without the SWFUpload module still works, but let's be honest, that's not really practical.
Strange thing is that the log pages displays this (see included image) (Anoniem = Anonymous)
Does anyone have a solution to this? The folders are all writable;
| Attachment | Size |
|---|---|
| accessdenied.png | 9.08 KB |
Comments
#1
In firefox in, flash lead to "session" failure, which makes the user does not have permission to access path: photos_swfu/upload.
Please edit photos_swfu.module document, and then empty the cache, try again.
Please report the results. thanks
<?phpfunction photos_swfu_menu() {
$items = array();
$items['photos_swfu/upload'] = array(
'page callback' => 'photos_swfu_upload',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
return $items;
}
?>
#2
This fix made it work! I used Firefox 3 and Safari 3.1.2 and they both produced the same error.
Now however, uploads work! Thanks for the quick reply and I hope some other people can fix their problems too.
#3
Still not getting it running. The photos_swfu.module in the download is more recent than this patch.
// $Id: photos_swfu.module,v 1.1.2.14 2008/09/18 17:47:34 eastcn Exp $
It looks like it uploading
Uploading 1 of 1 then ... All files uploaded...
But there's no images being uploded.
Clear cache. Tried IE as well. Tried both GD2 and ImageMagik (which one?)
This is gonna be great if can it working !
#4
#5
it fixed with latest version. TQ
#6
Which cache do i need to clear?
(I cleared the browser cache, others?).
#7
browser cache should be sufficient but you could try to empty the drupal caches too...
From what I've seen by now, there are 3 different type of errors
- The upload method is never called because of the authentication issue, this should be solved by in new version or with the patch above
- A problem inside the upload method, see my patch at [#http://drupal.org/node/319400]
- out of memory error (php fatal error) when resizing (too) big images
Edit:
Actually, I forgot a new one..
- Incompatibilty with (newer?, some?) flash 10 versions
#8
I've cleared my browser cache, drupal cache, using flash 9.
Still getting the issue where it hangs on upload. (However, the file is uploaded - its just that the flash never indicates a success. So if I refresh, the file is in the album).
This was on a Mac OS X - when I tried FF on Vista - it worked.
So I suspect its some cache I am not clearing on my Mac' FF? (I've checked every single box on the 'clear private data' for FF).
Anyone have a definitive answer for this? should I clear the drupal session table too?
thanks.
#9
Automatically closed -- issue fixed for two weeks with no activity.