Forums | Mahara Community

Support /
Mahara dislaying errors


anonymous profile picture
Account deleted
Posts: 1

25 January 2012, 11:43

Mahara sometimes displays an error on the page.  Unable to allocate memory for pool.  My question isn't how to prevent the error but to have Mahara not show it on the webpage.  I don't want my users to see the error on the page even if it is happening.  Any way to prevent this behavior?

anonymous profile picture
Account deleted
Posts: 197

29 January 2012, 18:51

Hi Steven,

This isn't something mahara controls, a lack of memory means the mahara script can't run.

You will have to update your PHP configuration to tell it not to report errors, and also to send the error messages to a log file so you can still debug if you need to. You can also do this with an apache htaccess file if you can't directly access the php configuration.

http://phpsec.org/projects/phpsecinfo/tests/display_errors.html explains the changes needed.

Thanks,
Melissa

2 results