jemproject / JEM-Project

JEM - an Event Manager for Joomla
https://www.joomlaeventmanager.net
GNU General Public License v3.0
25 stars 36 forks source link

Updatecheck results in several warnings JEM 4.2.0/ Joomla 5.0.2 #1702

Closed jobrusche closed 3 months ago

jobrusche commented 5 months ago

Updatecheck result in several warnings like: Warning: simplexml_load_string(): Entity: line 1: parser error : StartTag: invalid element name in administrator/components/com_jem/models/updatecheck.php on line 42 Warning: simplexml_load_string(): <!doctype html> in administrator/components/com_jem/models/updatecheck.php on line 42

See attached screenshot for complete list of warnings Switching debug ON/OFF makes no difference.

The updatecheck finishes with the correct result :"Good, the latest version of JEM is installed. Always check for updates!" The Joomla V5 compatibility plugin is enabled

JEM_4-2-0_error

jobrusche commented 5 months ago

The links "Click for more information" and "Click to download" result in an error 404 'Page not found' <br%20/>Warning:%20%20Undefined%20property:%20stdClass::$download%20in%20/var/www/clients/client25259/web29072/me-cvs/administrator/components/com_jem/views/updatecheck/tmpl/default.php%20on%20line%2086<br%20/>

THIS HAPPENS on ALL Joomla V5.0.* that I manage.

mckillo commented 5 months ago

I have checked it, it's fine for me with JL5.0.2 (debug active to maximum), PHP 8.2 and JEM 4.2.1 (branch with last commit).

jobrusche commented 5 months ago

Installing PHP 8.2.13 cured the warnings.

However the field "Installed version" is still empty

Aditionally "Search for updates" from the system panel still results in

Update: :Extension: https://www.joomlaeventmanager.net/updatecheck/update_pkg_jem.xml kon niet ontleed worden (Dutch)

in english "update_pkg_jem.xml could not be parsed"

jobrusche commented 5 months ago

With PHP 8.2 the updatecheck result looks like this:

JEM_4-2-0_PHP82

The links return to the updatecheck result in a new window/tab

mckillo commented 3 months ago

I have tried it again with 5.0.3 clean, image It works.

mckillo commented 3 months ago

The xml file downloaded must be: https://www.joomlaeventmanager.net/updatecheck/update_pkg_jem.xml

jobrusche commented 3 months ago

As the original poster I can confirm the all my sites with JEM 4.2.0 on Joomla 5.0.3 display the correct information for the updatecheck. Thanks and regards, Johan.

jobrusche commented 3 months ago

Closing