Closed (fixed)
Project:
Google AdSense integration
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
27 Aug 2011 at 05:35 UTC
Updated:
7 Apr 2012 at 19:30 UTC
Hi;
Why i try to unistall the adsense module, i got the following error message:
Fatal error: Call to undefined function db_fetch_object() in ../sites/all/modules/adsense/old/oldcode/adsense_oldcode.install on line 15
Any one can help?
Thank you.
Comments
Comment #1
mccrodp commentedI also have this issue, did you have any luck solving this Viciousse?
Thank you,
Paul.
Comment #2
wranvaud commentedA quick n' dirty way to get arround this is to simply declare the function
Add the following line into ../sites/all/modules/adsense/old/oldcode/adsense_oldcode.install
function db_fetch_object() {}
Then don't forget to erase this line once you uninstalled the module
Not elegant but it should be ok
Comment #4
jcnventuraI've now ported the oldcode module to D7, which should allow you to uninstall it, after you upgrade to a newer version.