Whenever I want to enable/disable modules I am given different errors like the one below. These error messages change every time disable/enable a module.
"Fatal error: Out of memory (allocated 31981568) (tried to allocate 311296 bytes) in /homepages/4/d364988985/htdocs/sites/all/modules/views/modules/node.views_default.inc on line 278"
I have already done the following steps:
created a php.ini file with the following line:
memory_limit = 512M
put it into the Drupal root folder
This fixed the major problem of the whole site showing an error.
The host that I am using is 1and1. Is there a way that this can be fixed?