When attempting to register, /user/register I get the following error.
This was not a problem before the signup mod.

Fatal error: Call to undefined function signup_date_field() in /home/chateau/public_html/sites/all/modules/signup/theme/node.inc on line 66

Using signup mod with events mod - new site, so very few mods are installed. Any ideas?

Thank you

CommentFileSizeAuthor
#9 undefined-include-1243340-9.patch957 bytesrfsbsb
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kappler0’s picture

Note: This error only appears when signups are OPEN. If i close the signups on event the registration page works...

aowonubi’s picture

Issue tags: +fatal error, +register, +signup, +user add

I have also just noticed the same issue on a new site @ http://nigerianminers.org I cannot register due to i get the following message:
Fatal error: Call to undefined function signup_date_field() in /home/www/nigerianminers.org/sites/all/modules/signup/theme/node.inc on line 66

Help.
I suspect the virtual host resources are poor the site is hosted by 100web space. and i have had so many issues with date related mods, such as calendar, event,date, and signup.
I have increased memory to 256MB which has given me some sanity until now i realise no one can register.
I am also unable to add users from the administration menu

aowonubi’s picture

Have you been able to find a solution for this problem?

animaluksmall’s picture

Same issue here, but also as an administrator unable to create/add new users...

Fatal error: Call to undefined function signup_date_field() in C:*******\sites\all\modules\signup\theme\node.inc on line 66

dewp’s picture

I got the same error message. It happens when you select the "Users can sign up for this event from the user registration form." option in the signup widget. If you disable it, you can create users. It does not matter whether or not a signup is open, once you disable this option.

husztisanyi’s picture

Title: Signup - No website (new user) registration is available, when "register" is clicked it gives Fatal Error » This solve the "Unable to send e-mail. Please contact the site administrator if the problem persists." and Register errors

I disable the "Allow registering users to sign up for nodes from the user registration form." in the Signup settings, but the problem was remaining.

Need to delete the old signup settings in the database too:
UPDATE `DATABASE`.`signup` SET `user_reg_form` = '0' ;

This solve the register and e-mail sending errors.

Leiph’s picture

Priority: Normal » Major

Nope, it didn't for me.

I just discovered this fatal error on one of my sites. It must have come quite recently, we have had a permanant flow of new registrants until some weeks ago.

The ""Allow registering users to sign up for nodes from the user registration form." has never been set, all values in DB are 0. PHP is 5.2.13 Signup is 6.x-1.0

Neither self registration, nor admin registration is possible. This is really fatal ...

* Update: All values in DB was not 0, there was one set through the event form. Where do one comment out that possibility?

r3coil’s picture

This worked for me. Thank you!

What exactly did that query do? I don't quite understand why the error occurred.

rfsbsb’s picture

Version: 6.x-2.x-dev » 6.x-1.x-dev
FileSize
957 bytes

Here is a patch to solve this problem. This patch was taken from 6.x-1.x branch.

If the patch is accepted please give authorship using the git attribute --author="rfsbsb <rfsbsb@4382.no-reply.drupal.org>"

ryanwalsh’s picture

We have been having the same exact issue.

see a patch here from rfsbsb... can anyone verify if it works?

If so, how does one go about installing it? I'm not familiar with .patch files...

Oldno7’s picture

I've been using the Signup module smoothly since Drupal 5.x (now all of them in 6.x) in several different domains, untill I activated the option to permit new users signup to a event in one of them. It was running stable (6.x-1.0) signup module version.
Then appeared the blank page and the php error when a new user tried to register. I upgraded to 6.x-1.x-dev but this didn't resolve anything.
Apliying your patch resolved conveniently. (I added the needed lines by hand: there were few and no need to use the "patch" command -and the line numbers were not consistent to the version of module I have installed-)
Thanks