The latest CVS version is not able to install itself. After turning on the module, nothing happens and a weird redirect attempts to load. The module attempts to redirect the visitor to the following URL:

http://www.example.com//admin/settings/conference?admin/settings/conference

When I disable the module from the database, this error appears:

warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'conference_admin_settings' was given in /home/drupal_5x_prd_01/includes/form.inc on line 217.

Comments

shane birley’s picture

Priority: Normal » Critical
shane birley’s picture

The difference I have had is that we've moved to Drupal 5.2 - although, looking at the update list, I don't see any difference that would make this module fail.

shane birley’s picture

Status: Active » Fixed

I sponsored some programming to help out.

mfh’s picture

first, as long as this bug is irreproducable in 5.1, it cannot be considered as a bug of the 5_1 branch of this module.

second,
are you sure this is not a problem of ill configured "nice URLs"?
did you try with/without this option?

I must admit that I use myself my own system of "soft nice URLs" when I have to work on servers where I cannot use apache mod_rewrite and still dont want URLs
mysite.com/path/index.php?q=page
I modify the index.php in order to have
mysite.com/path/?page
work as equivalent (i.e. if the GET["q"] is unset and the first argument of the query string is not of the form ?variable=value but ?word then I set GET[q]=word
however,
1) i could not spot a "hard wired" occurrence of an url "?admin..."
2)if "nice url's" is enabled, as seems the case for your installation, a weird first arg of the query tring should not produce an error but simply be ignord, afaics

UPDATE:
I think the error might come from the line
847 : drupal_goto('/admin/settings/conference', $_GET['q']);

in
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/conference/...

probably the leading "/" should be omitted.
since I'm travelling, I cannot make experiments. could you check to confirm this solves the issue?

Anonymous’s picture

Status: Fixed » Closed (fixed)