We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1331
    • 129 Posts
    I have an installation with two parked domains. The manager is accessible thru either domain, however a context that I created while visiting through domain2.com/manager is not visible when I access the manager from domain1.com/manager.

    When I try to flush the cache, i get "Principal 2 does not have permission to load object of class modContext with primary key: domain2".

    Any ideas?
      • 1331
      • 129 Posts
      Nevermind. I’m not sure why it only gives me this error when accessed from domains other than the one used to create it. But I logged in with the main admin user and all is well.

      So I’m sure it’s simply a matter of permissions on the user (even though it’s the same user that created it).

      (shrugs)
        • 1331
        • 129 Posts
        Ok, I’ve got it.

        It appears that the cache needed to be cleared using an account that already has permissions for the context in question. That’s why the error would appear during cache clear in the example stated above. Because it was attempting to clear cached files that it doesn’t have permissions for.