timeouts in searchnew.php timeouts in searchnew.php
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

timeouts in searchnew.php

Started by petterik, August 27, 2007, 07:09:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

petterik

I noticed this problem in a cpg installation with large number of photos.
Functions getfoldercontent and display_dir_tree may timeout.
As all the users are not able to change their PHP configuration (php.ini),
maybe you should consider adding

set_time_limit(0);

to start of those functions.