Course Backup not working in Moodle 2.1

Re: Course Backup not working in Moodle 2.1

- Stuart Morrison の投稿
返信数: 4

Hi

Would it be possible that there is not enough physical space left on the disk / in your account?

It could also be a php memory limit you are hitting (php.ini has some directives related to file sizes - usually related to uploading but I think it might also be able to throw such an error if it hits a time out limit).

On some shared services you will not be able to change the php settings.

Hope something helps!

Stuart Morrison への返信

Re: Course Backup not working in Moodle 2.1

- Colin Fraser の投稿
画像 Documentation writers 画像 Particularly helpful Moodlers 画像 Testers

I would suggest that Stuart is more accurate in his first assumption. Are you on a shared or a dedicated server? A shared server I think is more likely to throw this error so look at your  server notifications. You can also go to Administration > Development > Debugging and set Debug Messages to ALL. That will give you any additional information that may be available. 

Colin Fraser への返信

Re: Course Backup not working in Moodle 2.1

- Mahtab Bukhari の投稿

May you both live in peace!

Thanks for your help.

I have turned debug messages to all and am getting the same error:

Fatal error: Out of memory (allocated 55050240) (tried to allocate 19456 bytes) in /home/jls/public_html/pttra.in/moodle/mod/quiz/locallib.php on line 844

I managed to check the disk usage and there is quite a large space available.

Then I check php settings, changed and confirmed:

upload_max_filesize = 1000M

socket_timeout = 300

connection_timeout = 300

The message is same but the figures in message are different now.

Fatal error: Out of memory (allocated 54788096) (tried to allocate 311296 bytes) in /home/jls/public_html/pttra.in/moodle/admin/settings/plugins.php on line 224

 

Any other suggestion please.

Mahtab Bukhari への返信

Re: Course Backup not working in Moodle 2.1

- Ann Adamcik の投稿
Ann Adamcik への返信

Re: Course Backup not working in Moodle 2.1

- Mahtab Bukhari の投稿

May you live in peace!

Thank Ann for your help.

I am using hostgator which provides me ability to access my php.ini file and alter the values. Further it provides a utility in CPanel to check the effective values.

So, I have changed the above parameters, check them that they have changed. But still I am getting this error message.

Still I created a .htaccess file with memory limit line mentioned on your suggested url. The website vanished when I uploaded this file. So, I had to remove it again.

Any other help please?