I was creating some cck fields as follows
Add new Field
Plot - field_plot - text - text area multi row

I now when trying to add any more text areas get this error
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 4864 bytes) in .../sites/all/modules/cck/modules/text/text.install on line 26

Line 26 in my text.install is as follows
function text_enable() {

Any ideas what may be causing this? and if it is at all fixable?

DG

Comments

matt_harrold’s picture

It's a relatively easy fix ... you're PHP installation is running out of memory, it's not an error in the Drupal code, just the "point" in the script where you ran out of memory.

You need to edit your .htaccess file and increase the php_value memory_limit to something higher than you already specified.

Drandarian Grey’s picture

Thanks will do that asap..

DG

profjk’s picture

You can increase the memory limit by editing php.ini
Please ask your hosting service about increasing your php memory limit.

Drandarian Grey’s picture

I went in and increased the memory limit in the php.ini. Everything is working very well. Thank you for the advise.

DG

profjk’s picture

Nice to hear that!