When uninstalling securesite the follow error occurs:

Fatal error: Call to undefined function db_fetch_object() in /path/to/securesite/securesite.install on line 37

The db_fetch_object function is no longer available in D7. See http://drupal.org/update/modules/6/7#dbtng for more information.

Comments

vasiliy0s’s picture

So, how to uninstall this module correctly???

Dave.Ingram’s picture

Title: Uninstall fails » Uninstall uses incorrect database syntax, causes failure to install
Assigned: Unassigned » Dave.Ingram
Status: Active » Needs review
StatusFileSize
new480 bytes

I ran across this bug this morning as well. Here is a patch that fixes the db_fetch_object error (which is no longer used in Drupal 6) and allowed me to uninstall the module as usual.

deciphered’s picture

Status: Needs review » Closed (duplicate)
deciphered’s picture

Status: Closed (duplicate) » Fixed

Committed to 7.x-2.x on behalf of Dave.Ingram.

Status: Fixed » Closed (fixed)

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