Home » Questions » Computers [ Ask a new question ]

Weird error adding custom module to Drupal installation

Weird error adding custom module to Drupal installation

I'm adding the Event module to my fresh Drupal installation to get the calendar features on my site. The module shows up just fine in my modules page but when I click save settings I get the following error:

Asked by: Guest | Views: 260
Total answers/comments: 1
Guest [Entry]

"Your memory limit in PHP is too low. Here's how you may be able to increase it.

The standard PHP memory requirements for Drupal core are a bare minimum. Sites that run many contrib modules, or particularly memory-intensive ones, will need more.

...

php.ini

This is the recommended approach if you have access to the server's php.ini. This will not be possible in some shared hosting environments, though your host may be able to adjust it for you. Note that this change will affect all websites and PHP scripts on the server.


Locate the php.ini file used by your web server. You can click the ""more information"" link on Drupal's status page's PHP section. which shows the phpinfo() page. Locate the Configuration File (php.ini) Path row on that page. During installation Drupal checks the PHP Memory Limit, and if it is less than 32M (16MB for Drupal 6), an error message also provides the path to the php.ini file.
Edit the memory_limit parameter in the php.ini file (usually in a section called Resource Limits)
memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)
If there is no section already for this, place the above line at the end of the file.
Restart Apache."