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