Hi, I've had that problem as well in the past. Information about the modules is stored in several entries in the oxconfig table: aModulePaths, aModuleFiles, aModuleTemplates, aModuleVersions, aModuleEvents and aDisabledModules. I've written a frontend view class which lets me remove a module from these settings (see the code below - I'm not sure if the list would let me use attachments). You might want to check if that's still working though, because it's been a while since I last used it.
You can copy this to your frontend views folder and call http://.../?cl=removemodule&id=<module-id> Hope this saves you some time... It took me quite a bit to figure that out back then ;-) Robert -------------------[ Code ]--------------------------------------- <?php class removemodule extends oxUBase { public function render() { $sRemoveModule = $this->getConfig()->getParameter('id'); $aModuleConfigs = array('aModulePaths', 'aModuleFiles', 'aModuleTemplates', 'aModuleVersions', 'aModuleEvents'); $aModuleConfigLists = array('aDisabledModules'); $oConfig = $this->getConfig(); foreach(array_merge($aModuleConfigs, $aModuleConfigLists) as $sVar) echo $sVar . ' = <pre>' . var_export($oConfig->getShopConfVar($sVar), true) . '</pre><hr>'; if($sRemoveModule) { foreach($aModuleConfigs as $sVar) { $aValue = $oConfig->getShopConfVar($sVar); if(is_array($aValue) && isset($aValue)) { unset($aValue); $oConfig->saveShopConfVar('aarr', $sVar, $aValue); } } foreach($aModuleConfigLists as $sVar) { $aValue = $oConfig->getConfigParam($sVar); if(is_array($aValue) && in_array($sRemoveModule, $aValue)) { unset($aValue[array_search($sRemoveModule, $aValue)]); $oConfig->saveShopConfVar('arr', $sVar, $aValue); } } echo '<br><br><br>Removed ' . $sRemoveModule . ':<br><br><br>'; foreach(array_merge($aModuleConfigs, $aModuleConfigLists) as $sVar) echo $sVar . ' = <pre>' . var_export($oConfig->getShopConfVar($sVar), true) . '</pre><hr>'; } exit(0); } } -------------------[ Code ]--------------------------------------- -----Ursprüngliche Daten----- Datum: 17.07.2013 12:49:58 Von: Haller Stahlwaren GmbH - Raimund Lang <[email protected]> An: [email protected] <[email protected]> Betreff: Re: [oxid-dev-general] How to remove modules completely Vorgang: T-GMDSY9UOQ0-02 > something related from me as wellhellip > > I have installed a newer version of a module. So I have deactivated the old > one, deleted the folder via ftp, gone to admin area -> modules and clicked > yes (delete all files etchellip). Then I have uploaded the new version but it > did not let me activate ithellip I have of course cleared /tmp and refreshed > views as well. > > Finally I have renamed the module folder and all dependencies within the > module files. > > Von: [email protected] > [mailto:[email protected]] Im Auftrag von OLIGOFORM GbR > Gesendet: Mittwoch, 17. Juli 2013 12:40 > An: [email protected] > Betreff: Re: [oxid-dev-general] How to remove modules completely > > i´ve got exactly the same behavior! > > after some strange try-n-errors i used the tueena_dev modul. maybe it helps > you too. > > the related forum "discussion": > http://forum.oxid-esales.com/showthread.php?p=127383#post127383 > > but i´m very interested in knowing a "real" solution for this issue! > > oliver > > Am 17.07.2013 um 11:54 schrieb Joachim Barthel < [email protected] >: > > Hi, > > after moving a module from the folder modules to a vendor folder (and not > deativating before) the module cannot be loaded anymore. > > I get everytime the message "Module cannot be loaded" > > - Clearing the cache with vt's Dev Utils doesn't help > > - Deleting the whole module from folder modules doesn't help > > In a new installation of oxid, the module works fine. > > How can I remove a module completely? > > Thanks in advance! > > Joachim > > Joachim Barthel > > ----------------------------- > > http://exchange.oxid-esales.com/de/Marketing/Produktmarketing/OxAds-0-3-Stable-CE-4-3-x-4-7-x.html > (OxAds) -- > http://exchange.oxid-esales.com/de/Datenmanagement/Produktdaten/OxProbs-0-4-Stable-CE-4-3-x-4-7-x.html > (OxProbs) -- > http://exchange.oxid-esales.com/de/Controlling/Data-Mining/OXID-Plugin-fuer-Piwik-0-10-Stable-CE-4-3-x-4-7-x.html > (Piwik-Plugin) > > _______________________________________________ > dev-general mailing list > [email protected] > http://dir.gmane.org/gmane.comp.php.oxid.general > > _______________________________________________ > dev-general mailing list [email protected] > http://dir.gmane.org/gmane.comp.php.oxid.general
_______________________________________________ dev-general mailing list [email protected] http://dir.gmane.org/gmane.comp.php.oxid.general
