With Drupal 4.7.3 running on PHP Version 4.4.2-pl2-gentoo with Hardening-Patch 0.49, registering a new user yields this error:

Fatal error: Call to undefined function: ctype_digit() in /.../modules/invite/invite.module on line 578.

Comments

SpriteGF’s picture

Adding this to the top of the invite.module file seems to help:

if (!function_exists('ctype_digit'))
{

function ctype_digit($var)
{
return ((int) $var == $var);
}
}

ajk’s picture

Status: Active » Closed (duplicate)