Warning and fatal error

Warning and fatal error

by Rune Støylen -
Number of replies: 1

I get this warning when logging onto moodle:

Warning: Cannot set time limit in safe mode in /customers/stoylen.de/stoylen.de/httpd.www/moodle/admin/index.php on line 80

When I look at line 80 of index.php, I find this line:

set_time_limit(0);

Also, when I open a course, I get this fatal errors:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 5 bytes) in /customers/xxxx.de/xxxx.de/httpd.www/moodle/mod/workshop/lib.php on line 679

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 136 bytes) in Unknown on line 0

Can anyone help me whit these problems?

Average of ratings: -
In reply to Rune Støylen

Re: Warning and fatal error

by koen roggemans -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Translators
For your first problem, see systemrequirements: Safe Mode must be turned OFF (see the forums on moodle.org for problems caused by Safe Mode)
Try to convince your host to turn save mode off

For your second problem, just click on Allowed memory size in your post wink

Good luck