Closed (fixed)
Project:
Job Posting
Version:
6.x-1.9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Sep 2008 at 09:46 UTC
Updated:
9 Oct 2008 at 14:34 UTC
Hello,
Admins cant change settings:
Fatal error: Call to undefined function ctype_alpha() in /var/www/localhost/htdocs/drupal/sites/all/modules/job_posting/job_posting.module on line 150
P:S
First thanks for the module {really appreciated}, I am working on my graduation project and the module really fits my needs.I am a beginner/noob in web-development with a little experience in c/c++ and VB...so at the moment I cant do much in php, bizzi to learn drupal and php simulatenously...I will be working closely to this module till february or so, and probably re-adjust it to fit my needs if needed, if you want to leave any advice to me Id really appreciate...
Thanks
Comments
Comment #1
muhsinzubeir commentedworks fine on another drupal installation...my bad ^_^
Comment #2
gmarus commentedThe installation causing that error probably doesn't have the php ctype extension. If you can, from the commandline, type the following to check if the extension is available:
php -m | grep ctypeIf that command produces nothing then you need to install the ctype extension using whatever procedure is appropriate for your operating system. Alternatively, you could replace ctype_alpha() with your own filtering function if for some reason you really can't install the ctype extension.
Comment #3
muhsinzubeir commentedThanks gmarus...the installation is on gentoo, so i had to set the ctype useflag manually:
echo "dev-lang/php ctype" >> /etc/portage/package.use...
cheeers
Comment #4
gmarus commented