Error in listing modules
Chris Dudley <[email protected]> Thu, 01 Jan 2004 18:24:07 +0000
| Newsgroups | gmane.comp.cms.xaraya.knowledge-base |
|---|---|
| Organization | Xaraya News Server |
| Message-ID | <[email protected]> |
If you get an error listing all the available modules in the modules module, (iirc its a Bad paramater error) then it is most likely due to either duplicate entries in the xar_modules or xar_modules_states tables. It can also be caused by a discrepancy between the contents of those tables and the information in the filesystem. For instance I saw a problem recently where an old 0.9.0.5 site was updated to 0.9.7, the upgrade went cleanly but it wasnt possible to list all available modules. This turned out to be due to the davedap module being renamed to phpldapadmin. Once the davedap directory (from 0.9.0.5) was deleted (there was a newer one from 0.9.7 called phpldapadmin) and the davedap entries in the xar_modules and xar_modules_states tables deleted everything worked perfectly. So something to check if you get problems with the modules module. Also a good reason not to rename modules ;-) miko