Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I removed Browscap from my site and dropped all Browscap tables because my "Show in Mobile" tab was duplicated on block configuration.
Now, when I reinstall Browscap, it breaks my site. It does not create new tables so I guess that is the problem. Can anyone tell me how to get Browscap reinstalled and running?
I have tried both 7.x-2.0 and 7.x-2.x-dev
Comments
Comment #1
Homotechsual CreditAttribution: Homotechsual commentedAlso experiencing this as a problem... Error message follows:
Database and Path details have been removed from the message above
Any advice on how to fix this would be appreciated.
Comment #2
Homotechsual CreditAttribution: Homotechsual commentedEdited title.
Comment #3
gregglesWhen you disabled the module it sounds like you didn't remove records about it from the system table. Here are the steps for a manual removal:
1. drop table browscap;
2. delete from variable where name in ('browscap_imported', 'browscap_version', 'browscap_enable_automatic_updates', 'browscap_automatic_updates_timer')
3. delete from system where name = 'browscap';
Once you've done those three things you should be able to reinstall without issue.
In the future, there is a user interface for disabling and uninstalling modules that will do all this for you. I encourage you to use it :)