I’m trying to setup a multi site Kirby instance. I’ve followed the cookbook but it’s not quite working yet.
I’ve taken an existing kirby site and the plainkit and put them in two folders, and on both pages the same errors appear.
The pages are displayed but nothing from the media directories is served. This seems to be related to the uuids, since the uuids kirby is trying to call do not exist - the files are stored with other uuids.
But even with matching uuids it does not work. I can’t open the panel because none of the content in
pageA/media/panel/4c7…/ is being served, the network tab simply says “connection refused”. What do I need to change?
I also needed to replace all asset paths like 'assets/css/...' and 'assets/js/... in the css() and js() helpers with <?= $kirby->root('assets')?> . ‘/css/…’, not sure if this is intended?
Thanks for any help. I’m happy to provide more info to debug this.
Ah, my bad.
Anyways, I’ve found the problem when I tried again on a webserver: The index.php from the recipe sets the url to http, but something (browser? kirby? I don’t know) tries to enforce https, blocking the media requests. Changing it to https fixed the problem for me.