Closed (fixed)
Project:
Google AdSense integration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
26 Feb 2010 at 17:57 UTC
Updated:
8 Sep 2010 at 07:20 UTC
I up dated Durpal 5.7 to 6.x-1.0 and used adsense_injector-6.x-2.7
When I tried installing and AdSense with AdSense Injector in the blogs, or a page, or an article I get this: When I go to the blog and open a blog. I get this error:
(Fatal error: Call to undefined function: stripos() in /hsphere/local/home/garypalm/mountainviewarchery.com/sites/all/modules/adsense/adsense.module on line 561).
I've worked with Durpal for several years with no problems. I'd appreciate any help.
Comments
Comment #1
Chad_Dupuis commentedI think this is because you are using PHP 4. The latest version of adsense includes an update for this: Fix #544472: use stristr() instead of stripos() which is not available in PHP4
Comment #2
hswong3i commentedThank you for the update and confirmation :D
Moreover, as this should belongs to adsense.module, I would like to move the issue to there.
Please feel free to correct me.
Comment #3
jcnventuraIndeed, this has been fixed back in September 2009 #544472: function stripos() is only available on PHP5 or higher, but last week's release is the first non-dev to have it.
João