Backup error: [an error occurred while processing this directive]

Backup error: [an error occurred while processing this directive]

by James Choi -
Number of replies: 2

On Moodle 2.3

On some courses, I am getting the following error.

[an error occurred while processing this directive]

Whereas some other courses I don't, and the course is backed up correctly.  I searched for that message but didn't find a solution. 

Could someone share insight on how to fix this problem?


Average of ratings: -
In reply to James Choi

Re: Backup error: [an error occurred while processing this directive]

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

What is the size of the courses? Is it that the small one are restoring and the large ones are not? 

Turn on debugging and see what detailed error shows up. That should help you narrow it down.

If it only the large courses that are failing you are possibly running into a timeout.in your php settings

In reply to Emma Richardson

Re: Backup error: [an error occurred while processing this directive]

by Stephen McDonald -

I am running into the same issue after upgrading to moodle 2.7.1 can you assist me, my php file is controlled by my server, which can be edited by log into my WHM, I've tried this and continue to get the same error.  I have turned on debugging and  get the following at the back up screen 5.30518 secs

RAM: 54.4MBRAM peak: 60.6MBIncluded 843 filesContexts for which filters were loaded: 1Filters created: 2Pieces of content filtered: 0Strings filtered: 0get_string calls: 1564strings mem cache hits: 0strings disk cache hits: 1865DB reads/writes: 76/2ticks: 530 user: 457 sys: 24 cuser: 0 csys: 0Load average: 0.36Session: 49.2KBCaches interaction by definition then storecore/databasemetacachestore_file: 60 / 0 / 0core/stringcachestore_file: 1865 / 0 / 0Total Hits / Misses / Sets : 1925 / 0 / 0

This page is: General type: admin. Context Course: Emergency Medical Technician (context id 277). Page type backup-backup.

than i get the error [an error occurred while processing this directive] I have had no luck with backing up this course