All I get after installing latest CCK and this module is a blank screen and an error in the apache log:

PHP Fatal error: Call to undefined function _content_type_info() in C:\\apache\\htdocs\\social\\sites\\all\\modules\\emfield\\contrib\\emimport\\emimport.module on line 249

Comments

alex ua’s picture

Status: Active » Postponed (maintainer needs more info)

Can you please post all of your environment variables here? i.e.OS, PHP version, MySQL Version, Web Server type and version...

softtouch’s picture

Drupal: 5.7
OS: Windows XP SP2
PHP: 5.2.5
MySQL: 5.0.2.7
Server: Apache 2 (2.2.4)
Its a fresh install of drupal.
I had the same issue 2 weeks ago with another install, same server with Drupal 5.5.
Only way to get the site back is to delete the cck folder.

softtouch’s picture

If I do not enabled the import module, it all works, but soon I enable the import module, I get the errors from my first post above.

alex ua’s picture

I'm going to have to pass this on to aaron as _content_type_info should be defined by CCK. Can you try putting this in its place on line 246 and tell me if it still gives the error, as I can't seem to recreate on my machine.

Replace
$system_types = _content_type_info();
with
$system_types = _content_type_info(TRUE);

Let me know if this works...

aaron’s picture

Assigned: Unassigned » aaron
Category: support » bug
Priority: Normal » Critical
Status: Postponed (maintainer needs more info) » Closed (duplicate)

uggh. similar to http://drupal.org/node/220244 -- i'm marking this duplicate.