I checked all the other "lock-out" problems...nothing like this. I'm well into building my site. I upload views and ctools. I'm enabling the new modules when i notice many of my core modules have been disabled and my admin menu gone! From myadminphp I enable all core modules I think i need...no bueno. I enable All core modules and and disable all uploaded modules...still no bueno. I delete views and ctools.......mucho no bueno! Is there hope?!!!!!!

Comments

gbrands’s picture

Did you originally enable the modules through phpmyadmin too? Or did you enable them via the modules page within the Drupal admin area?

jimmymiller’s picture

drupal admin

gbrands’s picture

Very strange. Never heard of anything like this before. I would try the following after backing up your database:

  1. Using phpMyAdmin, disable all the contributed and custom modules
    UPDATE system SET status = 0 WHERE type = 'module' AND filename LIKE 'sites/%'
  2. 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

  3. Then run cron for the site
  4. Then see if you can uninstall any of the modules at this point
  5. Then run update.php for the site
  6. 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!

jimmymiller’s picture

Additional uncaught exception thrown while handling exception.
Original
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'awo1109502211539.languages' doesn't exist: SELECT * FROM {languages} ORDER BY weight ASC, name ASC; Array ( ) in language_list() (line 2443 of /home/content/75/7647975/html/includes/bootstrap.inc).

Additional
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'awo1109502211539.taxonomy_term_antonym' doesn't exist: SELECT ta.name AS name FROM {taxonomy_term_antonym} ta WHERE (tid = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 3 ) in taxonomy_test_get_antonym() (line 80 of /home/content/75/7647975/html/modules/simpletest/tests/taxonomy_test.module).

jimmymiller’s picture

Fatal error: Call to undefined function user_access() in /home/content/75/7647975/html/includes/menu.inc on line 617

gbrands’s picture

This thread looks like it might be able to help you out with your problem. It proposes several possible causes and solutions:
http://drupal.org/node/26256

jimmymiller’s picture

Thanks for your time!

mcsolas’s picture

Getting the same error - Additional uncaught exception thrown while handling exception.

PDOException: SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction: SELECT 1 AS expression FROM {variable} variable WHERE ( (name = :db_condition_placeholder_0) ) FOR UPDATE; Array ( [:db_condition_placeholder_0] => javascript_parsed ) in variable_set() (line 805 of /nfs/c06/h01/mnt/88330/domains/ .com/html/includes/bootstrap.inc).

edit - found out this issue was due to the banner rotation module and media module versions being incompatible. they updated that today and its live and working. if you have similar errors, it may be because you have that or other modules which call the media module. try disabling or updating that one.

ardbegdrup’s picture

How can i update or disable modules if my site is totally down? Thru phpmyadmin?

gbrands’s picture

In the 'system' table, set the status to 0 (zero) for the desired module/theme. I'm not sure if you'd have to clear the cache tables as well, but it couldn't hurt.

Hope this helps,
Gerrit