Anders2612
Member
Posted 9 months ago #
I want to use a theme called Platform and a plugin called Contact Form 7 in my local MAMP installation, but when I active Contact Form 7, the site crashes. The weird thing is that I have the exact same setup on my server without any problems.
Where should I start my troubleshooting? Could it be a file permission issue? Does WordPress have it's own crash log, or should I look around in MAMP's?
Any help is greatly appreciated :)
Does the site work when you use the Twenty eleven theme?
Anders2612
Member
Posted 9 months ago #
Yes it does. It's only when I use the combination Platform + Contact Form 7 there is a problem. 5 mins ago i found out how to display error messages, and I get this one:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /Applications/MAMP/htdocs/wp-admin/menu.php on line 254
Trying to remedy it with the instructions in this article, but I'm such a n00b that I don't even know where to put in th "define('WP_MEMORY_LIMIT', '64M');" in menu.php :)
Thank you for the swift reply!
Try asking your hosts to raise your memory allocation.
Anders2612
Member
Posted 9 months ago #
I run it locally on my Mac (via MAMP), so I think that I could do that myself?
Then increase the memory allocation via the php.ini file.
Anders2612
Member
Posted 9 months ago #
Fixed! I actually changed line 42 in the defat-constants.php file (from 32M -> 64M). Thank you for all your help esmi :)