Installed > added block to sidebar> block said
You are masquerading as webmaster.
Quick switches:
Switch back

which is not quite right as user1 IS webmaster > clicked switch back and got:

Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of D:\xampp\htdocs\d7school1\includes\entity.inc).
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))' at line 1: SELECT base.uid AS uid, base.name AS name, base.pass AS pass, base.mail AS mail, base.theme AS theme, base.signature AS signature, base.signature_format AS signature_format, base.created AS created, base.access AS access, base.login AS login, base.status AS status, base.timezone AS timezone, base.language AS language, base.picture AS picture, base.init AS init, base.data AS data FROM {users} base WHERE (base.uid IN ()) ; Array ( ) in DrupalDefaultEntityController->load() (line 196 of D:\xampp\htdocs\d7school1\includes\entity.inc).

Went back to site and overwrote dev module with RC1 module
still same issue

FYI

CommentFileSizeAuthor
#1 1087744-masquerade-d6-updates.patch3.87 KBandypost
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

andypost’s picture

Status: Active » Fixed
FileSize
3.87 KB

Issue caused by old-style D6 updates in D7 branch. Fixed queries to DBTNG

Suppose we should latter remove D6 updates from D7 .install file

Commited patch http://drupalcode.org/project/masquerade.git/commit/e0546e1

Tebb’s picture

Works for me.

Great stuff!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit e0546e1 on master, 8.x-2.x, 8.x-2.x-admin-menu, 8.x-1.x-1836516 by andypost:
    Issie #1087744 by me: Fix D6 updates in in D7 install.
    
    

  • Commit e0546e1 on master, 8.x-2.x, 8.x-2.x-admin-menu, 8.x-1.x-1836516 by andypost:
    Issie #1087744 by me: Fix D6 updates in in D7 install.