Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Catalogs.js again not found

Vote:
 

Hi all,

I upgraded our EPiServer CMS and Commerce Manager to the latest version. Current versions

After that we noticed that CMS edit mode wasn't loaded correctly. A screen was blank and the following error message was in a console:

GET http://sryzhov:17000/UI/Shell/8.6.1.0/ClientResources/epi-ecf-ui/component/Catalogs.js 404 (Not Found)req.injectUrl @ dojo.js:15_32 @ dojo.js:15_9 @ dojo.js:15(anonymous function) @ dojo.js:15_37 @ dojo.js:15_77 @ dojo.js:15_16 @ dojo.js:15req @ dojo.js:15(anonymous function) @ widgets.js:2lang.hitch @ dojo.js:15_2f2 @ dojo.js:15_2f1.then._2ff.then @ dojo.js:15_5e3.createWidgets @ widgets.js:2_dd4.createComponents @ widgets.js:2(anonymous function) @ widgets.js:2_2f2 @ dojo.js:15_2ec @ dojo.js:15_2f1.resolve @ dojo.js:15_2f2 @ dojo.js:15_2ec @ dojo.js:15_2f1.resolve @ dojo.js:15(anonymous function) @ widgets.js:2lang.hitch @ dojo.js:15_2f2 @ dojo.js:15_2ec @ dojo.js:15_2f1.resolve @ dojo.js:15_2f2 @ dojo.js:15_2ec @ dojo.js:15_2f1.resolve @ dojo.js:15(anonymous function) @ widgets.js:2_2f2 @ dojo.js:15_2ec @ dojo.js:15_2f1.resolve @ dojo.js:15_2f8 @ dojo.js:15_2f9 @ dojo.js:15_2f2 @ dojo.js:15_2f1.then._2ff.then @ dojo.js:15_2f2 @ dojo.js:15_2ec @ dojo.js:15_2f1.resolve @ dojo.js:15_2f8 @ dojo.js:15_2f9 @ dojo.js:15_2cd @ dojo.js:15_2cb @ dojo.js:15dojo.Deferred.resolve.callback @ dojo.js:15_2cd @ dojo.js:15_2cb @ dojo.js:15dojo.Deferred.resolve.callback @ dojo.js:15_2cd @ dojo.js:15_2cb @ dojo.js:15dojo.Deferred.resolve.callback @ dojo.js:15_2cd @ dojo.js:15_2cb @ dojo.js:15dojo.Deferred.resolve.callback @ dojo.js:15_2cd @ dojo.js:15_2cb @ dojo.js:15dojo.Deferred.resolve.callback @ dojo.js:15(anonymous function) @ dojo.js:15_2f2 @ dojo.js:15_2ec @ dojo.js:15_2f1.resolve @ dojo.js:15_2f8 @ dojo.js:15_2f2 @ dojo.js:15_2ec @ dojo.js:15_2f1.resolve @ dojo.js:15_2f8 @ dojo.js:15_2f2 @ dojo.js:15_2ec @ dojo.js:15_2f1.resolve @ dojo.js:15_2f8 @ dojo.js:15_2f2 @ dojo.js:15_2ec @ dojo.js:15_2f1.resolve @ dojo.js:15_4f2 @ dojo.js:15_4fe @ dojo.js:15
dojo.js:15 Error: scriptError
    at _f (http://sryzhov:17000/UI/Shell/8.6.1.0/ClientResources/dojo/dojo.js:15:436)
    at HTMLScriptElement. (http://sryzhov:17000/UI/Shell/8.6.1.0/ClientResources/dojo/dojo.js:15:17745)(anonymous function) @ dojo.js:15(anonymous function) @ dojo.js:15_9 @ dojo.js:15req.signal @ dojo.js:15(anonymous function) @ dojo.js:15
widgets.js:2 Error: scriptError
    at _f (dojo.js:15)
    at HTMLScriptElement. (dojo.js:15)(anonymous function) @ widgets.js:2(anonymous function) @ dojo.js:15_9 @ dojo.js:15req.signal @ dojo.js:15(anonymous function) @ dojo.js:15
widgets.js:2 Error: scriptError
    at _f (dojo.js:15)
    at HTMLScriptElement. (dojo.js:15)(anonymous function) @ widgets.js:2_2f2 @ dojo.js:15_2ec @ dojo.js:15_30a.reject @ dojo.js:15_2cd @ dojo.js:15_2cb @ dojo.js:15dojo.Deferred.reject.errback @ dojo.js:15(anonymous function) @ widgets.js:2(anonymous function) @ dojo.js:15_9 @ dojo.js:15req.signal @ dojo.js:15(anonymous function) @ dojo.js:15
widgets.js:2 Error: scriptError
    at _f (dojo.js:15)
    at HTMLScriptElement. (dojo.js:15)

Shell modules from debug information /UI/Shell/Debug/ShellModules

[ShellModule Name='App' RouteBasePath='modules/' ResourceBasePath='/' ClientResourcePath='/ClientResources/' Assemblies=[] Controllers=undefined]
Name: App
Controllers: System.Collections.Generic.List`1[System.Type]
Assemblies: System.Collections.Generic.List`1[System.Reflection.Assembly]
Manifest: EPiServer.Shell.Configuration.ShellModuleManifest
RouteBasePath: modules/
ResourceBasePath: /
ClientResourcePath: /ClientResources/
[ShellModule Name='OurProject' RouteBasePath='modules/' ResourceBasePath='/modules/OurProject/' ClientResourcePath='/modules/OurProject/' Assemblies=[OurProject.OurProject.Portal] Controllers=[DigitalDownloadManagerController, BaseCheckController, MultipleSiteController, ApproveCheckController, CacheManagerController, CollaborationCheckController, CommerceCheckController, LanguageHandlingCheckController, PunchoutCheckController, SingleSignOnCheckController]]
Name: OurProject
Controllers: System.Collections.Generic.List`1[System.Type]
Assemblies: System.Collections.Generic.List`1[System.Reflection.Assembly]
Manifest: EPiServer.Shell.Configuration.ShellModuleManifest
RouteBasePath: modules/
ResourceBasePath: /modules/OurProject/
ClientResourcePath: /modules/OurProject/
[ShellModule Name='OurProject' RouteBasePath='modules/' ResourceBasePath='/modules/OurProject/' ClientResourcePath='/modules/OurProject/' Assemblies=[OurProject.OurProject.MVC.OurProject] Controllers=undefined]
Name: OurProject
Controllers: System.Collections.Generic.List`1[System.Type]
Assemblies: System.Collections.Generic.List`1[System.Reflection.Assembly]
Manifest: EPiServer.Shell.Configuration.ShellModuleManifest
RouteBasePath: modules/
ResourceBasePath: /modules/OurProject/
ClientResourcePath: /modules/OurProject/
[ShellModule Name='EPiServer.Commerce.Shell' RouteBasePath='UI/' ResourceBasePath='/UI/Commerce/Shell/' ClientResourcePath='/UI/Commerce/Shell/' Assemblies=[] Controllers=[]]
Name: EPiServer.Commerce.Shell
Controllers: System.Collections.Generic.List`1[System.Type]
Assemblies: System.Collections.Generic.List`1[System.Reflection.Assembly]
Manifest: EPiServer.Shell.Configuration.ShellModuleManifest
RouteBasePath: UI/
ResourceBasePath: /UI/Commerce/Shell/
ClientResourcePath: /UI/Commerce/Shell/
[ShellModule Name='Common' RouteBasePath='UI/' ResourceBasePath='/EPiServerCommon/' ClientResourcePath='/EPiServerCommon/' Assemblies=[EPiServer.Common.Gadgets] Controllers=[AbuseReportController, ApprovalController]]
Name: Common
Controllers: System.Collections.Generic.List`1[System.Type]
Assemblies: System.Collections.Generic.List`1[System.Reflection.Assembly]
Manifest: EPiServer.Shell.Configuration.ShellModuleManifest
RouteBasePath: UI/
ResourceBasePath: /EPiServerCommon/
ClientResourcePath: /EPiServerCommon/
[ShellModule Name='EPiServer.Commerce.Shell.ManagerIntegration' RouteBasePath='UI/' ResourceBasePath='/UI/Commerce/Manager/' ClientResourcePath='/UI/Commerce/Manager/' Assemblies=[] Controllers=undefined]
Name: EPiServer.Commerce.Shell.ManagerIntegration
Controllers: System.Collections.Generic.List`1[System.Type]
Assemblies: System.Collections.Generic.List`1[System.Reflection.Assembly]
Manifest: EPiServer.Shell.Configuration.ShellModuleManifest
RouteBasePath: UI/
ResourceBasePath: /UI/Commerce/Manager/
ClientResourcePath: /UI/Commerce/Manager/
[ShellModule Name='UI' RouteBasePath='UI/' ResourceBasePath='/UI/UI/' ClientResourcePath='/UI/UI/' Assemblies=[OurProject.OurProject.MVC.UI] Controllers=[CommerceLogfilesController, LogfilesController, ScriptTaskController, SystemCheckController]]
Name: UI
Controllers: System.Collections.Generic.List`1[System.Type]
Assemblies: System.Collections.Generic.List`1[System.Reflection.Assembly]
Manifest: EPiServer.Shell.Configuration.ShellModuleManifest
RouteBasePath: UI/
ResourceBasePath: /UI/UI/
ClientResourcePath: /UI/UI/
[ShellModule Name='Commerce' RouteBasePath='UI/' ResourceBasePath='/UI/Commerce/' ClientResourcePath='/UI/Commerce/8.16.1.916/' Assemblies=[EPiServer.Business.Commerce, EPiServer.Commerce.UI] Controllers=[SalesCampaignController, CmoGadgetController, BuyNFromCategoryGetCheapestFreeController, MigrateController, OrderGadgetController, OverviewController]]
Name: Commerce
Controllers: System.Collections.Generic.List`1[System.Type]
Assemblies: System.Collections.Generic.List`1[System.Reflection.Assembly]
Manifest: EPiServer.Shell.Configuration.ShellModuleManifest
RouteBasePath: UI/
ResourceBasePath: /UI/Commerce/
ClientResourcePath: /UI/Commerce/8.16.1.916/
[ShellModule Name='Shell' RouteBasePath='UI/' ResourceBasePath='/UI/Shell/' ClientResourcePath='/UI/Shell/8.6.1.0/' Assemblies=[EPiServer.Shell, EPiServer.Shell.UI, EPiServer.ApplicationModules] Controllers=[EPiDashboardController, EPiLicensingController, EPiMetadataManagerController, EPiAboutController, EPiDebugController, EPiSettingsController, EPiResourcesController, EPiSearchController, EPiDefaultShellModuleController, PreviewUnavailableController, VisitorGroupsStatisticsController, ComponentCategoryStore, ComponentDefinitionStore, ComponentSortOrderStore, ComponentStore, ContextStore, LicenseInformationStore, SearchResultStore, SearchProviderStore, ProfileStore, SelectionQueryStore, UIDescriptorStore, MetadataStore]]
Name: Shell
Controllers: System.Collections.Generic.List`1[System.Type]
Assemblies: System.Collections.Generic.List`1[System.Reflection.Assembly]
Manifest: EPiServer.Shell.Configuration.ShellModuleManifest
RouteBasePath: UI/
ResourceBasePath: /UI/Shell/
ClientResourcePath: /UI/Shell/8.6.1.0/
[ShellModule Name='CMS' RouteBasePath='UI/' ResourceBasePath='/UI/CMS/' ClientResourcePath='/UI/CMS/8.6.1.0/' Assemblies=[EPiServer.Cms.Shell.UI, EPiServer.UI, EPiServer] Controllers=[DefaultMediaPreviewController, ImageEditController, VideoEditController, ProjectItemStore, ProjectStore, DisplayOptionsStore, FileUploadController, LanguageStore, WorkflowTaskStore, ChannelStore, WasteBasketStore, ContentReferenceStore, XFormStore, SiteStructureStore, VisitorGroupStore, InUseNotificationStore, ContentTypeStore, ContentDataStore, EPiExternalLinksController, EPiNotesController, EPiRSSReaderController, PropertyRenderController, CategoryStore, ContentVersionStore, ContentStructureStore, EPiAboutController, EPiXFormsViewerController, EPiBrokenLinksController, VisitedCategoriesController, GeographicController, GeographicLocationController, VisitorGroupMembershipController, VisitorGroupsController, UserProfileController]]
Name: CMS
Controllers: System.Collections.Generic.List`1[System.Type]
Assemblies: System.Collections.Generic.List`1[System.Reflection.Assembly]
Manifest: EPiServer.Shell.Configuration.ShellModuleManifest
RouteBasePath: UI/
ResourceBasePath: /UI/CMS/
ClientResourcePath: /UI/CMS/8.6.1.0/

I have tried previously discussed solutions. Edit mode is still not open.
http://world.episerver.com/Modules/Forum/Pages/thread.aspx?id=82719
http://world.episerver.com/forum/developer-forum/EPiServer-7-CMS/Thread-Container/2013/2/Catalogsjs-not-found-error/

Somebody faced a similar issue in the latest version?

#133236
Aug 28, 2015 12:12
Vote:
 

I found the solution. Modules are depend of each other and their load causes an error. If you do not need any special configuration for some module then automatically initializing a good solution for you.

<protectedModules rootPath="~/path/to/UI/" autoDiscovery="Modules">
</protectedModules>
#133281
Sep 01, 2015 8:44
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.