cant back up or import quiz

cant back up or import quiz

by Nyree Williams -
Number of replies: 2

Hello

Using moodle 2.2.3

None of the Quiz activities will backup or import to other courses - what could be causing this problem?

Any solutions?

thanks

Nyree

Average of ratings: -
In reply to Nyree Williams

Re: cant back up or import quiz

by Jean-Michel Védrine -

Hello,

The first thing to do is to set debugging  to DEVELOPER level to see if any error is displayed during backup or restore. Also what do you mean by "will not backup" does the backup stops, or is  no backup file created or is the created file unusable during restore. Please give more informations if you want us to try to help you.

In reply to Jean-Michel Védrine

Re: cant back up or import quiz

by Nyree Williams -

Hello Jean-Michel Thanks so much for responding - I'm going round in circles with this.

Yes Debugging on = Dev level

max execution time = 600

php memory limit =192M

(small courses 2 quizes 20 students)

Backup works if the 'include activity' box is unchecked

Backup doesn't work (ie no backup file created) if 'include activity' box is checked

Internal Server Error message:

The server encountered an internal error or misconfiguration and was unable to complete your request.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

Also tried a front page backup - this failed

error message:

Can not read file, either file does not exist or there are permission problems
More information about this error
Debug info: /xxxxx/xxxxxxxx/xxxxxxxx/uploaddata/filedir/6e/8b/6e8b348291b33481efaf8d7a725bb36bd7f325d0
Stack trace:

    line 174 of /lib/filestorage/stored_file.php: file_exception thrown
    line 90 of /backup/util/helper/backup_file_manager.class.php: call to stored_file->copy_content_to()
    line 101 of /backup/moodle2/backup_custom_fields.php: call to backup_file_manager::copy_file_moodle2backup()
    line 70 of /backup/util/structure/backup_nested_element.class.php: call to file_nested_element->fill_values()
    line 94 of /backup/moodle2/backup_custom_fields.php: call to backup_nested_element->process()
    line 95 of /backup/util/structure/backup_nested_element.class.php: call to file_nested_element->process()
    line 95 of /backup/util/plan/backup_structure_step.class.php: call to backup_nested_element->process()
    line 153 of /backup/util/plan/base_task.class.php: call to backup_structure_step->execute()
    line 148 of /backup/util/plan/base_plan.class.php: call to base_task->execute()
    line 106 of /backup/util/plan/backup_plan.class.php: call to base_plan->execute()
    line 309 of /backup/controller/backup_controller.class.php: call to backup_plan->execute()
    line 111 of /backup/util/ui/backup_ui.class.php: call to backup_controller->execute_plan()
    line 89 of /backup/backup.php: call to backup_ui->execute()

Hope this helps to solve the problem.

Bien cordialement

Nyree