Uninstall Broken

philbar - April 24, 2009 - 18:13
Project:Node Relativity
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

I installed Node Relativity 6.x-2.x-dev during some module evaluations.

When I disabled the module and attempted to uninstall it, I was welcomed with the dreaded white screen. I guess somewhere in the code, there is something causing the php server to stall during rendering and therefore only displays a blank page, instead of a confirmation page.

I down-graded to Node Relativity to 6.x-1.1 and tried again with no avail. I also tried 6.x-1.x-dev.

#1

VM - April 24, 2009 - 18:20

blank pages are apache errors, have you checked your apache logs?

There isn't a downgrade method, but I see why you would try that.

As a side note: when testing modules it is best to do so on a test install so that you can easily throw away the Database when you want.

#2

philbar - April 24, 2009 - 22:53

Ya, I tested to module on a prototype I'm working on. It's not a production site.

The problem is a misspelling at the bottom, uninstall section, of the relativity.install file.

function relativity_uninstall() {
  drupal_unistall_schema('relativity');
  db_query("DELETE FROM {variable} WHERE name LIKE 'relativity_%%'");
}

Some how the 'n' in uninstall is missing from drupal_uninstall_schema

Sorry I can't make a patch, not set up for that.

#3

philbar - April 24, 2009 - 22:53
Status:active» reviewed & tested by the community

#4

darius - April 28, 2009 - 19:16
Priority:normal» critical
Status:reviewed & tested by the community» fixed

Fixed in 6.x-1.2 release. Thanks.

#5

System Message - May 12, 2009 - 19:20
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.