The archives for September 4th, 2008


Set 4

Tuxmind makes 100

This today tuxmind has exceeded the threshold of 100 feed (107) and, also knowing that not draft of particularly high figure, for how much regards to me it is a such goal to justify this post. When your job comes appreciated cannot that farti it appeal to and spingerti to giving more still.
Thanks to all!

Set 4

WP-Postviews and Php4…

figotip.jpgThis article means to be more a personal note that a post dedicated to one of the arguments dealt habitually on tuxmind. Yesterday I have dawned wordpress from localized in Italian and widened version 2,5 to the 2.6.1 in the functionalities from the addition of some plugin, prelevabile to this address. Well after the process of modernization and the resolution of some banal incovenienti that habitually take place in situations of this type me are imbattuto in a somewhat annoying problem, above all in reason of its implications, we say thus, of service. Creed all know that the version current of php is number 5 and, like such, come used from the majority of the hosts. Mine, instead, the Aruba usual, still uses version 4 that creates problems with some plugin. In the fattispecie, for how much it regards to me, the disadvantage is happened with WP-Postviews, plugin that it allows the visualization of the post more read, which on php4 generates an error of the type: “How to work around the Warning: cannot yet handle MBCS in html_entity_decode ()”.
Girovagando a little I have found a likeable one hack that it allows to bypassare the problem without to resort to php5 (also because it would have to ask to Aruba):

  1. to open the rows wp-postviews.php;
  2. to find the line $text = html_entity_decode ($text, ENT_QUOTES, get_option ('blog_charset')); and to replace it with $text = utf8_decode ($text);

Now all it works perfectly.