totoff Posted September 23, 2014 Share Posted September 23, 2014 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 More sharing options...
kongondo Posted September 23, 2014 Share Posted September 23, 2014 (edited) You could always also remove it via phpMyAdmin. Go to the modules table, find the module class (e.g. ProcessBlog) and delete that row...Backup before of course... Edited September 23, 2014 by kongondo 1 Link to comment Share on other sites More sharing options...
adrian Posted September 23, 2014 Share Posted September 23, 2014 $modules->uninstall("ModuleClassName"); 2 Link to comment Share on other sites More sharing options...
totoff Posted September 23, 2014 Author Share Posted September 23, 2014 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 More sharing options...
adrian Posted September 23, 2014 Share Posted September 23, 2014 I know nothing about the multisite module, but that first error suggests that the subdomains field in the module's config settings hasn't been filled out. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now