Closed (duplicate)
Project:
Embedded Media Field
Version:
5.x-1.x-dev
Component:
Miscellaneous
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
5 Feb 2008 at 08:36 UTC
Updated:
15 Feb 2008 at 19:25 UTC
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
Comment #1
alex ua commentedCan you please post all of your environment variables here? i.e.OS, PHP version, MySQL Version, Web Server type and version...
Comment #2
softtouch commentedDrupal: 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.
Comment #3
softtouch commentedIf 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.
Comment #4
alex ua commentedI'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...
Comment #5
aaron commenteduggh. similar to http://drupal.org/node/220244 -- i'm marking this duplicate.