GetFormInitScript:6 Uncaught ReferenceError: epi is not definedWebResource.axd:1 Uncaught ReferenceError: $$epiforms is not defined
The error is created because the @Html.RequiredClientResources(RenderingTags.Header) is empty.
My page inherits from PageController. I have both @Html.RequiredClientResources(RenderingTags.Header) and @Html.RequiredClientResources(RenderingTags.Footer) on the page. The contentarea is rendered on the page with @Html.PropertyFor(m => m.FirstArea).
The site is fully functional except this. It uses ImageVault, Siteseeker and Social Reach.
Is's a swedish site with swedish edit/admin mode.
ProtectedAddons is setup i Episerver.framework like this.
I have tried with a copy of the .config files from Alloy without success. I have also tried from an empty databse without luck.
I had the same problem. Solved it by adding a @RenderBody() to my layout. We only used @RenderSection and somehow the @Html.RequiredClientResources(RenderingTags.Header) happens before the FormContainerBlockController that is responsible for adding the client resourses when you do it that way.
Hello and thanks Malin . It worked perfectly with your solution.