Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 19. Apr 2024, 21:39

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 25. Apr 2011, 15:42 
Offline

Joined: 8. Sep 2010, 06:25
Posts: 6
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:Image

Can you help determine what it is about this image that TWG doesn't like?


Top
 Profile  
 
PostPosted: 25. Apr 2011, 22:14 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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.


Top
 Profile  
 
PostPosted: 26. Apr 2011, 06:44 
Offline

Joined: 8. Sep 2010, 06:25
Posts: 6
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


Top
 Profile  
 
PostPosted: 26. Apr 2011, 08:09 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy