 | |  | |
August 2nd, 2005, 11:53 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Aug 2004 Location: Arizona
Posts: 344
| Upload / Download Quits
Hello everyone, I recently moved servers and now I am having a problem with the gallery. When attempting to download existing files from my gallery, the download stops always around 1.8 mb even though some of the videos are close to 30 mb. It was working fine on my other server, any thoughts?
Thanks!
|
| |
August 2nd, 2005, 11:58 AM
|
#2 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005
Posts: 1,408
| Re: Upload / Download Quits
Xtreme, on your old server you most likely changed php.ini to allow for file transfers bigger than 2mb (the default). When you dealing with files that big like you're describing you'll want to change the default file size limit and also possibly the memory limit.
|
| |
August 2nd, 2005, 12:00 PM
|
#3 (permalink)
| | Ultimate Member Verified Customer
Join Date: Nov 2003 Location: Raleigh, NC
Posts: 1,417
| Re: Upload / Download Quits
Try putting a .htaccess file in the root of your site that contains this: Code: Content visible to verified customers only.
(Or whatever maximum size you would like.)
|
| |
August 2nd, 2005, 01:44 PM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Aug 2004 Location: Arizona
Posts: 344
| Re: Upload / Download Quits
Hi there guys...yes I did have the php.ini file changed to refect a 55mg file size. I wonder if there is something else that is screwing this whole thing up?
|
| |
August 2nd, 2005, 01:53 PM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2005
Posts: 21
| Re: Upload / Download Quits
I have same problem. The upload stoped +- 2Mb but the filesize permission is 5Mb.
The upload by server for filesize 5MB work fine. Quote: |
Originally Posted by ConqSoft Try putting a .htaccess file in the root of your site that contains this: Code: Content visible to verified customers only.
(Or whatever maximum size you would like.) | Don't work for me.
I don't understand, in my phpinfo is write MAx 55MB for send php.
Where is the problem?
|
| |
August 2nd, 2005, 05:17 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Aug 2004 Location: Arizona
Posts: 344
| Re: Upload / Download Quits
Hmmm alright uploading turns out to be just fine, however, downloads still quite at 1.9M http://69.65.21.120/~fantasti/pinfo.php
Any thoughts??
|
| |
August 2nd, 2005, 05:42 PM
|
#7 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005
Posts: 1,408
| Re: Upload / Download Quits
Zachery is really the in-house server guru so hopefully he'll see this thread. Is your old server still available that you could compare your PHP settings against?
|
| |
August 2nd, 2005, 06:13 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Aug 2004 Location: Arizona
Posts: 344
| Re: Upload / Download Quits Quote: |
Originally Posted by KW802 Zachery is really the in-house server guru so hopefully he'll see this thread. Is your old server still available that you could compare your PHP settings against? | Actually the PHP.ini settings all look the same from what I can tell...
Now the only difference that I can see is the new server runs PHP5 and the old on ran PHP4
Thanks, hopefully Zachery will see this |
| |
August 3rd, 2005, 02:12 AM
|
#9 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2005
Posts: 21
| Re: Upload / Download Quits
I have PHP Version 4.3.11 !
|
| |
August 3rd, 2005, 10:26 AM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Aug 2004 Location: Arizona
Posts: 344
| Re: Upload / Download Quits
Hmmm well I wonder what to do??
|
| |
August 3rd, 2005, 03:40 PM
|
#11 (permalink)
| | Ultimate Member
Join Date: Jan 2004
Posts: 2,196
| Re: Upload / Download Quits
I suggest making the move from php as a CGI to php as an apache module, if you are running apache1/2 which it seems you are.
Chances are CGI is timing out the script before it has a chance to finish sending all of the data.
|
| |
August 3rd, 2005, 04:18 PM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Aug 2004 Location: Arizona
Posts: 344
| Re: Upload / Download Quits Quote: |
Originally Posted by Zachery I suggest making the move from php as a CGI to php as an apache module, if you are running apache1/2 which it seems you are.
Chances are CGI is timing out the script before it has a chance to finish sending all of the data. | Ok I am sorry, while this is great information, I am not sure what you are saying. Oh wait...alright I think I know what you mean. I will call my hosting company and see what they say.
Thanks!
|
| |
August 3rd, 2005, 04:26 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Aug 2004 Location: Arizona
Posts: 344
| Re: Upload / Download Quits
Ok Zachery they are going to install php as an apache module right now, so we will see what happens...Thanks again for taking the time.
Also, Gunbound World Championship, what is that site all about??
|
| |
August 3rd, 2005, 04:38 PM
|
#14 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2005
Posts: 21
| Re: Upload / Download Quits
sorry, but i dont' understand all...
Can you say me exactly what I must request from my hosting support please ?
|
| |
August 3rd, 2005, 04:39 PM
|
#15 (permalink)
| | Guest | Re: Upload / Download Quits
Just copy that post from Zachery and your host should understand.
| |
| |
August 3rd, 2005, 06:36 PM
|
#16 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2005
Posts: 21
| Re: Upload / Download Quits
My solution is:
create file php.ini in directory /gallery/ ( or in same dir file upload.php) with code:
upload_max_filesize = 20M
|
| |
August 3rd, 2005, 06:38 PM
|
#17 (permalink)
| | Guest | Re: Upload / Download Quits
That's what your host told you? And it worked?
| |
| |
August 3rd, 2005, 06:45 PM
|
#18 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2005
Posts: 21
| Re: Upload / Download Quits
Yes it is my hosting who's found the solution and it works perfectly.
But the php.ini must in the same directory to upload.php
If i put php.ini in the root, that does not works.
|
| |
August 3rd, 2005, 06:47 PM
|
#19 (permalink)
| | Ultimate Member Verified Customer
Join Date: Nov 2003 Location: Raleigh, NC
Posts: 1,417
| Re: Upload / Download Quits
It should be in an .htaccess... Never heard of putting a second php.ini somewhere...
|
| |
August 3rd, 2005, 06:49 PM
|
#20 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2005
Posts: 21
| Re: Upload / Download Quits
if i try with .htaccess , my site is down
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 07:56 AM. | |