The component I just installed opens.
404 Component Not Found
The problem persists throughout the cache time. If I go to System, Clear Cache and clear the Administrator cache it works. Therefore the problem is definitely related to the global cache.
Irrelevant, but here you go:
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.18-0ubuntu0.17.04.1, Copyright (c) 1999-2017, by Zend Technologies
with Xdebug v2.5.0, Copyright (c) 2002-2016, by Derick Rethans
This information is irrelevant since another site without global caching worked perfectly. Also see comments above regarding deleting the cache making it work just fine...
Nearly three years ago in Joomla Bug Sprint 2014 in Manchester we had fixed a series of similar bugs with modules and plugins. I remember that because @brianteeman was counting down the last 5' while I was racing against his countdown to write the patch and send the PR
Labels |
Added:
?
|
Category | ⇒ | com_cache Plugins |
Am I correct in assuming that if my post-installation script clears the _system cache in both sides of the application the problem I experienced would be solved?
Yes. JComponentHelper::load()
caches the component data in the _system
group. If you're doing something with plugins, JPluginHelper::load()
uses the com_plugins
group.
Thank you. I will modify all my post-installation scripts since I have to still support Joomla! 3.4.0 to 3.7.1.
Status | New | ⇒ | Discussion |
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-05-21 07:36:20 |
Closed_By | ⇒ | nikosdion |
I can confirm that the problem was reproducible on other environments with the defining parameter being the use of caching in Global Configuration. I can also confirm that cleaning the cache in my post-installation script as discussed above does solve the problem. Finally, applying gh-15606 also solves the problem without the workaround. So indeed it's a caching issue and gh-15606 solves it. I am therefore closing this issue.
Why anything is ever cached in the administration is beyond me