My admin > modules page is blank
This is most likely a memory issue. On this page all modules are loaded, whether they are enabled or not. This can cause PHP to run out of available memory.
There are two fixes:
- Remove (unused) modules--the quickest/easiest solution.
- Increase PHP's memory limit, either by adding:
memory_limit = 12Mto your php.ini file (recommended, if you have access)ini_set('memory_limit', '12M');in your sites/default/settings.php filephp_value memory_limit 12Min your .htaccess file in the Drupal root
Depending on the amount of modules you have enabled and their 'impact' on the site you may need to increase the memory_limit even more. Experiment with what memory value works for your needs.
Note that some hosts allow a php.ini file in the root of your site.
All fatal errors can result in a blank modules page. If you want to be sure if the memory limit is causing this problem, you should check your web server error logs. Hunt for a line that looks like:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 418591 bytes) in /path/to/drupal/includes/database.mysql.inc on line 29That indicates that Drupal needed more memory than PHP was allowed to give it.
Always keep in mind that generally, "Less is More." The less memory your installation consumes, the faster it is, and the more people can visit your site at one time.
You may have to restart Apache for the configuration changes to take effect, especially if you edit php.ini.
