I have created sub domain as a multisite instance of main drupal site sharing same database but different table prefix. Now when I tried to enable shared login using this method http://drupal.org/node/147828, I got the following databse errors:
Warning: Table 'db_dpub1.users' doesn't exist query: SELECT u.*, s.* FROM db_dpub1.users u INNER JOIN db_dpub1.sessions s ON u.uid = s.uid WHERE s.sid = 'b7414bcfede268e3bc2505b10654144b' in /home2/user/public_html/includes/database.mysql.inc on line 128
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home2/user/public_html/includes/database.mysql.inc:128) in /home2/user/public_html/includes/bootstrap.inc on line 1029
Warning: Cannot modify header information - headers already sent by (output started at /home2/user/public_html/includes/database.mysql.inc:128) in /home2/user/public_html/includes/bootstrap.inc on line 630
Warning: Cannot modify header information - headers already sent by (output started at /home2/user/public_html/includes/database.mysql.inc:128) in /home2/user/public_html/includes/bootstrap.inc on line 631
Warning: Cannot modify header information - headers already sent by (output started at /home2/user/public_html/includes/database.mysql.inc:128) in /home2/user/public_html/includes/bootstrap.inc on line 632
Warning: Cannot modify header information - headers already sent by (output started at /home2/user/public_html/includes/database.mysql.inc:128) in /home2/user/public_html/includes/bootstrap.inc on line 633
I did everything as mentioned but still got the above mentioned errors. Please somebody help.
Comments
*_*
Check list
Make sure that,
1) for all your domains/sub-domains which share the db, have different table prefix in individual settings.php
2) If a table or two, shared by multiple domains/sub-domains, should not have any prefix.
3) Please leave a post about your experience over forum.
Regards.
Regards.
🪷 Beautifulmind
Yeay, all these domains and
Yeay, all these domains and sub domains have different table prefixes.
I think there is something to be done with SSH. Can you tell me how to execute the commands mentioned in the Multisite installation in SSH through cpanel.
thanks for replying
Any help will be appreciated.
Any help will be appreciated.