We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

After updating to EE5.3.2, cannot edit pages. picker/selector module stuck on Loading

How Do I?

Denis's avatar
Denis
4 posts
4 years ago
Denis's avatar Denis

I updated from EE3.5.10 to EE5.3.2. Everything appeared to be working great, until I went to edit a page. Any page that uses the filepicker module - e.g. we have the Expandable Info Boxes and the Banner Images, can no longer be edited.

The edit page appears fine except where the “Image” component would be (for Expandable Info Boxes and the Banner Images) it simply says “Loading …”. It never gets out of this state. If I try to “Save” changes to the page, it does not work.

I can’t see find any error messages or warnings. I checked the XHR monitor tab in the Chrome Developer Tools, and it doesn’t show anything.

UPDATE The bug is not specific to the filepicker. If I go to the “Categories” tab of “Edit Entry”, the “Categories” picker similarly is stuck on “Loading…” (I added some Categories to see if that would help the below issue).

PROBABLY UNRELATED There is one error that is displayed in the Developer Tools but not sure if it’s related:

frostbite.php?S=0&D=…ish&v=1503030584:51 Uncaught TypeError: Cannot read property 'auto_assign_parents' of undefined
   at HTMLDocument.<a> (frostbite.php?S=0&D=…ish&v=1503030584:51)
    at c (jquery.js?v=1503030551:3)
    at Object.fireWith [as resolveWith] (jquery.js?v=1503030551:3)
    at Function.ready (jquery.js?v=1503030551:3)
    at HTMLDocument.s (jquery.js?v=1503030551:2)
  (anonymous) @ frostbite.php?S=0&D=…ish&v=1503030584:51
  c @ jquery.js?v=1503030551:3
  fireWith @ jquery.js?v=1503030551:3
  ready @ jquery.js?v=1503030551:3

Coming from this code:

"y" == EE.category.auto_assign_parents && $("body").on("click", 'input[name^="categories"]:checkbox', function() {
    $(this).is(":checked") || $(this).parents("li").first().find("input:checkbox").prop("checked", !1).trigger("change"),
    $(this).is(":checked") && $(this).parents("li").find("> label input:checkbox").prop("checked", !0).trigger("change")
}),
       
Denis's avatar
Denis
4 posts
4 years ago
Denis's avatar Denis

I think the error message about categories is unrelated. I noticed that the page is not assigned to a category, and there are no categories that exist in the site. So to see if adding a category would help, I went ahead and added a Category Group and a Category.

The Category edit page has the exact same symptom, though no error messages in the Developer Tool. The “Image” section of the Edit Category page is stuck on “Loading…”., However, on this page it does not block me from saving.

       
Robin Sowell's avatar
Robin Sowell
13,158 posts
4 years ago
Robin Sowell's avatar Robin Sowell

It might be a mod_security issue- sometimes mod_security objects to the structure of ExpressionEngine javascript links. Check your js links and see if one gives you an error.

You can also try the patch in this pull request. This isn’t technically a bug, but it happened enough we decided to change a filename.

       
Denis's avatar
Denis
4 posts
4 years ago
Denis's avatar Denis

Thanks for the tip. I don’t think mod_security is installed, but it does look like there was a problem with the JS.

RESOLVED: It turns out this was related to (essentially) corruption in the themes/ee/ folder. I don’t know if the original upload of the EE5 files got aborted, or simply failed to replace some files, but when I downloaded the entire website and compared it against the original installation ZIP using windiff, I found discrepancies in “themes/ee/”. I force uploaded entire themes folder again, and the problem went away.

       
Robin Sowell's avatar
Robin Sowell
13,158 posts
4 years ago
Robin Sowell's avatar Robin Sowell

Nice catch- and thanks for letting us know what it was. Always a good call to grab a fresh themes download if all else fails!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.