When I click on the "Manage fields" link, I get a WSOD and PHP log reports this error:

PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 45 bytes) in /Applications/MAMP/htdocs/dr7/includes/theme.inc on line 635.

Comments

avpaderno’s picture

CCK is the only third party module installed.

avpaderno’s picture

I also tried raising the PHP memory limit to 256 MB, but the only result obtained is that now the error message is changed to:

PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 1440 bytes) in /Applications/MAMP/htdocs/dr7/includes/common.inc on line 74.

The same error message is shown if I change the memory limit to 128 MB.

yched’s picture

Try with latest CVS, I just committed a fix that might be related.

avpaderno’s picture

I tried it, but it didn't resolve anything.
Looking at the difference between the last committed code (1.6) and the previous commit, I don't see much changes (except in a debug function that is not called in the menu callback used for the page which gives me problems).

Did you mean another version of cck.module?

yched’s picture

avpaderno’s picture

I found it.
Now I can see the content type fields, but I get other errors when I click on the Display fields tab; fortunately, this time I don't get a WSOD.

yched’s picture

Status: Active » Postponed (maintainer needs more info)

What are those other errors ?

avpaderno’s picture

Status: Postponed (maintainer needs more info) » Active

The error messages I get when I click on Display fields are the following:

Notice: Undefined variable: type in cck_display_overview_form() (line 589 of /Applications/MAMP/htdocs/dr7/sites/all/modules/cck/includes/cck.admin.inc).
Notice: Undefined variable: type in cck_display_overview_form() (line 590 of /Applications/MAMP/htdocs/dr7/sites/all/modules/cck/includes/cck.admin.inc).

This happens for the content types that have a CCK field, and for those that don't have any CCK fields.
Actually I can only report the error for the content types defined from Drupal core modules.

karens’s picture

Status: Active » Fixed

This code is in core now, so the error doesn't apply.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.