lautr.com

Hannes Blog for Development and Stuff besides

Drupal Fatal error: Call to undefined function field_file_load() in /home/johannes/workspace/drupal/sites/all/modules/filefield/filefield_field.inc on line 97 with php 5.3

| Keine Kommentare

After Updating on PHP 5.3 (and some other related updates) i got this nice Error Message:

Fatal error: Call to undefined function field_file_load() in /home/johannes/workspace/drupal/sites/all/modules/filefield/filefield_field.inc on line 97

The Fix was to add the Line:
module_load_include(‘inc’, ‘filefield’, ‘field_file’);

In File:
/home/johannes/workspace/drupal/sites/all/modules/filefield/filefield_field.inc at line 96

UPDATE

Also got the Error:

Fatal error: Call to undefined function field_file_save() in /home/johannes/workspace/drupal/sites/all/modules/filefield/filefield_field.inc on line 130

Same game,

The Fix was to add the Line:
module_load_include(‘inc’, ‘filefield’, ‘field_file’);

In File:
/home/johannes/workspace/drupal/sites/all/modules/filefield/filefield_field.inc at line 129

Update

This is getting ridicules -.-

Fatal error: Call to undefined function field_file_load() in /home/johannes/workspace/drupal/sites/all/modules/filefield/filefield_widget.inc on line 163

The Fix was to add the Line:
module_load_include(‘inc’, ‘filefield’, ‘field_file’);

In File:
/home/johannes/workspace/drupal/sites/all/modules/filefield/filefield_widget.inc on line 162

Update

yet another one ‘Fatal error: Call to undefined function filefield_widget_value()’

In File:
/home/johannes/workspace/drupal/sites/all/modules/imagefield/imagefield_widget.inc on line 209

add module_load_include(‘inc’, ‘filefield’, ‘filefield_widget’);

Ah, hopfefully the last one: Call to undefined function imagefield_file_admin_thumb_path()

in File:
/home/johannes/workspace/drupal/sites/all/modules/imagefield/imagefield.module on line 373

add module_load_include(‘inc’, ‘imagefield’, ‘imagefield_file’);

Autor: Hannes

Hi! I’m Johannes Lauter a 26 year old Web Application Developer based in Berlin ... more

Hinterlasse eine Antwort

Pflichtfelder sind mit * markiert.

*