Advanced search  

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

Pages: [1]   Go Down

Author Topic: timeout when uploading large files  (Read 2359 times)

0 Members and 2 Guests are viewing this topic.

kevin11

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
timeout when uploading large files
« on: August 12, 2006, 07:53:26 am »

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
« Last Edit: August 12, 2006, 03:44:01 pm by kevin11 »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: timeout when uploading large files
« Reply #1 on: August 12, 2006, 06:52:00 pm »

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)
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 19 queries.