I have a Drupal 7.59 site, with domain access
module installed and enabled. I have one domain called ‘en.one’ and one database called ‘english_com2016’. I added another domain to it called ‘au.one’ and it also uses the same database.
Everything works normally when the user is authenticated, however if the user is anonymous then they are not able to view published nodes, menus etc.
Ive rebuilt permissions, cleared caches, and I read somewhere that I need to setup user/permissions in admin/structure/domain/roles
and when I set the permissions settings and click save and view the node as an anonymous user, It takes ages to load the page and when I try to clear cache using drush I get “Site not found” error on the terminal, So I have to restart my apache and mysql to get the page to load but same thing happens when I visit another page say ‘au.one/node/246’ This is becoming a pain for my development.
To add on the admin/structure/domain/roles
page, I can see my new domain on the domains list and if I check all the boxes for the roles, then I get the unresponsive pdoException 1040 error and have to restart apache for the page to be viewable by anon user, but if I uncheck all the boxes for that domain for all roles, then everything works fine but get access denied for anon user.