Nothing upload using SWF Upload
parasolx - April 29, 2009 - 00:55
| Project: | album photos |
| Version: | 6.x-2.6-beta3 |
| Component: | User interface |
| Category: | support request |
| Priority: | critical |
| Assigned: | parasolx |
| Status: | active |
Description
I have reinstall back all this module. But there is a problem when I try to upload using SWF Upload. All the process went OK, the indicator shows and message of upload success also appear.
But, there is nothing files being upload into the server. I already check in the directory, none files is uploading there. And nothing is being insert in the album.
When I used the classic form method to upload, the files are uploaded correctly.
Can somebody lend me a help how to solve this?

#1
After upload using SWFUpload check the log entries (admin/reports/dblog), is there a message?
#2
Nothing.. no event was recorded using swf upload.
but with normal form there such log like this:
cron 6 May 2009 - 7:44pm Executed photos_cron via poormanscron, took ... parasolx
cron 6 May 2009 - 7:44pm Executed node_cron via poormanscron, took ... parasolx
And the picture is successfully uploaded and insert in the database.
#3
One suggestion > test the upload with a small example outside photos/drupal as following:
$upload_notify_email = 'youraddress@example.com' in order to receive email reporting.
In this example SWFUpload Version 2.2.0.1 is used.
#4
its working...
so how i need to fixed for my site?
or is there something wrong with my drupal setting?
#5
Compare your photos-settings (admin/settings/photos) with the settings in the attached file.
Save again your photos configuration, create a new album and upload one or more photos to the new album.
If this doesn't help, I suppose we need to put more errorlog in the PHP-Scripts to narrow the problem.
#6
i have followed all the settings that you given with the attachment and the result still same.. no image(s) is upload to the server.
but i wonder to check through the photos_swfu.module, and look at this line 66:
$v['url'] = url('photos_swfu/upload/'.$pid, $op);
kindly look at the path of "photos_swfu/upload/" is for what.
#7
Regarding line 66 in photos_swfu.module I'll come back later.
I would insert more watchdog() to get further details, e.g. in ‘photos_swfu.module’.
after line 157:
<?phpwatchdog('photos_swfu', 'File %filename saved.', array('%filename' => $_FILES['Filedata']['name']));
?>
and after line 158
<?php}else{
watchdog('photos_swfu', '_photo_save_data error.');
}
?>
it shoul look as follow:
<?phpif($file->fid = _photos_save_data($file, $validators)){
photos_image_date($file);
watchdog('photos_swfu', 'File %filename saved.', array('%filename' => $_FILES['Filedata']['name']));
return true;
}else{
watchdog('photos_swfu', '_photo_save_data error.');
}
}else{
file_delete($file->filepath);
watchdog('photos_swfu', 'Wrong file type');
return header("HTTP/1.0 403.3 Internal Server Error");
}
?>
I can’t do it for you, because my ‘photos installation’ works properly.
#8
i have patch the code you have give.
then i upload 1 image, then i try upload another 3 images together, but still no images are uploading.
then i check in database log, seem no report is save. i might think the problem is conflict with my other modules
#9
same problems fro me
error 500 with swfupload
normal upload is ok