Go to /administrator/index.php?option=com_cache&view=purge
A page
404 View not found [name, type, prefix]: purge, html, Administrator
Labels |
Added:
?
|
Labels |
Added:
?
|
Status | New | ⇒ | Discussion |
@brianteeman Ah, I think the issue is that I'm using the Modern
menu preset, whereas the default is set to Joomla
. I suppose the items simply need removing from the other preset
the presets havent been touched afaict
We have exactly the same error when we use the joomla preset and click in the System dashboard on the "Clear Expired Cache".
Is there any reason why this view is no more in J4?
@infograf768 May have been merged into a single view? Not sure
Hmm, it is not in the cache view and the functionnality was quite different.
The purge method is still present in CacheModel and Controller.
Help on this for 3.x is https://help.joomla.org/proxy?keyref=Help39:Site_Maintenance_Purge_Expired_Cache&lang=en:
This tool will purge all expired cache files from the cache folders. Cache files are temporary files that are created to improve the performance of your site. Cache files that are still current according to what Joomla! finds will not be deleted.
Because this process has to check each cache file individually, it is slower and requires more system resources. Once the purge process is complete there should be no loss in speed for your users, because all up to date cache files are still available for your current Joomla! website.
In contrast, the Clear Cache option runs more quickly since it deletes all of the files stored in each cache folder. However, the website may be a little slower immediately after running Clean Cache, since all cache files -- including current ones -- are removed, so users lose the benefit of using the cache files until they are re-created by Joomla! to be up to date with your current site.
If you have a large number of cache files and your server setting for 'max_input_time' is set to less then 60 seconds, you may receive a PHP warning message saying that the process exceeded the maximum time allowed. In this case, no harm is done but all of the files may not have been purged. It is ok simply to re-run the process.
OK, found it.
there is a mistake in cache view.html code
we should have
$toolbar = Toolbar::getInstance('toolbar');
and not
$toolbar = Factory::getContainer()->get(ToolbarFactoryInterface::class)->createToolbar('toolbar');
Thereafter we can see the button
Therefore we should correct that and take off from the Presets the part concerning the purge link (or change the link to be the same as Clear Cache);
i still get View not found [name, type, prefix]: purge, html, Administrator
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-08-24 08:08:12 |
Closed_By | ⇒ | infograf768 |
Relevant PR that broke this #24077 ??