Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
Upload failed. 1 file(s) of 1 could not be uploaded. https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=2976 |
Page 1 of 1 |
Author: | Gravity [ 25. Apr 2011, 15:42 ] |
Post subject: | Upload failed. 1 file(s) of 1 could not be uploaded. |
This is strange, some pictures are failing to upload. The flash uploader will go through the motions of uploading the pics, then give an error message that says the file(s) couldn't be uploaded. Nothing in the debug file after a failure. Other pictures upload just fine...I can't figure out what is different about these particular pictures. I've uploaded much larger images than these with no issues, so image size isn't the issue. I'm using TWG 1.8.4. I even uploaded the picture via FTP and TWG doesn't display the image. The image that I ftp'd is here: Can you help determine what it is about this image that TWG doesn't like? |
Author: | TinyWebGallery [ 25. Apr 2011, 22:14 ] |
Post subject: | Re: Upload failed. 1 file(s) of 1 could not be uploaded. |
What is larger? Image size or resolution? Resolution is the important one. you image is 4000x3000 - which is very big. See the info.php about your server limits. |
Author: | Gravity [ 26. Apr 2011, 06:44 ] |
Post subject: | Re: Upload failed. 1 file(s) of 1 could not be uploaded. |
Here's some more information. I took a few pictures of my motorcycle and they uploaded fine. I took one additional photo with the same camera and settings and the upload failed. I then tried to re-upload a picture that I had just successfully uploaded a few minutes earlier but deleted and it failed as well. Why would a picture upload fine, then not? I found this in my debug file: Quote: 4.25.2011 23:47:13 - ERROR 2 in w/html/album/admin/upload/tfu_helper.php, line 1972: filesize() [<a href='function.filesize'>function.filesize</a>]: stat failed for _FILE_NOT_FOUND I'm having the uploader resize images to 1024: Code: $resize_data = "1024"; $resize_label = "1024"; $resize_default = "1024"; $show_delete=$setting_del; // Shows the delete button $resize_show = false; // Show the resize box! Valid is 'true' and 'false' (Strings!) - the function is_gd_version_min_20 checks if the minimum requirements for resizing images are there! I also have already upped the PHP config to handle larger files: Code: PHP version >= 4.3.0 Yes (5.2.2)
- XML support Available - GD lib support Available - GD lib >= 2.0 Yes (2.0.34) - imagecreatetruecolor Available - Memory limit Very Good (200M) - Max resolution ~ 6777 x 5089 - Rotate available Available - Text watermark Available - Remote jpg support Unavailable (allow_url_fopen = off) - File Uploads Available - Upload max filesize 20M Session Available - session.save_path Not available Javascript Available Image Magick Support Not available ffmpeg Support Not available ffmpeg video convert Not available |
Author: | TinyWebGallery [ 26. Apr 2011, 08:09 ] |
Post subject: | Re: Upload failed. 1 file(s) of 1 could not be uploaded. |
for the flash uploader you can enable a separate upload debug. This can be enabled in the admin/upload/tfu_config.php. Then you see where the upload exactly fails and hopefully why. - Michael |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |