Hi there,
when I select the "mailing lists" item in the admin menu I get a warning like this:
warning: Missing argument 2 for drupal_get_form(), called in
/var/www/web718/html/modules/ezmlm.module on line 108 and defined in
/var/www/web718/html/includes/form.inc on line 61.
As far as I know the function drupal_get_form() only expects one argument so why do I get this error?Any suggestions?
Maybe the following information helps to find the error:
Warning: Duplicate entry '0' for key 1 query: INSERT INTO esnsatellite_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', 'Missing argument 2 for drupal_get_form(), called in /var/www/web718/html/modules/ezmlm.module on line 108 and defined in /var/www/web718/html/includes/form.inc on line 61.', 2, '', 'http://www.esn-germany.org/?q=ezmlm', 'http://www.esn-germany.org/', '84.60.29.11', 1212001732) in /var/www/web718/html/includes/database.mysql.inc on line 121
Thanks for your time :)
Keith
Comments
Comment #1
hutch commentedI don't really understand this error either, but let's check a few things
Which version of drupal are you using?
The error came from version 5.x-1.x-dev of ezmlm, line 108 has
$output = drupal_get_form('_ezmlm_subscribe_form');
I went to your website and clicked on the 'mailinglists' link and I got the same error.
do you have any lists configured yet?
Comment #2
Keith321 commentedYes, I use Drupal 5.x.
When I select the "mailing lists" item the admin menu then there is no way to define a mailing list at the moment.
Is this okay ?
Comment #3
hutch commentedI have 'Friendly URLs' set on all my drupal sites, so I'm not sure how yours will be but I guess
http://www.esn-germany.org/?q=admin/settings/ezmlm
should get you to the admin
http://www.esn-germany.org/?q=ezmlm is the users page, not admin
Comment #4
hutch commentedI think there is a problem with your watchdog table ;-(
esnsatellite_watchdog might be corrupt, if you have phpmyadmin you should be able to rebuild it or at least empty it
I tried to access the admin/settings/ezmlm and was refused entry as I would expect but the following error occurred:
It never got as far as ezmlm
Hope this helps
Comment #5
Keith321 commentedFirst of all: tanks for your help.
I'll try to fix it in the next day. Otherwise you will hear from me :)
Comment #6
hutch commented