Project

General

Profile

Actions

Bug #15680

closed

Update the reference index: maximum execution time of 30 seconds exceeded

Added by Stefan Geith over 18 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-04-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When updating the reference index after update to 4.0, then a timeout occurs.

I suggest to add
set_time_limit(180);
to function
function updateRefIndexTable($table,$uid,$testOnly=FALSE)
in
class.t3lib_refindex.php

(issue imported from #M3165)

Actions #1

Updated by Karsten Dambekalns over 18 years ago

That won't help if safe_mode is on for example. Why not run it as a cronjob as suggested (in the on-screen hints, IIRC):

Actions #2

Updated by Ingmar Schlecht over 18 years ago

I'm closing the bugreport now, because it's not a bug and Karsten's suggestion seems fine to use a cronjob.

The suggested use of the function set_time_limit(180) might crash the script on safe_mode installations.

cheers
Ingmar

Actions

Also available in: Atom PDF