No Code Attached Yet bug
avatar chmst
chmst
3 May 2024

Steps to reproduce the issue

Fresh installation on localhost, win 11, xampp, php 8.2.
Answer "yes I'll help Joomla" on statistic plugin.

Then:
https://github.com/joomla/joomla-cms/blob/5.2-dev/plugins/system/stats/src/Extension/Stats.php#L408
gives an empty result and the message

Exception: Access Denied

Expected result

No error message

Actual result

grafik

System information (as much as possible)

Additional comments

avatar chmst chmst - open - 3 May 2024
avatar joomla-cms-bot joomla-cms-bot - change - 3 May 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 May 2024
avatar chmst chmst - change - 3 May 2024
The description was changed
avatar chmst chmst - edited - 3 May 2024
avatar HLeithner
HLeithner - comment - 4 May 2024

haha, that's a really funny or better useless function...
No idea why we would like to "check" if it's a "xmlhttprequest" request, should this be a protection against automated scripts? clicking on a link per error? and if why?

beside that the plugin or parts of it should be converted to a scheduled task.

avatar brianteeman
brianteeman - comment - 4 May 2024

I "suspect" that this is because 5.2 is not yet a recorded version on the stats server and you should create a pr to update that their and this can be closed.

https://github.com/joomla/statistics-server/blob/c3f12a0cd304075b55e4dd5f2bafa5c161d2da14/versions/joomla.json#L1

avatar chmst chmst - change - 4 May 2024
Labels Added: bug
avatar chmst chmst - labeled - 4 May 2024
avatar HLeithner
HLeithner - comment - 4 May 2024

added it, does it help? (also added it to the documentation....)

avatar chmst chmst - change - 4 May 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-05-04 07:13:44
Closed_By chmst
avatar chmst chmst - close - 4 May 2024
avatar chmst
chmst - comment - 4 May 2024

Yes, it helps! Thank you.

avatar brianteeman
brianteeman - comment - 4 May 2024

glad it worked

Add a Comment

Login with GitHub to post a comment