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
fatal error
- Jan
- Phoca Hero
- Posts: 48689
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Hi, which version of
Hi, which version of PHP do you have ... this is a standard PHP function ....
ctype_lower()
(PHP 4 >= 4.0.4, PHP 5)
Jan
ctype_lower()
(PHP 4 >= 4.0.4, PHP 5)
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 7
- Joined: 27 Mar 2008, 13:48
- Location: Netherlands
can't get it to
can't get it to work
- Jan
- Phoca Hero
- Posts: 48689
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Try to change the co
Try to change the code in Token.php:
from:
$this->name = ctype_lower($name) ? $name : strtolower($name);
to
$this->name = strtolower($name);
Jan
from:
$this->name = ctype_lower($name) ? $name : strtolower($name);
to
$this->name = strtolower($name);
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 7
- Joined: 27 Mar 2008, 13:48
- Location: Netherlands
Thanks Jan,
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
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
- Jan
- Phoca Hero
- Posts: 48689
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
hmm, it seems like y
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
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
If you find Phoca extensions useful, please support the project