Closed (fixed)
Project:
Promos
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
15 May 2009 at 08:52 UTC
Updated:
11 Jun 2009 at 11:30 UTC
I just installed the module, and got this error:
Fatal error: Call to undefined function content_types() in /sites/all/modules/promos/promos.module on line 894
I'm running Drupal 6.10
Comments
Comment #1
vlooivlerke commentedHi
I also get this error
when i go to admin/settings/promos
Comment #2
justindodge commentedThanks for the report guys. The CCK (http://drupal.org/project/cck) module is required to run this module, something that I forgot to list in the dependencies.
Do you have it installed and enabled?
Comment #3
jaypanProbably not - I was just trying various modules out. I uninstalled this one after I got that error. I wasn't actually sure what this module is supposed to do from the write-up, so I just wanted to see! Anyways, I'll try it out again when I get back to work, but I would suggest adding that to the dependencies ASAP, because it actually breaks the site - I fortunately know how to get around that and fix the problem, but other people may not.
Comment #4
justindodge commentedPlease let me know if installing CCK resolves the issue. I've added the dependency to the .info file, the code change should be represented in the dev snapshot and any official releases after 1.0
Comment #5
justindodge commented