ReferenceErrors and 404 Not founds when loading Media Library

Robert Locicero asked on September 21, 2023 16:32

We have just upgraded to Kentico Hotfix 11.0.49 and are having problems, when loading a CMS page or a library tab, the console will repeatedly output.

Failed to load resource: the server responded with a status of 404 (Not Found) GetResource.ashx:1

but eventually, the CMS or selected tab will load but only after a certain period of time from a few seconds to even minutes.

As for the media library, the tab content won't load right away, and if I click on another tab like "General" this happens

Uncaught Reference Error: Tabs is not defined
at SelTab
at HTMLLIElement.onclick

Lastly, when the media library finally does load the names are truncated. https://imgur.com/a/JbRuKCy

I've tried clearing the cache through Chrome's settings, as well as checking "Disable Cache" in Chrome Dev Tools.

Recent Answers


Brenden Kehren answered on September 21, 2023 21:19

This is most likely a javascript issue. If there were javascript updates for the media library, then your best solution is to clear the browser cache and refresh the page so it grabs the most recent, uncached version of javascript.

0 votesVote for this answer Mark as a Correct answer

Robert Locicero answered on September 21, 2023 21:24

I've tried clearing the cache through Chrome's settings, as well as checking "Disable Cache" in Chrome Dev Tools and wasn't able to get any difference in whats happening.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on September 21, 2023 21:26

Kentico utilizes iFrames very heavily, so you may need to click within the iframe in the center of the UI (to the right of the content tree) and refresh the frame from there. 99% of these issues are due to javascript caching after an upgrade or hotfix.

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on September 22, 2023 05:57

What were the upgrade steps and actions you made? Were the Upgrade Start and Finish events logged in the Event log? And no errors between them?

0 votesVote for this answer Mark as a Correct answer

Jono Rickard answered on September 27, 2023 00:43

Heya Robert, I would check the CMS directories for .old/.new JS files.

If your project made modifications to the kentico JS, the hotfix might be waiting for you to resolve the conflict.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.