I have made only one configuration change which was the following
$db_url = 'mysqli://username:password@mysqlserver/databasename';
$db_prefix = array(
'default' => 'default_',
'authmap' => 'drupal_shared_',
'profile_fields' => 'drupal_shared_',
'profile_values' => 'drupal_shared_',
'role' => 'drupal_shared_',
'sessions' => 'drupal_shared_',
'users' => 'drupal_shared_',
'users_roles' => 'drupal_shared_',
);
But this then shows the following errors in the admin area:
* warning: preg_match() expects parameter 2 to be string, array given in /mnt/stor1-wc1-dfw1/376823/www.hackedmedia.com/web/content/includes/common.inc on line 492.
* warning: preg_match() expects parameter 2 to be string, array given in /mnt/stor1-wc1-dfw1/376823/www.hackedmedia.com/web/content/includes/common.inc on line 492.
and the php logs show