Search
Other Cache Cleaner questions
Forum

Query URL not working

Marc Leger's Avatar Marc Leger
Hi,

I have Cache Cleaner v9.5.1 [PRO] with Joomla 5.2.3. I have entered a Query URL that works in a tab on it's own but it does not seem to be triggered in Cache Cleaner.

Can anyone help or reproduce?

Thanks.
Peter van Westen's Avatar Peter van Westen ADMIN
Does that url redirect to a different url?
Can you check the browsers console to see if you get any javascript or network issues?
Please post a rating at the Joomla! Extensions Directory
Marc Leger's Avatar Marc Leger
Int's a local URL. Nothing in the console.

URL is something like this:
samedomain.com/index.php?option=com_xtdir4alg&task=cron&key=123
Peter van Westen's Avatar Peter van Westen ADMIN
Can you give me (super) admin and (s)ftp access so I can take a look?

You can use the 'Confidential information' button in the forum editor to hide sensitive information.
Please post a rating at the Joomla! Extensions Directory
Marc Leger's Avatar Marc Leger
Can I send the info by email instead ?
Peter van Westen's Avatar Peter van Westen ADMIN
No, you can communicate via this forum.
Please post a rating at the Joomla! Extensions Directory
Marc Leger's Avatar Marc Leger
Here's the info. Let me know if it's enough, if not I can give you cPanel access but SFTP, it's a bit more tricky.

Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
Try using the url it redirects to instead.
So: /en/?option=com_...
Please post a rating at the Joomla! Extensions Directory
Marc Leger's Avatar Marc Leger
Same thing. That was the initial URL.
Peter van Westen's Avatar Peter van Westen ADMIN
Seems to be working as far as I can see...
Please post a rating at the Joomla! Extensions Directory
Marc Leger's Avatar Marc Leger
I changed the title of an article from Testing 123 to Testing 456, and it did not update on this page:

Confidential information:
(hidden)


If I run it in a tab, it does update.
Peter van Westen's Avatar Peter van Westen ADMIN
I opened that page and saw "Testing 123". I clicked on the Cache Cleaner button, refreshed and saw "Testing 456"...
🤷🏻‍♂️
Please post a rating at the Joomla! Extensions Directory
Peter van Westen's Avatar Peter van Westen ADMIN
If you can't get it to work, then it seems that that xtdir4alg component refuses to clean its cache when it is called through php. Maybe some security thing in there. Not something I would be able to fix for you. I recommend you ask them why it would not do its thing when called via Joomla\CMS\Http\HttpFactory::getHttp()->get() method.
Please post a rating at the Joomla! Extensions Directory
Marc Leger's Avatar Marc Leger
Ah, it does not run unless I click the button, even if I have "Cleans the cache if you save (or apply) something" enabled.

Is it possible to have it run automatically when the article is saved ?
Peter van Westen's Avatar Peter van Westen ADMIN
The way it is set up now, it should clean it when saving too (when Cache Cleaner is triggered).
If that doesn't happen, I would need to dig into it and would need (s)ftp access to be able to do tests in the file system.
Please post a rating at the Joomla! Extensions Directory
Marc Leger's Avatar Marc Leger
Here are the info for cPanel, there's a file manager, let me know if that works.

Confidential information:
(hidden)


Thanks.
Peter van Westen's Avatar Peter van Westen ADMIN
Well, the url is correctly being queried when saving an article. The url gives a 200 (OK) response, with:
IndexController, run. All records have been indexed. - 2025-01-23 17:39:53
So Cache Cleaner seems to be doing what it should.
If calling that url (via Cache Cleaner) doesn't result in what you expect, you will have to contact the developers of that component.
Please post a rating at the Joomla! Extensions Directory
Marc Leger's Avatar Marc Leger
OK, thanks for your support.
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription