Sharing user database permission
-
Hi, I have recently setup my second WordPress installation to use user database of my first wp installation. I have setup everything correctly and everything works, one problem is just that when I try to login to my second website with my admin account, I am getting this error: You do not have sufficient permissions to access this page. I know I should have replaced this line:
$this->cap_key = $wpdb->prefix . 'capabilities';
in my second wordpress installation’s
wp-includes/capabilities.php
withif (defined ('CUSTOM_CAPABILITIES_PREFIX')) { $this->cap_key = CUSTOM_CAPABILITIES_PREFIX . 'capabilities'; } else { $this->cap_key = $wpdb->prefix . 'capabilities'; }
but there is no such line in capabilities.php in the new wordpress version. Any ideas what might help? I only found several old tutorials.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Sharing user database permission’ is closed to new replies.