menno.zeilstra
Apr 2, 2014
  1373
(2 votes)

Getting “Site Only contains Core Files” when Language resources are altered in a bad way.

Starting with a perfectly good working site, some languages need to be added in the Views.xml to support them. These languages are Japanese, Korean, Vietnamese, Kazakh, Malay etc. When adding those languages us programmers immediately think of the corresponding Top Level domain names for those countries as the Language id : jp, kr, vn, kk, and my. In this list only the kk turns out to be correct. They should be ja, ko,vi, kk and ms.

When this file with the wrong id’s gets deployed to an EPiServer 7.1 site the site will display “This site only contains core files” grey screen. I think it is because the initialization ends in an exception. It would be nice if this exception bubbles up and be displayed. This blog post serves as a warning to check your language id’s and not rely on your knowledge of top level domain names.

Apr 02, 2014

Comments

Please login to comment.
Latest blogs
PageCriteriaQueryService builder with Blazor and MudBlazor

This might be a stupid idea but my new years resolution was to do / test more stuff so here goes. This razor component allows users to build and...

Per Nergård (MVP) | Feb 10, 2025

Enhancing Optimizely CMS Multi-Site Architecture with Structured Isolation

The main challenge of building an Optimizely CMS website is to think about its multi site capabilities up front. Making adjustment after the fact c...

David Drouin-Prince | Feb 9, 2025 | Syndicated blog

How to: set access right to folders

Today I stumped upon this question Solution for Handling File Upload Permissions in Episerver CMS 12, and there is a simple solution for that Using...

Quan Mai | Feb 7, 2025 | Syndicated blog

Poking around in the new Visual Builder and the SaaS CMS

Early findings from using a SaaS CMS instance and the new Visual Builder grids.

Johan Kronberg | Feb 7, 2025 | Syndicated blog