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
Description

Hi, I'm getting a server error when trying to upload anything.

See attached screenshot.

AttachmentSize
servererror.png9.44 KB

#1

dayre - December 28, 2008 - 01:48

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

skilip - December 29, 2008 - 09:55

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

skilip - January 29, 2009 - 19:07

Any updates on this?

#4

yaoweizhen - February 5, 2009 - 09:17

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

Starminder - June 25, 2009 - 23:00

Subscribe, same issue

#6

Starminder - July 28, 2009 - 21:24
Priority:normal» critical

I'm still unable to get past this problem, does anyone know what would cause this? Thanks

#7

ShaneOnABike - October 7, 2009 - 16:59

Maybe check out the thread here

http://swfupload.org/forum/generaldiscussion/1125

#8

ShaneOnABike - October 22, 2009 - 20:08

We are also having this problem and I wonder if it's related to the bug here...

http://drupal.org/node/591142

 
 

Drupal is a registered trademark of Dries Buytaert.