This module seems to be missing an uninstall routine, what do I have to do to completely remove all entries relevant to this module from my DB?

Comments

Phillip Mc’s picture

Priority: Critical » Minor
Phillip Mc’s picture

Downgrading from CRITICAL to Minor.

You need to delete the front page settings from your variables table in the DB.

Please submit a patch for this routine when you're done.

jan.n’s picture

I looked at the table "drupalvariables", there is no record named "front" oder "front_page".
What exactly is the table name and how do I recognize the settings which I need to remove?

How do I create and submit a patch?

I'm not a developer and probably don't fully understand you...

Phillip Mc’s picture

patches are code-changes submitted by users to help improve Drupal/contribute module. Don't worry about it. It's really for code developers.

to remove/uninstall, follow these steps:

  1. On the front page settings page, change the DEFAULT FRONT PAGE from 'front_page' to 'node'
  2. disable the front page module on your modules page,
  3. It's not completely necessary - but, if you want to remove the DB entries for the front page module, using something like PHPmydamin, look for and remove the following in your variables table:
    front_number _redirect (Where number is the role id)
    front_number_php
    front_number_redirect
    front_number_type
    special_notice_text
    special_notice_time
    front_page_breadcrumb
    front_page_breadcrumb_redirect
  4. delete the /front/ folder from your /modules/ folder
jan.n’s picture

Phil, thank you for your explanation!

What, if I do not have a table called "variables"? Might that be a special table, my shared hosting service does not show me in phpmyadmin?
I have 62 tables in my DB, all of their names begin with the string "drupal". The only tablename near "variables" is "drupalvariable" (without s) and it does not contain the variables you named. One thing perhaps: I installed the module but did not start using it ('cause I realized it was not what I needed). Perhaps the entries in the DB are created when first alctually using the module?

Regards
jan

Phillip Mc’s picture

Status: Active » Closed (fixed)

the front page module doesn't do anything to the database until you actually SAVE settings on the front page settings page.

that's why you can't see any variables.

Just disable the module (under site building -> modules) and using FTP or your site file manager, delete the /FRONT/ folder from your /MODULES/ folder.