Drupal 7.15 running in the Acquia stack.

login_destination module
Update #7000
•Failed: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'acquia_drupal.login_destination' doesn't exist: INSERT INTO {login_destination} (triggers, roles, pages_type, pages, destination_type, destination) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5); Array ( [:db_insert_placeholder_0] => a:1:{i:0;s:5:"login";} [:db_insert_placeholder_1] => a:0:{} [:db_insert_placeholder_2] => 0 [:db_insert_placeholder_3] => [:db_insert_placeholder_4] => 0 [:db_insert_placeholder_5] => ) in drupal_write_record() (line 7036 of D:\www\includes\common.inc).

Comments

ElegantSolutions’s picture

Priority: Major » Normal
justdave’s picture

The login destinations module in D7 apparently isn't upgradable from the one in D6, you have to start over (if it's supposed to be upgradable, the upgrade script is definitely broken).

The rules are defined in a completely different way (with a lot more options available, and it actually does exactly what I want in D7, the D6 version was kinda limited). Here's what I ended up doing to make it work:

  1. Disable the Login Destinations module.
  2. Go to the Uninstall tab and uninstall it (this removes all of the module data as well, causing the subsequent reinstall to actually create everything from scratch instead of thinking it's already there)
  3. Re-install the module.
  4. Re-enable the module.
  5. Go and configure it all again the way I wanted it.
ddrozdik’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)
firfin’s picture

Issue summary: View changes
Status: Closed (works as designed) » Closed (duplicate)
Related issues: +#1665956: D7 Upgrade Path

Duplicate of #1665956: D7 Upgrade Path Both this issue and the other have useful info, but the other is older.