Download & Extend

Fatal error when tring to unistall the module

Project:AdSense
Version:7.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Viciousse
Status:closed (fixed)

Issue Summary

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

#1

I also have this issue, did you have any luck solving this Viciousse?

Thank you,
Paul.

#2

A 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

#4

Status:patch (to be ported)» fixed

I've now ported the oldcode module to D7, which should allow you to uninstall it, after you upgrade to a newer version.

#5

Status:fixed» closed (fixed)

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