This version of the module calls the function stripos(), which is only available on PHP5 or higher. Updating a site running with PHP 4 results in WSoD.

Comments

kbahey’s picture

Note that PHP4 is obsolete now.

Joao,

If this is not easy to get around, we should add:

php = 5.2.x

In the .info file to prevent this module from being used for PHP4.

jcnventura’s picture

yes, but drupal 6 itself is still php4-compliant. I will try to make the module php4 compliant again.

jcnventura’s picture

I have figured out that I can use stristr() for the same purpose that the stripos function was being used. I will test to make sure it's working and I will try to commit it soon.

jcnventura’s picture

Status: Active » Fixed

I've committed to CVS a change to use stristr instead of stripos.

Status: Fixed » Closed (fixed)

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