Installed drupal 6.6 and several modules (cck, views. token, athauto, print, fckeditor, imce, dhtml_menus, announcements). After putting "date" module in /sites/all/modules, when I try to enable date and date_api I get

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 526063 bytes) in /DRUPAL_INSTALL_PATH/includes/database.mysql.inc on line 301

This sounds like an awful lot of memory for a drupal site that I am still installing and haven't even really added content to. Site is http://new.starastronomy-gamma.com

Comments

cog.rusty’s picture

You must increase the PHP memory limit (see http://drupal.org/node/207036)

Currently you have 32M, but it is not enough for your installed modules. It doesn't matter that you don't have content, content is just stored. What matters is that on a particular page a particular operation runs out of memory. There are modules which require alone more that an additional 32M to work (for example the imagecache module).

Try increasing php memory to 48M or 64M, or try to figure out if a module is particularly memory-hungry, or generally rethink which modules you really need. Some things are just not possible on a shared host.

mikel1’s picture

Thanks for the help.

demian dellinger’s picture

I ran into a similar problem and basically had to do a fresh install. View, Webform and a couple of other modules once installed caused this type of error.

I had installed it the first time using Fantastico and had done some subsequent upgrading from Drupal 6.4 to 6.5 to 6.6.

I did a manual install and it has work fine since.

----------------
DON'T Do It This Way.com -

dontdoitthisway.com

Beach Sales Network -

BeachSales.com