When running the Glossary module we get this message:

Fatal error: Call to undefined function: htmlspecialchars_decode() in /homepages/44/d245202005/htdocs/modules/glossary/glossary.module on line 468

In the course of testing this, I even set up a glossary with just one term and one description, and even that caused this crash.

There are no 'special characters' that I'm using, so what could be causing this?

Thanks very much.

Eric

Comments

rishav-1’s picture

check the php version you are using. probably function needs PHP 5.1 or higher,

labourstart’s picture

I see that we're running PHP 4.4.9.

Two questions:

1. Are you sure that I can't run glossary on this version of PHP?

2. If that's the case, I don't recall being asked anywhere which version of PHP I'm running. Is this set by my ISP? I'm using a shared hosting platform.

Thanks.

Eric

rishav-1’s picture

this htmlspecialchars_decode() function was introduced in php5.

refer :

http://drupal.org/node/179567
http://drupal.org/node/274394

I guess, right now all hosting plans support PHP 5 and above, I am nt entirely sure but I guess you should be able to set it from the cpanel or similar that you get with your hosting plan

nancydru’s picture