Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By jono_howlett on
Hi All,
Having a strange intermitent problem. Often when I add a new module
(in this case flexinode) the module list stops working so I cant enable
the module. Removing the module by deleting the files of the new
module fixes the problem. Any one else had a similar problem or
know how to fix it!!!
cheers
jono
Comments
never had this, but perhaps
never had this, but perhaps its a file ownership problem ...
Memory limit
You are hitting the memory limit for PHP imposed by your host. Try putting
php_value memory_limit 16M
in your .htaccess file
Fixed!
A quick look a the error log showed PHP running out of RAM. Upped memory to 16MB in php.ini restarted apache and it all worked.
Stikes me that 8MB is quite a lot for a modules list...
cheers
jono
more than that
only activated modules get lodaed into memory on most pages. On the modules page, all modules present in the modules page get loaded into memory. Even at that, for what Drupal does, 8 MB is very very small amount.
-sp
---------
Drupal Best Practices Guide - My stuff Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide