Closed (cannot reproduce)
Project:
Drupal core
Version:
7.0-rc2
Component:
update system
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Dec 2010 at 18:18 UTC
Updated:
18 Dec 2010 at 21:24 UTC
I'm getting the following error when attempting to upgrade:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'books.blocked_ips' doesn't exist: SELECT 1 FROM {blocked_ips} WHERE ip = :ip; Array ( [:ip] => 99.58.88.97 ) in drupal_is_denied() (line 1781 of /home/books/public_html/includes/bootstrap.inc).
Cannot upgrade
Comments
Comment #1
shelleyp commentedComment #2
damien tournoud commentedHave you followed the instructions and visited update.php?
Comment #3
shelleyp commentedYes, I followed instructions in UPGRADE.txt. I'm assuming that's what you meant.
I dropped database, reloaded previous copy, and now I'm getting:
DatabaseSchemaObjectExistsException: Cannot add index system_list to table system: index already exists. in DatabaseSchema_mysql->addIndex() (line 433 of /home/books/public_html/includes/database/mysql/schema.inc).
The website encountered an unexpected error. Please try again later.
Uncaught exception thrown in session handler.
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'ssid' in 'where clause': SELECT 1 AS expression FROM {sessions} sessions WHERE ( (sid = :db_condition_placeholder_0) AND (ssid = :db_condition_placeholder_1) ) FOR UPDATE; Array ( [:db_condition_placeholder_0] => VwR9THvLyASASWSqfitRnYz3_rWYTDjJYjwoyDQbGYM [:db_condition_placeholder_1] => ) in _drupal_session_write() (line 204 of /home/books/public_html/includes/session.inc).
Comment #4
shelleyp commentedI just tried with another site, and I'm not having problems with it.
I have to assume that something happened to the database on the site I'm attempting to upgrade, and the upgrade process just can't repair the differences.
But since I can't duplicate the error on another site, I'm assuming it's my site, not the app. Will close this bug out.