Jump to content

How to uninstall a module with the API?


totoff
 Share

Recommended Posts

Hi Forum,

something went totally wrong with my settings for the Multisite module as described here. I can't access my site anymore and need to uninstall and start from scratch.

Is there a way to uninstall a module via the API (I tried to google the forums but the search terms are to generic to find results)?

Thanks

Link to comment
Share on other sites

thank you both. This is all very weird. I managed to uninstall with $modules->uninstall but when I try to reinstall I get errors:

Warning: strpos(): Empty needle in /www/htdocs/user/mysubdomain.com/site/modules/Multisite.module on line 40

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/user/mydomain.com/site/modules/Multisite.module:40) in /www/htdocs/user/mysubdomain.com/wire/core/admin.php on line 14

Notice: Undefined index: subdomains in /www/htdocs/user/mysubdomain.com/site/modules/Multisite.module on line 87

Appreciate if you have any ideas. If not, I'll wait for answers in the appropriate modules forum.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...