No tenant for host
  • I followed the "local" install instructions, i created default tenant as well as another tenant. I installed the theme for respective tenant/organisation, but i get a:

    ==> /var/log/nginx/unimedia.altfel.md.error.log <== 2017/06/27 14:18:48 [error] 8481#0: *11325 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught SWP\Component\MultiTenancy\Exception\TenantNotFoundException: Tenant for host "unimedia.altfel.md" could not be found! in /var/www/unimedia.altfel.md/htdocs/app/cache/prod/classes.php:7705

    can you please give me more details on what am i doing wrong and how can i fix it? thank you.

    Post edited by Nalyk Calmis at 2017-06-27 11:28:48
  • 1 Comment sorted by
  • Vote Up0Vote Down Paweł MikołajczukPaweł Mikołajczuk
    Posts: 72Member, Sourcefabric Team
    Hey Nalyk, 

    Tetants are resolved by your domain/subdomain. in your case you should have in your tenant propert domain set to: altfel.md and subdomain set to: unimedia.

    You can manually change it in database (table swp_tenant).