Backups fail due to "Maximum execution time" error

Re: Backups fail due to "Maximum execution time" error

by Andrew Normore -
Number of replies: 1

To clarify, here's what you change to just make it work:


// set_time_limit(self::TIME_LIMIT_WITHOUT_PROGRESS); // This is a 2.6 bug,
set_time_limit(0); // Nasty hack to fix timeouts


File is found in C:\wamp\www\moodle\backup\core_backup_progress.class.php on line 204 (ish, depending on your version)

Average of ratings: Useful (2)
In reply to Andrew Normore

Re: Backups fail due to "Maximum execution time" error

by Albert Ramsbottom -

Hi


Old thread but I believe that this could be half of my problem.  I too am getting the same errors in my PHP log.  Now most of these errors are large files but not all.  I think it is more likely that its related to the amount of activities as I have had the same error on courses only 200MB


cheers