timeout when uploading large files timeout when uploading large files
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

timeout when uploading large files

Started by kevin11, August 12, 2006, 07:53:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kevin11

The time limit may be changed by adding the following declaration near the beginning of the file:
set_time_limit(x);

where x is the number of seconds you desire. A setting of 0 removes the time limit restriction.  Remember that this call is subordinate to the setting in php.ini, so you cannot use it to overcome a restriction there. More information can be found in the PHP manual:

http://us4.php.net/manual/en/function.set-time-limit.php

and i went into the php.ini and changed it to "0" but how come i'm still getting timeout?  is there another file i need to change?

Thanks

Joachim Müller

1) If you're web-hosted, you simply may not have permissions to (re-)set this. When in doubt, ask your webhost.
2) Server-sided time-outs may be one issue. Client-sided time-outs (browser, OS, connection) might have to be taken into account as well.
3) Other server-sided restrictions (see sticky thread on this sub-board) might have to be taken into account as well.
4) You (as coppermine admin) should use FTP-upload plus batch-add anyway (refer to documentation)