|
|
|
Environment:
|
Windows 2003, Apache 2.2.4, PHP 5.2.5, Oracle 10g
|
|
| Database: |
Oracle
|
| Participants: |
Eloy Lafuente (stronk7) and Iñaki Arenaza
|
| Security Level: |
None
|
| Resolved date: |
31/May/09
|
| Affected Branches: |
MOODLE_18_STABLE
|
| Fixed Branches: |
MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
|
|
When we try to check the database indexes from Admin->Misc->XMLDB editor->Check Indexes, after we confirm the run, we get a blank page after some time.
It seems index checking is taking longer than the configured max_execution_time and PHP stops executing the page. We should raise the execution time before calling '$xmldb_action->invoke();' to cater for this. I've tried with 'set_time_limit(0)' and it works ok, but I don't know the code so maybe this is a little bit too much and we could use a lower limit.
Saludos. Iñaki.
|
|
Description
|
When we try to check the database indexes from Admin->Misc->XMLDB editor->Check Indexes, after we confirm the run, we get a blank page after some time.
It seems index checking is taking longer than the configured max_execution_time and PHP stops executing the page. We should raise the execution time before calling '$xmldb_action->invoke();' to cater for this. I've tried with 'set_time_limit(0)' and it works ok, but I don't know the code so maybe this is a little bit too much and we could use a lower limit.
Saludos. Iñaki. |
Show » |
made changes - 27/May/09 06:35 AM
| Field |
Original Value |
New Value |
|
Issue Type
|
Bug
[ 1
]
|
Sub-task
[ 5
]
|
|
Parent
|
|
MDL-19303
[ 32107
]
|
committed 1 file to 'Moodle CVS' - 31/May/09 07:45 AM
MDL-13204 xmlb editor checks - give extra time to checker because they can run looong
|
|
|
made changes - 31/May/09 07:48 AM
|
Fix Version/s
|
|
1.9.6
[ 10340
]
|
|
Fix Version/s
|
|
2.0
[ 10122
]
|
committed 2 files to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 31/May/09 07:55 AM
MDL-13204 execution time - give extra time to checker because they can run looong; backported from HEAD
|
|
|
committed 1 file to 'Moodle CVS' on branch 'MOODLE_18_STABLE' - 31/May/09 07:58 AM
MDL-13204 execution time - give extra time to checker because they can run looong; backported from HEAD
|
|
|
made changes - 31/May/09 08:00 AM
|
Resolution
|
|
Fixed
[ 1
]
|
|
Fix Version/s
|
|
1.8.10
[ 10350
]
|
|
Status
|
Open
[ 1
]
|
Resolved
[ 5
]
|
|
Going to backport that to 1.9 individual tests... now.