Fatal error: Call to undefined function content_fields()

iantresman - May 18, 2009 - 22:59
Project:Maxlength
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

On selecting Create content: Page, I get the PHP error message:
Fatal error: Call to undefined function content_fields() in /mypath/sites/all/modules/maxlength/maxlength.module on line 65

(a) The maxlength module is enable, (b) I've set permissions for a custom role, (c) I've removed permissions for anonymous and authenticated users, though it makes no difference if I set them.

I've not configured any other options for Maxlength (because I haven't found them yet!)
Same problem if I select Create content: Story

#1

iantresman - May 18, 2009 - 23:07

Further note:

Refers to version dated 2009-Apr-02.

After entering a maximum length (300 characters) in Content Types, Page (edit), in the section "Submission form settings", subsection "Limit title length", there is no change to the message.

Changing "Enable remaining characters countdown for the Body" makes no difference.

#2

dereine - June 6, 2009 - 16:06

this happens if you didn't installed cck.

Checkout the latest dev version(in 12 hours), its fixed there or use the patch attached

AttachmentSize
maxlength-466396.patch 1.51 KB

#3

dereine - June 6, 2009 - 16:09
Status:active» fixed

set fixed

#4

System Message - June 20, 2009 - 16:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.