I got the following error after submitting the honeypot configuration form:

Fatal error: Call to undefined function ctype_digit() in .../sites/all/modules/honeypot/honeypot.admin.inc on line 158

The site is running on Drupal 7.29
Other relevant modules: Webform 7.x-4.0-rc4

regards
Marko

Comments

palamida’s picture

Status: Active » Closed (works as designed)

it seems that the only problem was my poor developer myself

After enabling the PHP ctype extension in the AMPPS environment everything is fine

geerlingguy’s picture

The best problems are those that fix themselves :)

For future reference (anyone finding this issue via Google or something like that, this function has been in PHP since 4.x days, and is enabled by default... but if you get this warning it means PHP may have been compiled without enabling ctype. See http://us2.php.net/manual/en/ctype.installation.php

palamida’s picture

right now I don't know how it is configured in the MAMP environment (which I was using until now), but since I migrated to AMPPS recently, I ran into this error and had to manually activate the extension... it was under my nose and was extremely easy to do it via the AMPPS extension manager but yes, it came with ctype extension DISABLED