Created
March 26, 2016 07:40
-
-
Save henrytran9x/f40e4296e32313f5e470 to your computer and use it in GitHub Desktop.
Fix A weird lock-out Drupal 7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Very strange. Never heard of anything like this before. I would try the following after backing up your database: | |
Using phpMyAdmin, disable all the contributed and custom modules | |
UPDATE system SET status = 0 WHERE type = 'module' AND filename LIKE 'sites/%' | |
The clear the cache tables: | |
TRUNCATE TABLE cache; | |
TRUNCATE TABLE cache_block; | |
TRUNCATE TABLE cache_bootstrap; | |
TRUNCATE TABLE cache_field; | |
TRUNCATE TABLE cache_filter; | |
TRUNCATE TABLE cache_image; | |
TRUNCATE TABLE cache_menu; | |
TRUNCATE TABLE cache_page; | |
TRUNCATE TABLE cache_path; | |
NOTE: cache_form was not included because it is not actually a cache table. It is actually a form_state table | |
Then run cron for the site | |
Then see if you can uninstall any of the modules at this point | |
Then run update.php for the site | |
Then see if you can enable the modules again. | |
You might want to do this step one at a time to see if a particular module is the culprit of the 'lock-out' | |
As I said before, I've never actually encountered this type of error before and these are just the steps I would try. Hope this helps! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment