By Jacob on
Hi,
I have a PHP parsing error in the module I've developed and the site is just showing the Error and nothing else. All my attempts to get rid of the module failed:
* renamed my_module.module to my_module.module.orig
* renamed the folder it's stored /modules/my_module/ to /modules/my_module_DELETED_/
* manually updated system DB table, modifying filename field
* manually updated system DB table, modifying name field
* manually updated system DB table, setting status to 0
Is there a way to manually remove the module?
Thank you in advance,
Jacob.
Comments
=-=
since setting the module status to 0 didn't work for you, rather then rename the folder, have you tried removing the folder, I believe in Drupal 4.7 the modules are still parsed whether they are enabled or not.
___________________________________________________________________________________________________
The search tool on Drupal.org really does work. This message has been brought to you by the letter X. Thanks for watching! : )
rename = delete ....
Hi, VeryMisunderstood
thank you for replying, however, the renaming is just like deleting - Drupal has no chance to connect old and new names. I tried though what you advised and removed the folder completely, but no, no luck :(
Jacob.
I believe it's caching issue
I tried to modify system table values again with no folder, but result is the same - no luck. I believe it's something to do with cache
Jacob.
Cache cleaning did not help neither
Tried to empty the cache table ("delete from cache") - no luck again, PHP error of non existing module without any cache is still shown alone.
Jacob.
=-=
what about removing the DB entires altogether rather than modifying them.
Does your module add anything the variables table ?
___________________________________________________________________________________________________
The search tool on Drupal.org really does work. This message has been brought to you by the letter X. Thanks for watching! : )
With PhpMyadmin
simply go to the system table and find the module and set the status to 0
=-=
the OP has already stated taking that step in his/her first post.
___________________________________________________________________________________________________
The search tool on Drupal.org really does work. This message has been brought to you by the letter X. Thanks for watching! : )
Sometimes you just don't catch the first post...
...and this time I'm glad I didn't. Thanks, the setting of module's status to 0 did the trick. I searched for Drupal module crashed blank screen and wound up here. This trick helped me manually disable a module. You're the bomb that doesn't crash tjholowaychuk!
=-=
Handbooks -> Troubleshooting FAQ's
should have revealed : http://drupal.org/node/157632
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
=-=
This thread was edited by me, in order to clean up the nonsensical and antagonizing replies as made by http://drupal.org/user/116606, that had nothing to do with the original topic.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )