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

vlooivlerke’s picture

Hi

I also get this error

when i go to admin/settings/promos

justindodge’s picture

Thanks 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?

jaypan’s picture

Probably 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.

justindodge’s picture

Please 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

justindodge’s picture

Assigned: Unassigned » justindodge
Status: Active » Fixed

Status: Fixed » Closed (fixed)

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