I have a site with 2 multi site like


All sites have same drupal 7 code base. and I shared all users successfully across all portals.

my setting file for sub-site looks like this

$main_database_prefix = 'abc.com.';
$current_database = 'xyz';
$databases = array (
  'default' =>
  array (
    'default' =>
    array (
      'database' => $current_database,
      'username' => 'xxxx',
      'password' => 'xxxx',
      'host' => 'localhost',
      'port' => '',
      'driver' => 'mysql',
      'prefix' => array(
              'default'   => '',
              'users'     => $main_database_prefix,
              'sessions'  => $main_database_prefix,
              'role'      => $main_database_prefix,
          'role_permission'      => $main_database_prefix,
              'users_roles'   => $main_database_prefix,
              'user_ips'   => $main_database_prefix,
              'user_profile_details' => $main_database_prefix,
              'price' => $main_database_prefix,
              'transaction' => $main_database_prefix,
          'db_roles' => $main_database_prefix,
          'authmap'=> $main_database_prefix,


all tables working properly , except


I can not see these fields on registration page or in backend The only difference is these table are entity reference table.

I googled things a lot for this but no success.

Thanks in advance.


I resolved the issue by adding 2 more tables

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.