Comments (14)
It works fine on my end. Could you enable error logging and check error_log for related messages?
I see that all four sections are related to XML parsing, so most likely it is related somehow.
from jedchecker.
Unfortunately there are no errors and my 'Error Reporting' is 'Maximum' and 'System Debug' is turned on. Nothing, not in everything.php nor in php_error.log. Using PHP 8.2.13 work all right and finishes a small extension, for example https://extensions.joomla.org/extension/table-of-contents-ck/ in three seconds, but using PHP 8.3.0 the JED Checker gets stuck in some loop. The Apache access.log has always the attached entries that always stop after "rule=language". Could it be caused by running the JED Checker in Windows 11? I have never had this type of issues with JED Checker.
127.0.0.1 - - [03/Dec/2023:20:42:17 +1100] "GET /administrator/index.php?option=com_jedchecker&task=police.check&format=raw&rule=xmlinfo HTTP/1.1" 200 985 127.0.0.1 - - [03/Dec/2023:20:42:18 +1100] "GET /administrator/index.php?option=com_jedchecker&task=police.check&format=raw&rule=jexec HTTP/1.1" 200 99 127.0.0.1 - - [03/Dec/2023:20:42:19 +1100] "GET /administrator/index.php?option=com_jedchecker&task=police.check&format=raw&rule=framework HTTP/1.1" 200 2969 127.0.0.1 - - [03/Dec/2023:20:42:20 +1100] "GET /administrator/index.php?option=com_jedchecker&task=police.check&format=raw&rule=errorreporting HTTP/1.1" 200 99 127.0.0.1 - - [03/Dec/2023:20:42:21 +1100] "GET /administrator/index.php?option=com_jedchecker&task=police.check&format=raw&rule=encoding HTTP/1.1" 200 99 127.0.0.1 - - [03/Dec/2023:20:42:22 +1100] "GET /administrator/index.php?option=com_jedchecker&task=police.check&format=raw&rule=jamss HTTP/1.1" 200 99 127.0.0.1 - - [03/Dec/2023:20:42:23 +1100] "GET /administrator/index.php?option=com_jedchecker&task=police.check&format=raw&rule=language HTTP/1.1" 200 99
from jedchecker.
And on the Network tab in the browser's Developer Tools, what is the status of these requests? Are they really hanging or just returning with an error?
Most likely writing to the access_log file is buffered, and you can see the remaining records by stopping the web server or waiting a while for the next piece of data to be written to be ready.
from jedchecker.
And what webserver do you use, Apache+mod_php or Nginx+FPM?
from jedchecker.
And what webserver do you use, Apache+mod_php or Nginx+FPM?
Web Server: Apache/2.4.54 (Win64) PHP/8.3.0 mod_fcgid/2.3.10-dev
WebServer to PHP Interface: apache2handler
from jedchecker.
Those requests did not receive any errors and they are pending. Apache server was stopped but no new error messages appeared in the php_error.log. The rest of the JED requests listed in JED Checker below the pending ones have the green tick.
from jedchecker.
Now we have type errors and net::ERR_CONNECTION_RESET messages in red in the Console tab of Developer Tools:
TypeError: Failed to fetch
at check (script.js?06b386f1e80b389948e46bb8cd6b684f:27:5)
at script.js?06b386f1e80b389948e46bb8cd6b684f:93:43
at Array.forEach (<anonymous>)
at window.Joomla.submitbutton (script.js?06b386f1e80b389948e46bb8cd6b684f:93:27)
at HTMLElement.executeTask (joomla-toolbar-button.min.js?6eb267679d65e41cc9fc4de7a56cf06e3b966e5b:4:1674)
(anonymous) @ script.js?06b386f1e80b389948e46bb8cd6b684f:58
Promise.catch (async)
check @ script.js?06b386f1e80b389948e46bb8cd6b684f:57
(anonymous) @ script.js?06b386f1e80b389948e46bb8cd6b684f:93
window.Joomla.submitbutton @ script.js?06b386f1e80b389948e46bb8cd6b684f:93
executeTask @ joomla-toolbar-button.min.js?6eb267679d65e41cc9fc4de7a56cf06e3b966e5b:4
script.js?06b386f1e80b389948e46bb8cd6b684f:27
GET http://joomla4test/administrator/index.php?option=com_jedchecker&task=police.check&format=raw&rule=xmlfiles net::ERR_CONNECTION_RESET
check @ script.js?06b386f1e80b389948e46bb8cd6b684f:27
(anonymous) @ script.js?06b386f1e80b389948e46bb8cd6b684f:93
window.Joomla.submitbutton @ script.js?06b386f1e80b389948e46bb8cd6b684f:93
executeTask @ joomla-toolbar-button.min.js?6eb267679d65e41cc9fc4de7a56cf06e3b966e5b:4
script.js?06b386f1e80b389948e46bb8cd6b684f:58 TypeError: Failed to fetch
at check (script.js?06b386f1e80b389948e46bb8cd6b684f:27:5)
at script.js?06b386f1e80b389948e46bb8cd6b684f:93:43
at Array.forEach (<anonymous>)
at window.Joomla.submitbutton (script.js?06b386f1e80b389948e46bb8cd6b684f:93:27)
at HTMLElement.executeTask (joomla-toolbar-button.min.js?6eb267679d65e41cc9fc4de7a56cf06e3b966e5b:4:1674)
(anonymous) @ script.js?06b386f1e80b389948e46bb8cd6b684f:58
Promise.catch (async)
check @ script.js?06b386f1e80b389948e46bb8cd6b684f:57
(anonymous) @ script.js?06b386f1e80b389948e46bb8cd6b684f:93
window.Joomla.submitbutton @ script.js?06b386f1e80b389948e46bb8cd6b684f:93
executeTask @ joomla-toolbar-button.min.js?6eb267679d65e41cc9fc4de7a56cf06e3b966e5b:4
script.js?06b386f1e80b389948e46bb8cd6b684f:27
GET http://joomla4test/administrator/index.php?option=com_jedchecker&task=police.check&format=raw&rule=xmlmanifest net::ERR_CONNECTION_RESET
check @ script.js?06b386f1e80b389948e46bb8cd6b684f:27
(anonymous) @ script.js?06b386f1e80b389948e46bb8cd6b684f:93
window.Joomla.submitbutton @ script.js?06b386f1e80b389948e46bb8cd6b684f:93
executeTask @ joomla-toolbar-button.min.js?6eb267679d65e41cc9fc4de7a56cf06e3b966e5b:4
script.js?06b386f1e80b389948e46bb8cd6b684f:58 TypeError: Failed to fetch
at check (script.js?06b386f1e80b389948e46bb8cd6b684f:27:5)
at script.js?06b386f1e80b389948e46bb8cd6b684f:93:43
at Array.forEach (<anonymous>)
at window.Joomla.submitbutton (script.js?06b386f1e80b389948e46bb8cd6b684f:93:27)
at HTMLElement.executeTask (joomla-toolbar-button.min.js?6eb267679d65e41cc9fc4de7a56cf06e3b966e5b:4:1674)
(anonymous) @ script.js?06b386f1e80b389948e46bb8cd6b684f:58
Promise.catch (async)
check @ script.js?06b386f1e80b389948e46bb8cd6b684f:57
(anonymous) @ script.js?06b386f1e80b389948e46bb8cd6b684f:93
window.Joomla.submitbutton @ script.js?06b386f1e80b389948e46bb8cd6b684f:93
executeTask @ joomla-toolbar-button.min.js?6eb267679d65e41cc9fc4de7a56cf06e3b966e5b:4
script.js?06b386f1e80b389948e46bb8cd6b684f:27
GET http://joomla4test/administrator/index.php?option=com_jedchecker&task=police.check&format=raw&rule=xmlupdateserver net::ERR_CONNECTION_RESET
check @ script.js?06b386f1e80b389948e46bb8cd6b684f:27
(anonymous) @ script.js?06b386f1e80b389948e46bb8cd6b684f:93
window.Joomla.submitbutton @ script.js?06b386f1e80b389948e46bb8cd6b684f:93
executeTask @ joomla-toolbar-button.min.js?6eb267679d65e41cc9fc4de7a56cf06e3b966e5b:4
script.js?06b386f1e80b389948e46bb8cd6b684f:58 TypeError: Failed to fetch
at check (script.js?06b386f1e80b389948e46bb8cd6b684f:27:5)
at script.js?06b386f1e80b389948e46bb8cd6b684f:93:43
at Array.forEach (<anonymous>)
at window.Joomla.submitbutton (script.js?06b386f1e80b389948e46bb8cd6b684f:93:27)
at HTMLElement.executeTask (joomla-toolbar-button.min.js?6eb267679d65e41cc9fc4de7a56cf06e3b966e5b:4:1674)
(anonymous) @ script.js?06b386f1e80b389948e46bb8cd6b684f:58
Promise.catch (async)
check @ script.js?06b386f1e80b389948e46bb8cd6b684f:57
(anonymous) @ script.js?06b386f1e80b389948e46bb8cd6b684f:93
window.Joomla.submitbutton @ script.js?06b386f1e80b389948e46bb8cd6b684f:93
executeTask @ joomla-toolbar-button.min.js?6eb267679d65e41cc9fc4de7a56cf06e3b966e5b:4
script.js?06b386f1e80b389948e46bb8cd6b684f:27
GET http://joomla4test/administrator/index.php?option=com_jedchecker&task=police.check&format=raw&rule=gpl net::ERR_CONNECTION_RESET
check @ script.js?06b386f1e80b389948e46bb8cd6b684f:27
(anonymous) @ script.js?06b386f1e80b389948e46bb8cd6b684f:93
window.Joomla.submitbutton @ script.js?06b386f1e80b389948e46bb8cd6b684f:93
executeTask @ joomla-toolbar-button.min.js?6eb267679d65e41cc9fc4de7a56cf06e3b966e5b:4
script.js?06b386f1e80b389948e46bb8cd6b684f:58 TypeError: Failed to fetch
at check (script.js?06b386f1e80b389948e46bb8cd6b684f:27:5)
at script.js?06b386f1e80b389948e46bb8cd6b684f:93:43
at Array.forEach (<anonymous>)
at window.Joomla.submitbutton (script.js?06b386f1e80b389948e46bb8cd6b684f:93:27)
at HTMLElement.executeTask (joomla-toolbar-button.min.js?6eb267679d65e41cc9fc4de7a56cf06e3b966e5b:4:1674)
from jedchecker.
![JED-Checker-PHP-8 3 0-fail](https://private-user-images.githubusercontent.com/1175079/287514056-70463b63-b475-43cd-80f9-5c86d5ea0db2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4NTI5MjksIm5iZiI6MTcxOTg1MjYyOSwicGF0aCI6Ii8xMTc1MDc5LzI4NzUxNDA1Ni03MDQ2M2I2My1iNDc1LTQzY2QtODBmOS01Yzg2ZDVlYTBkYjIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDFUMTY1MDI5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDM3YjExNWQyZWQyZmVlMjUxNjBhNGEyNGI2MGU3Njk3MWNlZjRlZDU0MGMyMTlkZmFkMWUwZjAwYTJlZmZjNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.vXxIdbXbx-_KeGCJDJhXLZOhDqsGafyvtE6iNDcT8i0)
from jedchecker.
![JED-Checker-PHP-8 3 0-final](https://private-user-images.githubusercontent.com/1175079/287514280-8ff47121-1a82-44e2-9b41-86ecc08f8103.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4NTI5MjksIm5iZiI6MTcxOTg1MjYyOSwicGF0aCI6Ii8xMTc1MDc5LzI4NzUxNDI4MC04ZmY0NzEyMS0xYTgyLTQ0ZTItOWI0MS04NmVjYzA4ZjgxMDMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDFUMTY1MDI5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjE5ZTI4N2NjMWViNzhhYTExNjNmNjkxNmQ3ODMxNWYzYjlmYzYyZDIyMjY3NjNkN2Q1ZjE3YzQ0ZGZkNWYxNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.jp8GlLOXdWPRw8x9AYg2qTTSGNZLuQudN6u-99fmPdI)
from jedchecker.
The extension tested in the last screenshots is the tiny content plugin Table of Contents CK
from jedchecker.
The Table of Contents CK package is processed well on my side.
The most surprising thing is that the "Information..." rule works fine, but the "Update..." rule does not. Internally, they are very similar: collect XML manifests via JEDCheckerHelper::findManifests
, iterate over them, load content via simplexml_load_file
, and issue a warning if found. I don't know what's wrong there.
You can try to play with manually inserted trigger_error(__METHOD__.__LINE__);
in administrator/components/com_jedchecker/libraries/rules/xmlupdateserver.php
file to localize the line that hangs by analyzing error_log file.
from jedchecker.
Ok, I will try that, but probably tomorrow morning. It is 11PM here.
from jedchecker.
I added the trigger_error statement into every method in the file xmlupdateserver.php. The five icons have now been whirling for several minuts but no errors are displayed or written to the log files.
from jedchecker.
PHP 8.3.0 is the culprit. My host offers only PHP 8.2 and therefore I cannot test PHP 8.3.0 remotely. However, to eliminate any other factors, I installed a new Joomla 4.4.0 using PHP 8.3.0 in my Wampserver 3.3.2 and then JED Checker 2.4.3 and then tried to check the content plugin Table of Contents CK. No joy, the icons continued to swirl. As soon as I changed Wampserver to use 8.2.13, JED Checker finishes all right.
from jedchecker.
Related Issues (20)
- False positive The JEXEC security check was not found in this file. HOT 18
- [Suggestion] - Extend the readme on Crowdin Project
- False positive PH2 error HOT 4
- Dependency Dashboard
- Error: Whitespace in the key is not allowed HOT 3
- JED Checker 2.4.1 extension downloaded from the JED differs from development repository
- Language file is not loaded, when lang prefix is missing. HOT 1
- JEXEC security check HOT 6
- [PHP 8.1] Deprecated: trim(): Passing null to parameter #1 ($string) in rules/xmlinfo.php on line 322 HOT 2
- Warning: syntax error, unexpected '{' or '!' HOT 1
- NOTICE: Node <folder> has unknown attribute 'plugin' is wrong? HOT 2
- Not recognized in XML: <name>language KEY</name> HOT 3
- JEDchecked in Joomla 3.10.12 failed: TypeError: Failed to fetch HOT 17
- [J5] JED Checker extension only works with b/c plugin enabled HOT 2
- JEF Checker 2.4.2 has no checksum HOT 2
- 0 strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) HOT 1
- JED Checker to report linebreaks in language files HOT 4
- Wrong deprecation: Joomla\CMS\Filesystem\File and Joomla\CMS\Filesystem\Folder ? HOT 4
- There is interference in the mobile version, Joomla 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jedchecker.