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

Control Panel not loading relationship or file fields

Development and Programming

artm's avatar
artm
1 posts
6 years ago
artm's avatar artm

Some of my channels are not loading pickers for relationship fields or file fields. When I noticed they had stopped working, I upgraded from 4.2.1 to 4.3.8 then to 5.2.0 in the hope that this would fix it, but to no avail.

In the control panel when looking at an entry in one channel, for example, the relationship field now just shows a loading bar when it previously displayed entries from another channel with selectable radio buttons.

When I enter the browser’s error console, it reports the following:

[Error] Failed to load resource: the server responded with a status of 403 () (index.php, line 0)

https://www.domain.com/system/index.php?S=60451489f00988546e96e5578f73b2e3&D=cp&C=javascript&M=combo_load&plugin=ui.touch.punch&file=cp/global_end,cp/files/picker,fields/textarea/cp,fields/relationship/mutable_relationship,fields/relationship/relationship,fields/file/cp,fields/file/file_field_drag_and_drop,fields/file/concurrency_queue,fields/file/file_upload_progress_table,fields/file/drag_and_drop_upload,fields/grid/file_grid,cp/date_picker&v=1552322086

[Obviously I have made the domain name and system folder name generic for this public post.]

The same error shows twice because on this page because this particular channel entry page has fields for a relationship picker and a file picker, both of which just display loading bars.

If it’s any help, the server is running PHP 7.0.33.

Any ideas anyone?

UPDATE: FIXED Thanks to Robin and, particularly, Kevin for the feedback. I contacted my host, the excellent Zen, armed with the idea that it might be a mod_security issue. Tim at Zen couldn’t spot any logs indicating that mod_security was being triggered by my IP address but asked that I leave the issue with him to explore further. The next morning I found that the issue was fixed. I don’t know yet what the issue was, but it was clearly something in the shared server environment rather than the ExpressionEngine installation. Thanks again everyone!

2nd UPDATE: The reason my IP address wasn’t showing in the logs was because we go through Cloudflare, so it seems that it was a mod_security issue. Thanks again for everyone’s help!

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

If you go to that url directly, does it load for you with the js or do you get the 403? And it’s only on some channels but not others?

       
Kevin Cupp's avatar
Kevin Cupp
791 posts
6 years ago
Kevin Cupp's avatar Kevin Cupp

With a 403 status code, you likely have mod_security enabled and need to relax the rule regarding log query strings.

       
twotone8's avatar
twotone8
11 posts
6 years ago
twotone8's avatar twotone8

I’m having a similar issue updating channel entries and believe it’s tied to mod_security with a shared bluehost account.

Every time i try to modify a channel field that links to a picture file, I get an infinite looping ‘loading…’ bar which never goes away. The console suggests a 406 error with the drag and drop file utility. I suppose I’m going to have to call bluehost and see if they can do anything about it, but it’s very very troublesome.

       
admin's avatar
admin
1 posts
5 years ago
admin's avatar admin

I have just installed the 5.3.0 version of EE, with the Default Site option, and am running into this problem. I am also on BlueHost shared, and have just gotten off support with them. They have turned off mod_security for my site, but I’m still having the same issue.

       

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.