error in searchlib.php

error in searchlib.php

by Sunada _ -
Number of replies: 3
I'm running the 1.5 stable build, and I get the following error when I run a search through a forum:

Fatal error: Call to undefined function: ctype_space() in /moodle/lib/searchlib.php on line 296

Should I report this as a bug? For the time being, I've made that block hidden in my courses so nobody runs into it.
Average of ratings: -
In reply to Sunada _

Re: error in searchlib.php

by Tony Hursh -
ctype_space() is a standard PHP function since version 4.0.4. What version do you have?

It's also possible that something else is messed up with your installation... unlikely that this is a bug with Moodle itself.

In reply to Tony Hursh

Re: error in searchlib.php

by Keith Wilkinson -

I am running mdl 1.6 with php 4.3.10 and apache 2.0.22

I also have the same error message when trying to search.

I have looked at phpinfo and cannot find a reference to ctype_space()

Any help on this?