 | Re: [Solved] Music Download Song Add-on (for MOM 2.0.5) |  |
Posted: 05/06/2007 4:55 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 9:05 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
Ok I'll have a look... I'm using a 1MB connection with an upload speed of about 15kbps... any suggest as to what max_execution_time I should use and also max_input_time should I have them...
Cheers for helping me with this Nightrider. It's much appreciated |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Music Download Song Add-on (for MOM 2.0.5) |  |
Posted: 05/06/2007 4:59 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 4:05 PM
Location: St Pete, FL
|

|
|
|
|
 |
I really don't know if the number needs to be in seconds, minutes, hours, etc. You may have a 1 MB connection, but many of your members may have a much slower connection. Until recently, I was thrilled when I got a 5 kbps connection. Now I get a consistent 2.8-2.9 MB connection on ADSL...
Unless you really care how long the downloads/uploads take, just set it to some really high number, such as 99999999999999999 and see what happens...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Music Download Song Add-on (for MOM 2.0.5) |  |
Posted: 05/06/2007 5:01 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 9:05 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Music Download Song Add-on (for MOM 2.0.5) |  |
Posted: 05/06/2007 5:04 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 9:05 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
Well for a start I think I changed this wrong
| Code:
|
|
memory_limit = 16M ; Maximum amount of memory a script may consume (150MB)
|
this looked like this before
| Code:
|
|
memory_limit = 16M ; Maximum amount of memory a script may consume (8MB)
|
I think it's the one after = that I should have changed to 150MB not the one on the right side next to it which I think is the description |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Music Download Song Add-on (for MOM 2.0.5) |  |
Posted: 05/06/2007 5:23 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 4:05 PM
Location: St Pete, FL
|

|
|
|
|
 |
Just do this and see what happens:
OPEN
php.ini
FIND
| Code:
|
|
upload_max_filesize = 120M ; Maximum allowed size for uploaded files
|
AFTER, ADD
| Code:
|
max_execution_time = 9999999999999;
max_input_time = 9999999999999;
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Music Download Song Add-on (for MOM 2.0.5) |  |
Posted: 05/06/2007 5:35 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 9:05 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
I see now I got the wrong one altogether before oops
But yes, so i've changed max_execution_time to 9999999999999 but i don't see a max_input_time
Will the max_excution_time be enough or is the max_input_time needed |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Music Download Song Add-on (for MOM 2.0.5) |  |
Posted: 05/06/2007 5:37 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 4:05 PM
Location: St Pete, FL
|

|
|
|
|
 |
You might have members with slow connections that it might time out just as they are about to complete an upload. So you may want to add that setting too...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Music Download Song Add-on (for MOM 2.0.5) |  |
Posted: 05/06/2007 5:40 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 9:05 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
How do I add that setting?  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Music Download Song Add-on (for MOM 2.0.5) |  |
Posted: 05/06/2007 5:41 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 9:05 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
aye i'll be drawing my pension by the time i've done this  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Music Download Song Add-on (for MOM 2.0.5) |  |
Posted: 05/06/2007 5:54 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 4:05 PM
Location: St Pete, FL
|

|
|
|
|
 |
Just add the line of code using your favorite text editor. You might as well place the new line below the one that's currently there. So when done, it might look like this:
| Code:
|
max_execution_time = 9999999999999 ; Maximum execution time of each script, in seconds
max_input_time = 9999999999999;
memory_limit = 16M ; Maximum amount of memory a script may consume (150MB)
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|