Page 1 of 1

Log Search Error

Posted: Tue Oct 14, 2014 1:39 pm
by cmedik
I get this error how do I fix it.


Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /usr/share/magicspam/php/modules/logSearchModule.php on line 59

Re: Log Search Error

Posted: Tue Oct 14, 2014 4:59 pm
by magicspam
Hello cmedik,

This issue is likely due to having too many log files. We recommend keeping 7 days of logs for MagicSpam. This will ensure
that the log search function included in MagicSpam will run smoothly. If you need to keep more than 7 days of logs, we recommend setting up a script that backups your logs into a separate folder.


The log files can be located in:
/var/log/magicspam

Please let us know if you have any more questions.

-- MagicSpam Support Team --

Re: Log Search Error

Posted: Thu Oct 23, 2014 7:51 am
by cmedik
Set to 7 days and it working again after I deleted the log. Why only allow 7 days?

Re: Log Search Error

Posted: Thu Oct 23, 2014 11:01 am
by admin
Hello cmedik,

This error is due to PHP not having enough allocated memory.

-- MagicSpam Support Team