-
- 40 Posts
Have had quite a nightmare dealing with two hacked sites and various issues with glitches in restored backups such as date times zone and PHP versions / package manager failing to install.
I'm now seeing light at the end of the tunnel and the only annoying leftover is having renamed ht.access to .htaccess in the Core the News and Security desktop widgets just sit there trying to load ?
Any ideas?
-
- 24,544 Posts
This can happen if you have another dashboard widget with an error in it that loads before the feeds do.
You can modify the widgets loaded in the modx_dashboard_widget_placement table of the DB. I would just delete all the widget records. That shouldn't remove any widgets, it should just not place them on any dashboards.
Another possibility is that the feeds URL has been altered. You can turn them off temporarily to see if it helps in the modx_system_settings table (change the 1 to a 0 in the value field):
feed_modx_news_enabled
feed_modx_security_enabled
While you're there, you can take a look at the URLs:
feed_modx_news
feed_modx_security
You can also take a look at the error log: core/cache/logs/error.log. See if anything there offers a clue.
-
- 40 Posts
I did test in a couple of browsers but must be something to do with browser cache etc as I tried Microsoft Edge which I never use and Yes it was all working!
-
- 322 Posts
I had to edit the URLs for "news" and "security" in the system settings, changing "http://" to "https://" to make them work again.
-
- 24,544 Posts
If the new version is changing the feed URLs to http://, that would be a bug that should be reported. I see they are http:// at Bob's guides now. That caused no trouble because I have the feeds turned off.
[Update] I see they are http:// in MODX 2.6.3. Maybe the feed site was rewriting them and is no longer doing so? Upgrades to MODX should definitely change them to https:// (or just //).
[ed. note: BobRay last edited this post 5 years, 8 months ago.]
-
- 1 Posts
I'm seeing this problem too. I upgraded from 2.6.0 directly to 2.6.5 without doing the intermediate releases and I'm also finding those two feed widgets aren't working. No clues in the chrome dev tools - it seems to be loading everything correctly and not throwing any errors in the console. Meanwhile the modx error log offers no clues.
I can turn the feeds off - but that means I might miss important updates like the news about the attacks. How can this be solved?
Did you check what the URLs in the settings are set to, and made sure file permissions are correct as suggested @pixelonline?
-
- 132 Posts
I just experienced this issue. Works fine without .htaccess in core but not with it. This is also with manager running under https.
When I changed the URL on both new and security (see Bobs post for system keys) to be https and not http. It all started working.
So I suspect that the https has to match under those rules in the .htaccess
"One of these days I will get around to my own website... Its only been about 12 years... maybe tomorrow
"
-
- 24,544 Posts
It's quite possible that the suggested .htaccess in the core directory is interfering with the security feeds. I know it breaks Articles.
I prefer to move the core directory above the web root and rename it as described here:
https://docs.modx.com/revolution/2.x/administering-your-site/security/hardening-modx-revolution#HardeningMODXRevolution-core