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 28. Mar 2024, 11:49

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  [ 22 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Upload Just stops...
PostPosted: 8. Apr 2010, 21:42 
Offline

Joined: 8. Apr 2010, 21:15
Posts: 10
Location: Connecticut
Greetings,

JFU Info:

JFU version 2.10.7
Server name: millhousegraphics.*** ***=com (0 day reg. posting url link issue)
PHP upload limit (in KB): 921600
PHP memory limit (in KB): 40960
Max. resize resolution: ~ 3052 x 2292
PHP max input time: 6000 s
PHP max execution time: 6000 s
Default socket timeout: 6000 s


Joomla Info:

Version 1.5.14

PHP Info: (Hosted Server using 1&1)

PHP 5.2.13
Linux infong 2.4 #1 SMP Wed Nov 4 21:12:12 UTC 2009 i686 GNU/Linux


Can supply check_info link if needed for more PHP info.


The meat of the story:

I am trying to upload semi large files, over 100M. After some time, usually over 104M the JFU progress bar fails to show any further upload. I can cancel the upload but there is not any partial upload displayed in the remote.

Small files work. I have tried 67M and smaller.

There is no error message and the TFU.log does not have any information.

I thought I solved the issue by changing the Joomla session time to 120min but as I got 55sec from finishing a 137M upload is stopped.


Thanks for the help,
Jason


Top
 Profile  
 
 Post subject:
PostPosted: 8. Apr 2010, 21:58 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
how have you increased the php upload values?

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 12. Apr 2010, 16:38 
Offline

Joined: 8. Apr 2010, 21:15
Posts: 10
Location: Connecticut
Hi Michael,

I have increased the recommended values indicated in the help. I also increased the max_file_upload, if that does anything positive.

max_execution_time 6000
max_file_uploads 900M
max_input_time 6000
memory_limit 40M
post_max_size 900M
upload_max_filesize 900M

PHP setup check link

Edit:

I found a FAQ#12 and added the session_cache folder. I had not received any POST errors but the error log indicated a session issue.

The upload did not finish.

I tried an upload with my only Win machine (normal Machines are OSX/Safari, Firefox) using Firefox and a fresh install of Flash10. No Go. After a while the upload indicated a retry. I let it work for a while and after the second retry, canceled the upload. Both uploads got over 100M with a 146M file before the retry.


Thanks,
Jason


Top
 Profile  
 
 Post subject:
PostPosted: 13. Apr 2010, 13:20 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Are you using apache?

There are some additional limits in the server. Check howto 4 for details.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 13. Apr 2010, 19:06 
Offline

Joined: 8. Apr 2010, 21:15
Posts: 10
Location: Connecticut
TinyWebGallery wrote:
Are you using apache?

There are some additional limits in the server. Check howto 4 for details.

- Michael


The server is Apache, dont know what version.

This is my current php.ini file:

upload_max_filesize = 900M
post_max_size = 950M
memory_limit= -1
max_input_time= 12000
max_execution_time= 12000
default_socket_timeout= 12000
max_file_uploads = 900M

upload_tmp_dir= /Joomla/tmp

I read somewhere that the post_max should be larger than the upload_max. I cant find anywhere else to edit but it seems that after approx. 30 min the upload stops. I cannot find any other settings that have a time.


Top
 Profile  
 
 Post subject:
PostPosted: 13. Apr 2010, 23:33 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
maybe it's a restriction of apache...

Ask your hoster. They should know their system.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 15. Apr 2010, 19:54 
Offline

Joined: 8. Apr 2010, 21:15
Posts: 10
Location: Connecticut
TinyWebGallery wrote:
maybe it's a restriction of apache...

Ask your hoster. They should know their system.

- Michael


I will see... was hoping to find a Q&D answer.

One thing I noticed when I turned on the debug, the progress goes through 1-10 quickly on the ones that do not finish uploading but show upload progress:

04.14.2010 14:27:52 - 1. Config loaded
04.14.2010 14:27:52 - 2. Authenification sucessfull
04.14.2010 14:27:52 - 3. Directory read: ./__/__/__/__/uploads/dropbox
04.14.2010 14:27:52 - 9. End upload
04.14.2010 14:27:52 - 10. End store session

I will let you know what the server people say.

Thanks,
Jason


Top
 Profile  
 
 Post subject:
PostPosted: 15. Apr 2010, 23:11 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
seems you are not even getting to the upload part itself. Do you get any errors in the log?

If you check tfu_upload.php you see that it is like the $FILES variable is empty.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 22. Apr 2010, 16:52 
Offline

Joined: 8. Apr 2010, 21:15
Posts: 10
Location: Connecticut
Hi Michael,

Sorry it took a while to get back to yah. I had many un-fruitful emails with my server host. I took a few emails just to get someone to admit that there literature indicating the use of a php.ini file.

I boiled down that, I could use a php.ini file and there was something on the back end of the server overriding my settings. They did not know what, or maybe didnt want to look, and did not have a list of directives/settings that could not be changed on the user end.

I do not know enough about server configuration but I am still going to try and figure this out.

In the log, I do not get any error messages. The temp file is created in the directory chosen and increases in size as the upload progresses. I checked it on the back-end using FTP to make sure there is a file created. I noticed that the log goes through the cycle fast even for a successful file upload.

I also noticed that the temp file will stop at (say 82M) and the Flash upload will stop at 140M. Is this any clue?

I saw that you have a Ajax component for the TWG. Is this also a upload component? I have used UberUploader, which I think uses Ajax as the engine. I really like your interface and controls and want to get this to work with 1and1.

Thanks,
Jason


Top
 Profile  
 
 Post subject:
PostPosted: 22. Apr 2010, 17:52 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Ajax is the whole gallery. TWG uses the same flash for uploading.

Have you used the simple internal uploader to find out which limit you have there? if you have different sizes you can do I think it look like a timeout problem. Do you have a very fast upload you can test?

I can test on Sunday at home where I have a 10 MBit upload...

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 23. Apr 2010, 16:13 
Offline

Joined: 8. Apr 2010, 21:15
Posts: 10
Location: Connecticut
TinyWebGallery wrote:
Have you used the simple internal uploader to find out which limit you have there?


Not sure what you are refering to. I only have JFU.

TinyWebGallery wrote:
if you have different sizes you can do I think it look like a timeout problem. Do you have a very fast upload you can test?


I have tried small uploads and they show a movement in time on the log.

Jason


Top
 Profile  
 
 Post subject:
PostPosted: 23. Apr 2010, 17:28 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
JFU only runs inside joomla....


Top
 Profile  
 
 Post subject:
PostPosted: 26. Apr 2010, 00:03 
Offline

Joined: 13. Mar 2010, 22:29
Posts: 55
When I was running into a similar issue (retry) it was a timeout issue...you may have to look at timeouts on the server side

At least this was my issue for the same "retry" issue...


Top
 Profile  
 
 Post subject: Read more into it...
PostPosted: 27. Apr 2010, 07:41 
Offline

Joined: 13. Mar 2010, 22:29
Posts: 55
I read more into this and I was having the same issues except I run my own webserver. It turned out in the end there was an issue with FastCGI for me. FastCGI had to have sufficient amount of time for the time-out and had to be configured properly to be using the PHP FastCGI executable....now since your site is hosted I'm not sure but I know I saw a lot of what you are seeing and in the end that was my issue...hope this helps a little.


Top
 Profile  
 
 Post subject: FastCGI
PostPosted: 27. Apr 2010, 07:49 
Offline

Joined: 13. Mar 2010, 22:29
Posts: 55
I looked at your php info page...it only has CGI under "Server API"...you need FastCGI also...at least from my experience....don't know if Michael agrees...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 6 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