Fatal error: Call to undefined function: htmlspecialchars_decode()
Stephane91 - June 16, 2008 - 20:55
| Project: | Glossary |
| Version: | 6.x-1.5 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | NancyDru |
| Status: | closed |
Jump to:
Description
Hi,
I have installed the new version of Glossary with drupal 6.2.
I now have this error page when I clic on Glossary link in menu.
Fatal error: Call to undefined function: htmlspecialchars_decode() in /home/uits-nadcap/public_html/modules/glossary/glossary.module on line 916
I have no idea about this error and how to correct this beside going back to previous version.
thanks

#1
At the moment, going back to the previous version is needed. In trying to deal with the display of non-Latin characters, I didn't notice that the PHP function I needed was for PHP 5.1 or higher. I don't want to demand that you use anything higher than the core-required 4.3.5, so I'm not sure what to do now.
BTW, Drupal 7 will require PHP 5.2.5, and it is just around the corner. You need to get your host up to date. (Oh, and MySql 5+.)
#2
#3
Thanks to Moshe, we found a solution that I hope will still take care of the original problem and this one.
I have committed it to both branches. It will be in the -dev release that will roll out at Noon GMT.
#4
Thank you for the solution. It works very well.
About the Drupal 7 and php 5 and mysql5. (in a previous message) I'm not sure if want to upgrade to D7.
First when you look at all available modules, its easier to find what you need on D5 than on D6. I regret my choice of using D6 instead of being patient and choosing D5. I started Drupal 4 months ago when I saw D6 was last version I jump on it and expect all modules to go to D6 quickly. That's not happening. (I'm not good at programming so I really don't know the differences between 5.x and 6.x, neither the amount of work it represent to correct/rewrite ? a module). A lot of interresting solutions (ACL, civicrm, Date module for cck not so long ago) are still remaining only in D5 and some theme too.
Second, It seems that 5.7 is very stable. I'm trying to make an other site (intranet this time) and I'm currently working on 5.7. All modules are perfectly working and everything is quite quick and pretty nice. Maybe if you have a developper point of view, it's not pleasant to hear that a simple user prefer "old code".
In my D6 Site, almost every day I have a new module version to upload, decompress, test in my sandbox on my computer then upload to my site, put it in maintenance mode, save the old files, upgrade to new module, test on site...
I've been working on my D5 site and there is no change for a week now. Peacefull. I can concentrate on my job, content, accessibilty, (taxo, books, menus...)
I can tell you that there will be time between D7 release and full compatiblity (all modules I use) for me.
I'm not sure a lot of people are just using Drupal core without a persitent login, a captcha, a fckeditor, a glossary module or something else. Moving to D7 without this modules we need is not an improvment, its a downgrade.
About php5. Some of us run D5 on mutualise internet provider and do not manage php version on their site. As far as I'm concern I have a pre package solution with debian and php 4 I'm not sure to be able to implement php5, and I'm sure I don't know how to do so.
I know It's not the place to put this but what I don't know is where to put it...
Thanks again for the wonderful job your doing.
#5