/    Sign up×
Community /Pin to ProfileBookmark

Error because of max_execution_time

Hello,

I dowloaded an open-source PHP script that I am trying to implement.

But when trying to upload MP3s, it always comes back with error. After reading the known bugs this seems to be one.

However, from what I’ve been told there should be an easy fix.

This is what the developer of the script posted about it:

…there is somewhat of
a bug with MP3 uploads. I’m trying to narrow it down, but so
far the closest I’ve come is with the limitations imposed by
the “max_execution_time” setting in most php setups.

The reason I say this is because users on broadband
connections are least likely to encounter this problem, but
even that is not consistent.

I will be working on this issue and post back.

My question, is there anything that can be added to a script to prevent this time out error? I don’t have access to the php.ini file…

Thanks so much in advance for the help!

to post a comment
PHP

4 Comments(s)

Copy linkTweet thisAlerts:
@HaganeNoKokoroJul 03.2005 — http://ca.php.net/manual/en/function.set-time-limit.php Allows you to set the maximum execution time for the script. I suppose you could try using it to an absurdly high time.
Copy linkTweet thisAlerts:
@BeachSideJul 03.2005 — The max is 300 seconds anyway isn't it (5 minutes) No matter what you set php to?
Copy linkTweet thisAlerts:
@HaganeNoKokoroJul 03.2005 — if you're refering to [url=http://httpd.apache.org/docs-2.0/mod/core.html#timeout]this[/url], I think it is the time between packets (for POST requests), not the total time for a request.
Copy linkTweet thisAlerts:
@BeachSideJul 03.2005 — Ah hah Yes that is what I was thinking about!
×

Success!

Help @jonw118 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...