Fatal Error in filterlib.php

Re: Fatal Error in filterlib.php

by Marina Glancy -
Number of replies: 2
Picture of Core developers Picture of Moodle HQ Picture of Moodle Workplace team Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hello Gene,

it looks like something is working very slow and there might be a performance issue in moodle that we need to address. Do you have filter_glossary enabled? If yes, try to disable it and see if the site becomes faster. If yes, it means that the slowness is caused by this filter.

Which moodle version are you using?

Average of ratings: Useful (1)
In reply to Marina Glancy

Re: Fatal Error in filterlib.php

by Arnould Olivier -

Hello,

I had the same problem and I fixed it with your advice (indeed I have a big glossary and used the glossary filter). Thanks a lot.

But I have a question : I have this error of max_execution_time of 1s but I have set it at 50000s in php.ini (via my host's cpanel). So why does it happen ?

Is there a way where I can use my big glossary on the entire site without this problem ?

Thanks in advance

Regards

In reply to Arnould Olivier

Re: Fatal Error in filterlib.php

by Ken Task -
Picture of Particularly helpful Moodlers

Changing settings in php.ini require restart of apache service to be seen/used in Moodle.

The hint you've given (via hosts cpanel) could indicate your implementation is on a shared system.   On shared systems customers share the resources of a single server.  Hosting providers sell 'packages' which limit ... things like amount of HD space that can be used, etc.   That also includes preventing customers on such server from using up more than their fair share of resources ... thus a cap on PHP settings - how long a script can run, how much memory can be allocated to run a script, etc.    So if your server is on a shared system, you could contact the host helpdesk and inquire about your limits and/or a way to increase the time.   IF on a shared system, the hosting provider may only offer a more expensive package ... or a VPS where you don't have to 'share' those types of resources.

The link your Moodle has to Server PHP info should disclose such information for you.

Timing out might only be one issue.   Suggest turning on debugging and see what Moodle reports.  There could be other issues related to php settings not in your control.

'spirit of sharing', Ken