Server Error
Flying Drupalist - December 25, 2008 - 15:45
| Project: | SWFUpload |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi, I'm getting a server error when trying to upload anything.
See attached screenshot.
| Attachment | Size |
|---|---|
| servererror.png | 9.44 KB |

#1
Check your php.ini settings to ensure the size of the file you are uploading isn't going over the upload/post limits (post_max_size, upload_max_filesize).
#2
The SWFUpload has some debug tools. Change this (line 486 of swfupload.module):
<?php$settings['swfupload_settings'][$element['#id']] = array(
'module_path' => $path,
?>
to this:
<?php$settings['swfupload_settings'][$element['#id']] = array(
'debug' => TRUE,
'module_path' => $path,
?>
#3
Any updates on this?
#4
I have some problem? This is my debug message:
SWF DEBUG: Global Post Item: node_settings={ "filepath": "%file_directory_path", "max_img_resolution": "800x600", "list": 1, "file_extensions": "jpg jpeg gif png txt", "max_file_size": 8388608, "upload_usersize": 8388608, "node_max_file_size": 8388608, "max_files": "50" }SWF DEBUG: Global Post Item: sid=312a6434316438636439386630306232303465393830303939386563663834323765
SWF DEBUG: Global Post Item: max_img_resolution=800x600
SWF DEBUG: Global Post Item: filepath=sites/default/files/
SWF DEBUG: Global Post Item: op=move_uploaded_file
SWF DEBUG: Global Post Item: instance={ "name": "upload" }
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload. Starting upload to /acquia-drupal-1.2.1/swfupload for File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 64752. Total: 64752
SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_0_0. HTTP Status: 403.
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
SWF DEBUG: StartUpload: First file in queue
SWF DEBUG: StartUpload(): No files found in the queue.
I also have found http://www.example.com/swfupload 'access denied' warning in watchdog. But the module is worked successfully on my another local drupal site.
#5
Subscribe, same issue
#6
I'm still unable to get past this problem, does anyone know what would cause this? Thanks
#7
Maybe check out the thread here
http://swfupload.org/forum/generaldiscussion/1125
#8
We are also having this problem and I wonder if it's related to the bug here...
http://drupal.org/node/591142