Page 1 of 1
I installed the gust
Posted: 27 Mar 2008, 15:44
by wwg
I installed the gustbook, created one and liked it to my menu..
When opening the menu item I get this error:
Fatal error: Call to undefined function ctype_lower() in /www/components/com_phocaguestbook/assets/library/HTMLPurifier/Token.php on line 70
peetoom.bellaware.nl - gastenboek
thanks dot the help
Hi, which version of
Posted: 27 Mar 2008, 15:54
by Jan
Hi, which version of PHP do you have ... this is a standard PHP function ....
ctype_lower()
(PHP 4 >= 4.0.4, PHP 5)
Jan
PHP 5.2.5
Posted: 27 Mar 2008, 16:05
by wwg
PHP 5.2.5
can't get it to
Posted: 28 Mar 2008, 01:20
by wwg
can't get it to work
Try to change the co
Posted: 28 Mar 2008, 13:23
by Jan
Try to change the code in Token.php:
from:
$this->name = ctype_lower($name) ? $name : strtolower($name);
to
$this->name = strtolower($name);
Jan
Thanks Jan,
Posted: 28 Mar 2008, 14:35
by wwg
Thanks Jan,
Give me the next error:
Fatal error: Call to undefined function ctype_space() in /www/components/com_phocaguestbook/assets/library/HTMLPurifier/Token.php on line 140
hmm, it seems like y
Posted: 28 Mar 2008, 15:43
by Jan
hmm, it seems like your PHP version doesn't have installed ctype functions
What you can do:
1. Intstall the ctype support for your PHP or
2. Wait until Joomla! developers fix the problem with JRequest:clean method. As they do it, I will implement the JRequest:clean method instead the HTMLPurifier external class...
Jan