Templating errors: No site configuration found for...
#1 by arjen on Oct 27, 2017 3:36:37 PM

Hi,

I'm running into a problem where, when trying to edit a certain pages in the admin central portal (but not all), the browser shows a blank editor page and downloads a dms file with the below error.

<!-- ERROR MESSAGE STARTS HERE --><script language=javascript>//"></script><script language=javascript>//'></script><script language=javascript>//"></script><script language=javascript>//'></script></title></xmp></script></noscript></style></object></head></pre></table></form></table></table></table></a></u></i></b><div align=left style='background-color:#FFFF00; color:#FF0000; display:block; border-top:double; padding:2pt; font-size:medium; font-family:Arial,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; text-transform: none'><b style='font-size:medium'>Template Error!</b><pre><xmp>

Error while rendering [/subsite/404] with template [my-templating-module:pages/fsSupplementary] for URI [/subsite/page?mgnlPreview=false&mgnlChannel=desktop]:
RenderException: java.lang.IllegalStateException: No site configuration found for [/subsite/404 [mgnl]]

</xmp></pre></div></html>


This is on a 5.4.5 EE server which has worked fine in the past (not sure when this started exactly). The server does use multisite and has 3 sites running, but I can't think of any reason why it would give an exception on the 404 page as that's not the page I'm trying to edit and besides, the 404 pages is not giving any errors itself.

The log files are also not very useful so if anybody has a suggestion how to troubleshoot this that would be great.

Thanks
Arjen