Closed (fixed)
Project:
Google AdSense integration
Version:
6.x-1.2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Aug 2009 at 00:13 UTC
Updated:
15 Sep 2009 at 16:40 UTC
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
Comment #1
kbahey commentedNote that PHP4 is obsolete now.
Joao,
If this is not easy to get around, we should add:
In the .info file to prevent this module from being used for PHP4.
Comment #2
jcnventurayes, but drupal 6 itself is still php4-compliant. I will try to make the module php4 compliant again.
Comment #3
jcnventuraI 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.
Comment #4
jcnventuraI've committed to CVS a change to use stristr instead of stripos.