I installed the module as was trying to configure it.
On the settings page I don't see any options to specify the Content Type for the Competition Module.

Do we have to create a new content type or does it create one on install?
In other words how do we associate the content type with the module?

Thanks

CommentFileSizeAuthor
#5 diff.patch538 bytescolan

Comments

colan’s picture

Status: Active » Postponed (maintainer needs more info)

The module automagically creates the content types Competition and Competition Entry on install. You do need to select which content types can be attached to a Competition Entry, however. Does that make sense? I need to start working on the documentation.

altparty’s picture

I think the same problem here. During the install no content types or database table are created.
I've installed all the necessary modules though.

tim_tim_tim’s picture

It seems the same problem here as well.
After activation of the all required modules and trying to activate Competition I have warning messages:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'content_copy_import_form' was given in ###\www\includes\form.inc on line 218.
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'content_copy_import_form' was given in ###\www\includes\form.inc on line 218.

Than I can't see Competition type and Competition Entry items in Node relativity settings.
Also I have
"user warning: Table '###.content_type_competition' doesn't exist query:..."
"user warning: Table '###.content_type_competition_entry' doesn't exist query:..."
when I try to shift competition phase or try other competition related things.

Which versions of PHP, Drupal, and each of related modules supposed to work with Competition?
I used:
PHP 5.1.4
MySql 4.1.16
Drupal 5.7
cck-5.x-1.7
votingapi-5.x-1.6
date-5.x-1.8
relativity-5.x-2.3
versus-5.x-1.0-beta3
views-5.x-1.6
competition-5.x-1.0-beta3 ( didn't work )

Is there any ideas about workaround for this?

colan’s picture

Title: Congfiguration of Module » Configuration of module
Component: User interface » Miscellaneous
Priority: Normal » Critical

It seems as though the code in the install hook isn't being run. Do you have the Content Copy module enabled? If not, that could be the problem. We can add it to the dependency list if that fixes it.

colan’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new538 bytes

Please try this patch and start over. It will force you to have the Content Copy module enabled before you can enable Competition.

colan’s picture

Status: Needs review » Fixed

Dependency added in 5.x-dev and HEAD. Marking as fixed. Please reopen if this doesn't fix the problem.

gorillapictures’s picture

Version: 5.x-1.0-beta4 » 5.x-1.0-beta3
Status: Active » Fixed
gorillapictures’s picture

Status: Fixed » Active
gorillapictures’s picture

Version: 5.x-1.0-beta3 » 5.x-1.0-beta4
gorillapictures’s picture

Version: 5.x-1.0-beta3 » 5.x-1.0-beta4
Anonymous’s picture

Status: Fixed » Closed (fixed)

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