I have a new installation of drupal 6.22 and one of the first things I did was to install CCK. Enabling this module gave me a WSOD on the whole site, so I deleted the module directory from sites/all/modules. This got rid of the WSOD but now whenever I enable a non-core module, the front-end of the site continues to work but the admin screen give me a wsod. I have read the drupal docs on this and installed dtools. With dtools on, I can see I'm getting the error
ERROR: Callback: system_main_admin_page() doesn't exist!
I am guessing that deleting the CCK files without disabling the module (CCK) may be part of the problem. How do I programmatically disable modules? Any other ideas on fixing this?
Thanks,