Upon upgrading to Quotes 5.x-1.6 and enabling the bio and author link features in the settings, my site returns this fatal error:

Fatal error: Call to undefined function: htmlspecialchars_decode() in /home/examplesiteinfo/modules/quotes/quotes.module on line 958

I believe this is because htmlspecialchars_decode() is only available for Drupal 6?

Anyway, a fix would be appreciated. Thanks!

Comments

spazfox’s picture

Oops, I meant to say that it appears that htmlspecialchars_decode only works well for PHP 5 (my site uses PHP 4, alas):

http://drupal.org/node/179567
http://us3.php.net/htmlspecialchars_decode

Is there a way to fix this module to work for sites on PHP < 5?

nancydru’s picture

Assigned: Unassigned » nancydru

First, are you aware that D7 should be going into freeze in a few weeks and that D7 will require PHP 5.2.5 or higher and MySql 5 / Postgres 8 or higher? You need to get your host off their duffs and busy upgrading.

Fix committed to both -dev versions.

spazfox’s picture

Thanks for the fix -- works like a charm now.

Yes, I'm aware of the D7 requirements...but I'm in on rush to upgrade just yet, as several key modules I need have not even begun porting to D6 yet!

nancydru’s picture

Status: Active » Fixed

I've been running into more and more contributed modules that already require PHP5. I got my host to upgrade 6 months ago. They shouldn't be waiting for the release of D7. Neither PHP 4 nor MySql 4 are supported any longer.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.