I upgraded from 6.20 to 7.0-rc3.
After lots of tinkering, I got it working... kinda. My secondary sites (in sites folder, with folders named as their domain name) are up and working. However, my primary site (default) is getting WSOD or error msgs. What reason would an upgrade work like this?

CommentFileSizeAuthor
#10 contact.1009552.10.patch340 byteshershel

Comments

Branjawn’s picture

I was getting this error:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drp01.drup_blocked_ips' doesn't exist: SELECT 1 FROM {blocked_ips} WHERE ip = :ip; Array ( [:ip] => 65.87.166.200 ) in drupal_is_denied() (line 1779 of /home5/public_html/includes/bootstrap.inc).

Now I am stuck with this:
Fatal error: Call to undefined function decode_entities() in /home5/public_html/includes/common.inc on line 1552

Any help is welcome!

Branjawn’s picture

Just to let someone know, I'm still working on this.

Branjawn’s picture

Title: Upgrade multisite from 6 to 7 » Upgrade multisite installation from Drupal 6.20 to Drupal 7.0-r3
Branjawn’s picture

It may be fixed. I worked with Hostmonster support (very helpful!) and got a fresh php.ini file, removed added themes and modules, nothing was changing.
Well, I went to mysite.com/install.php and used the update link from that page (as opposed to me entering manually in browser url bar) and it worked! I did get a few db errors, but overall it worked and I'm not getting WSOD or Fatal Errors.

Branjawn’s picture

Problems:

Still exists on non-update pages:
Fatal error: Call to undefined function decode_entities() in /home5/public_html/includes/common.inc on line 1552

On mysite.com/update.php?op=results I get the following:

    * Notice: Undefined index: update_success in update_results_page() (line 162 of /home5/aredlion/public_html/update.php).
    * Warning: array_pop() [function.array-pop]: The argument should be an array in update_results_page() (line 166 of /home5/public_html/update.php).

The update process was aborted prematurely while running update # in .module. All errors have been logged.

When I ran the update, I got this result on that page:

system module
Update #7002
Failed: DatabaseSchemaObjectExistsException: Table <em class="placeholder">blocked_ips</em> already exists. in DatabaseSchema->createTable() (line 623 of /home5/public_html/includes/database/schema.inc).
contact module
Update #7002
Failed: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'module' in 'where clause': SELECT 1 AS expression FROM {role_permission} role_permission WHERE ( (rid = :db_condition_placeholder_0) AND (permission = :db_condition_placeholder_1) AND (module = :db_condition_placeholder_2) ) FOR UPDATE; Array ( [:db_condition_placeholder_0] => 2 [:db_condition_placeholder_1] => access user contact forms [:db_condition_placeholder_2] => contact ) in contact_update_7002() (line 128 of /home5/public_html/modules/contact/contact.install).
Branjawn’s picture

Deleted blocked_ips table, ran update.pgp again, new error:

The following updates returned messages
system module
Update #7004

    * Failed: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'garland-node-syndicate' for key 'tmd': UPDATE {block} SET delta=:db_update_placeholder_0 WHERE (module = :db_condition_placeholder_0) AND (delta = :db_condition_placeholder_1) ; Array ( [:db_update_placeholder_0] => syndicate [:db_condition_placeholder_0] => node [:db_condition_placeholder_1] => 0 ) in update_fix_d7_block_deltas() (line 349 of /home5/public_html/includes/update.inc).

contact module
Update #7002

    * Failed: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'module' in 'where clause': SELECT 1 AS expression FROM {role_permission} role_permission WHERE ( (rid = :db_condition_placeholder_0) AND (permission = :db_condition_placeholder_1) AND (module = :db_condition_placeholder_2) ) FOR UPDATE; Array ( [:db_condition_placeholder_0] => 2 [:db_condition_placeholder_1] => access user contact forms [:db_condition_placeholder_2] => contact ) in contact_update_7002() (line 128 of /home5/public_html/modules/contact/contact.install).

Branjawn’s picture

16 hours, no help. discouraging.

Remon’s picture

Still apparent? could you test with D7.0?

hershel’s picture

Version: 7.0-rc3 » 7.0
Component: other » contact.module

I am starting work on upgrading a large site from D6-D7 and first time I ran the update (offline of course!) I also get this same error:

 * Failed: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown
    column 'module' in 'where clause': SELECT 1 AS expression FROM
    {role_permission} role_permission WHERE ( (rid =
    :db_condition_placeholder_0) AND (permission = :db_condition_placeholder_1)
    AND (module = :db_condition_placeholder_2) ) FOR UPDATE; Array (
    [:db_condition_placeholder_0] => 2 [:db_condition_placeholder_1] => access
    user contact forms [:db_condition_placeholder_2] => contact ) in
    contact_update_7002() (line 128 of
    /srv/http/D.7/modules/contact/contact.install).

I disabled all non-core modules before the upgrade. Aside from that it worked fine.

hershel’s picture

StatusFileSize
new340 bytes

The attached patch (just removes one line) fixed this issue for me.

dave reid’s picture

Version: 7.0 » 7.0-rc3
Component: contact.module » other
frank ralf’s picture

Just for the record and some general considerations regarding multisite upgrades: Multisite upgrade documentation

pfrenssen’s picture

Status: Active » Closed (fixed)

Closing this old support issue. Please feel free to reopen if you still require assistance with this.