I have an issue. I am upgrading from drupal 6 to 7. I had location installed but have yet to use it. I figured I would just do a clean install of it. I went to uninstall it in drupal 7 and recieved an error. I then thought maybe I will just upgrde it. Deleted the folder and uploaded the new version. Ran update.php and received an error. Now my site will not work at all and this error displays:

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'j4moreap_ndo7.location_instance' doesn't exist: SELECT l.lid AS lid FROM {location_instance} l WHERE (vid = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 289 ) in location_load_locations() (line 915 of /home/j4moreap/public_html/ndo7/sites/all/modules/location/location.module).

Is there a way to just manually get rid of this module? Thanks!

Comments

ankur’s picture

Status: Active » Closed (fixed)

You can always try the following (which makes the assumption that you are using the default caching and no database prefixes):

(1) Remove the module directory.

(2) At the MySQL command-line:

DELETE FROM system where type = 'module' and name like 'location%';
DROP TABLE location;
DROP TABLE location_instance;
DELETE FROM cache;