Hello everyone,
I had a problem with Articles 1.4.7 after updating a MODX instance from 2.2.0-pl2 to the current version 2.2.6-pl. To test the update, I had to move my MODX instance to another path, just to be safe to do all needed testing.
After moving I noticed, that the Articles model class didn't load successfully any more. Looking at the error messages, I figured that it was still looking for it in the old path (that didn't even exist here), so it was not surprising that this happened. Grep-ing through my MODX directory, I got quite convinced, that I changed all paths as they should to work, but there was the key "extension_packages" in the system_settings table cache file. After changing the path in the system settings table and deleting the cache again, everything now seems to work as it should.
This was easy to fix, but not trivial to find, because I did not read anything about having to change "extension_packages" after moving your site. Also I was asking myself, why the full path is hard coded there in the first place? There should probably something get done about it.
With kind regards,
Marc
-
MODX Staff
- 10,725 Posts
This has been fixed in recent releases of Articles, but does not retroactively fix the path in existing installations. You'll need to fix it manually or uninstall your current and then reinstall a new version of Articles.
Thanks a lot for the quick answer!
You're right, I didn't try this with newer versions and it's great if this is fixed now, just wanted to let you know.
With kind regards,
Marc