Ok up to 2 weeks ago, everything worked fine, I uploaded 60 images into 2 nodes (with imagefield, i am not using it with image, i do not have image installed).
Now, when I try to upload the same images, or images that are > 800k, I get a Upload Error: 500.
The only thing I did in the meantime was running cron for the first time (it's a pretty new site).
Some info:
IE 6
grisucentral.net/phpinfo.php does not show mod_security (you can test)
Flash Debug output attached below
All modules on latest version but Imagecache (latest version that was stable as of August 10)
I have 100MB memory for php
Max upload size php is 20MB
f_upload max size is 0 (unlimited)
I increased max user space to 500MB
I still have a lot of space available on my server.
Problem is there with or without clean urls.
I ran update.php but did not clear any cache. (Update.php should do that no?)
image_fupload is installed in drupal/modules/image_fupload
Apache log:
57.67.17.100 - - [20/Aug/2009:18:19:19 +0200] "GET /node/add HTTP/1.1" 200 123817 "http://www.grisucentral.net/admin/content/taxonomy/4/add/term" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
57.67.17.100 - - [20/Aug/2009:18:19:20 +0200] "GET /sites/all/themes/black_mamba/iepngfix.htc HTTP/1.1" 404 11402 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
57.67.17.100 - - [20/Aug/2009:18:19:23 +0200] "GET /modules/image_fupload/image_fupload-style.css?y HTTP/1.1" 200 814 "http://www.grisucentral.net/node/add/simplegallery" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
57.67.17.100 - - [20/Aug/2009:18:19:22 +0200] "GET /node/add/simplegallery HTTP/1.1" 200 149140 "http://www.grisucentral.net/node/add" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
57.67.17.100 - - [20/Aug/2009:18:19:24 +0200] "GET /sites/default/files/languages/de_3aa4b182ca01df13e1d172e73626ef5d.js?y HTTP/1.1" 200 2461 "http://www.grisucentral.net/node/add/simplegallery" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
57.67.17.100 - - [20/Aug/2009:18:19:24 +0200] "GET /modules/image_fupload/swfupload/swfupload.js?y HTTP/1.1" 200 37689 "http://www.grisucentral.net/node/add/simplegallery" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
57.67.17.100 - - [20/Aug/2009:18:19:24 +0200] "GET /modules/image_fupload/swfupload/swfupload.queue.js?y HTTP/1.1" 200 3382 "http://www.grisucentral.net/node/add/simplegallery" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
57.67.17.100 - - [20/Aug/2009:18:19:24 +0200] "GET /modules/image_fupload/swfupload/fileprogress.js?y HTTP/1.1" 200 5156 "http://www.grisucentral.net/node/add/simplegallery" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
57.67.17.100 - - [20/Aug/2009:18:19:24 +0200] "GET /modules/image_fupload/swfupload/handlers.js?y HTTP/1.1" 200 10906 "http://www.grisucentral.net/node/add/simplegallery" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
57.67.17.100 - - [20/Aug/2009:18:19:25 +0200] "GET /sites/all/themes/black_mamba/iepngfix.htc HTTP/1.1" 404 11402 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
57.67.17.100 - - [20/Aug/2009:18:19:26 +0200] "GET /modules/image_fupload/swfupload/swfupload.swf?preventswfcaching=1250785165504 HTTP/1.1" 200 12787 "http://www.grisucentral.net/node/add/simplegallery" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
57.67.17.100 - - [20/Aug/2009:18:19:27 +0200] "GET /modules/image_fupload/swfupload/select_images.png HTTP/1.1" 200 4052 "http://www.grisucentral.net/modules/image_fupload/swfupload/swfupload.sw..." "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
57.67.17.100 - - [20/Aug/2009:18:20:33 +0200] "POST /fupload/flash HTTP/1.1" 500 - "-" "Shockwave Flash"
57.67.17.100 - - [20/Aug/2009:18:20:36 +0200] "POST /fupload/flash HTTP/1.1" 500 - "-" "Shockwave Flash"
57.67.17.100 - - [20/Aug/2009:18:20:39 +0200] "POST /fupload/flash HTTP/1.1" 500 - "-" "Shockwave Flash"
57.67.17.100 - - [20/Aug/2009:18:20:43 +0200] "POST /fupload/flash HTTP/1.1" 500 - "-" "Shockwave Flash"
57.67.17.100 - - [20/Aug/2009:18:20:47 +0200] "POST /fupload/flash HTTP/1.1" 500 - "-" "Shockwave Flash"
57.67.17.100 - - [20/Aug/2009:18:20:50 +0200] "POST /fupload/flash HTTP/1.1" 500 - "-" "Shockwave Flash"
57.67.17.100 - - [20/Aug/2009:18:20:53 +0200] "POST /fupload/flash HTTP/1.1" 500 - "-" "Shockwave Flash"
57.67.17.100 - - [20/Aug/2009:18:20:57 +0200] "POST /fupload/flash HTTP/1.1" 500 - "-" "Shockwave Flash"
57.67.17.100 - - [20/Aug/2009:18:21:01 +0200] "POST /fupload/flash HTTP/1.1" 500 - "-" "Shockwave Flash"
57.67.17.100 - - [20/Aug/2009:18:21:05 +0200] "POST /fupload/flash HTTP/1.1" 500 - "-" "Shockwave Flash"
57.67.17.100 - - [20/Aug/2009:18:21:09 +0200] "POST /fupload/flash HTTP/1.1" 500 - "-" "Shockwave Flash"
57.67.17.100 - - [20/Aug/2009:18:21:12 +0200] "POST /fupload/flash HTTP/1.1" 500 - "-" "Shockwave Flash"
57.67.17.100 - - [20/Aug/2009:18:21:24 +0200] "GET /node/add/simplegallery HTTP/1.1" 200 149140 "http://www.grisucentral.net/node/add" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
57.67.17.100 - - [20/Aug/2009:18:21:25 +0200] "GET /sites/all/themes/black_mamba/iepngfix.htc HTTP/1.1" 404 11402 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
57.67.17.100 - - [20/Aug/2009:18:21:26 +0200] "GET /modules/image_fupload/swfupload/swfupload.swf?preventswfcaching=1250785286012 HTTP/1.1" 200 12787 "http://www.grisucentral.net/node/add/simplegallery" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
57.67.17.100 - - [20/Aug/2009:18:27:39 +0200] "POST /fupload/flash HTTP/1.1" 500 - "-" "Shockwave Flash"
Flash debug info (of a different upload):
---SWFUpload Instance Info---
Version: 2.2.0 2009-03-25
Movie Name: SWFUpload_0
Settings:
upload_url: /fupload/flash
flash_url: /modules/image_fupload/swfupload/swfupload.swf?preventswfcaching=1250963081875
use_query_string: false
requeue_on_error: false
http_success:
assume_success_timeout: 0
file_post_name: Filedata
post_params: [object Object]
file_types: *.png; *.gif; *.jpg; *.jpeg
file_types_description: Only images
file_size_limit: 0
file_upload_limit: 100
file_queue_limit: 200
debug: true
prevent_swf_caching: true
button_placeholder_id: spanUploadButton
button_placeholder: Not Set
button_image_url: /modules/image_fupload/swfupload/select_images.png
button_width: 36
button_height: 37
button_text:
button_text_style: color: #000000; font-size: 16pt;
button_text_top_padding: 0
button_text_left_padding: 0
button_action: -110
button_disabled: false
custom_settings: [object Object]
Event Handlers:
swfupload_loaded_handler assigned: false
file_dialog_start_handler assigned: false
file_queued_handler assigned: true
file_queue_error_handler assigned: true
upload_start_handler assigned: true
upload_progress_handler assigned: true
upload_error_handler assigned: true
upload_success_handler assigned: true
upload_complete_handler assigned: true
debug_handler assigned: true
SWF DEBUG: SWFUpload Init Complete
SWF DEBUG:
SWF DEBUG: ----- SWF DEBUG OUTPUT ----
SWF DEBUG: Build Number: SWFUPLOAD 2.2.0
SWF DEBUG: movieName: SWFUpload_0
SWF DEBUG: Upload URL: /fupload/flash
SWF DEBUG: File Types String: *.png; *.gif; *.jpg; *.jpeg
SWF DEBUG: Parsed File Types: png,gif,jpg,jpeg
SWF DEBUG: HTTP Success: 0
SWF DEBUG: File Types Description: Only images (*.png; *.gif; *.jpg; *.jpeg)
SWF DEBUG: File Size Limit: 0 bytes
SWF DEBUG: File Upload Limit: 100
SWF DEBUG: File Queue Limit: 100
SWF DEBUG: Post Params:
SWF DEBUG: PHPSESSID=e09945566796386de703c4fdcedcd8f8
SWF DEBUG: nodetype=simplegallery
SWF DEBUG: fieldname=field_o
SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
SWF DEBUG:
Removing Flash functions hooks (this should only run in IE and should prevent memory leaks)
SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select. Allowed file types: *.png; *.gif; *.jpg; *.jpeg
SWF DEBUG: Select Handler: Received the files selected from the dialog. Processing the file list...
SWF DEBUG: Event: fileQueued : File ID: SWFUpload_0_0
SWF DEBUG: Event: fileDialogComplete : Finished processing selected files. Files selected: 1. Files Queued: 1
SWF DEBUG: StartUpload: First file in queue
SWF DEBUG: Event: uploadStart : File ID: SWFUpload_0_0
SWF DEBUG: Global Post Item: PHPSESSID=e09945566796386de703c4fdcedcd8f8
SWF DEBUG: Global Post Item: nodetype=simplegallery
SWF DEBUG: Global Post Item: fieldname=field_o
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload. Starting upload to /fupload/flash 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: 98304. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 131072. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 163840. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 196608. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 229376. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 262144. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 294912. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 327680. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 360448. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 393216. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 425984. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 458752. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 491520. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 524288. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 557056. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 589824. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 622592. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 655360. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 688128. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 720896. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 753664. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 786432. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 819200. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 851968. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 884736. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 917504. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 950272. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 983040. Total: 1013095
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 1013095. Total: 1013095
SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_0_0. HTTP Status: 500.
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
Error Code: HTTP Error, File name: IMG 0067.jpg, Message: 500
Comments
Comment #1
christophhesse commentedNow I tried to upload exactly the same files as in the beginning, when everything worked fine. I get a Server 500 Error for some of them, where originally, I could upload all of them without a problem.
IT DOES FINALLY NOT DEPEND ON THE FILE SIZE! Some are uploaded, some are not, when I upload a bunch of images.
THE ERROR DOES DEPEND ON THE FILE, i can reproduce it. Some files are taken, some produce errors, but its always the same files.
AND I HAVE THE SAME PROBLEM WHEN I DO NOT USE FUPLOAD! Same Problem with normal file upload! HTTP Error 0 /upload/js
However, then I get:
warning: implode() [function.implode]: Invalid arguments passed in /web/1/000/034/176/107989/htdocs/drupal/modules/image_fupload/image_fupload.module on line 201.
The images are about 1,2MB-1,7MB each. they are downscaled (GD tookit) to 800x600. Originally they are 8Megapixels.
I am running Drupal 6.13
I used always the same computer and IE6 for the uploads, when it was working and when it wasn't
It is NOT the new version of Imagecache beta 10. Still getting the same error as with beta 9.
It is possible that I upgraded to Flash 10 in the meantime! COuld this be the problem?
(And yes, I added Views and Views Slideshow module after I uploaded the files. And I'm running a slideshow that accesses the type of uploaded images. But as long as I haven't saved it, the node shouldn't be accessible?
No, I switched the slideshow block off, it is not that...)
Any help is really appriceated, I have tried a lot of things and it's just annoying if suddenly something produces an error that has worked fine before. Sometimes drupal gives me a hard time!
I think it's not an issue of fupload directly, but of the server environment or cron changing something (I dont know anything about cron) or flash? Or Imagecache?
Cancelling after 44 files... Changing to administer page... I get:
warning: implode() [function.implode]: Invalid arguments passed in /web/1/000/034/176/107989/htdocs/drupal/modules/image_fupload/image_fupload.module on line 201.
This has rather to do with cancelling the uploads, right?
Comment #2
Joi commentedmaybe to late for you but maybe not for others. You should check the php setting post_max_size as described in http://drupal.org/node/97193