Call to undefined function Joomla\CMS\Form\dom_import_simplexml()

Need help installing Joomla! 5.x? For all Joomla! 5.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
6sto
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Fri Mar 15, 2024 6:22 am

Call to undefined function Joomla\CMS\Form\dom_import_simplexml()

Post by 6sto » Fri Mar 22, 2024 7:44 am

Hi.

Joomla 5 installation stops wirh error: Call to undefined function Joomla\CMS\Form\dom_import_simplexml()

XML_writer and ..._reader are enabled. I can not find any solutions to this order. PHP 8.2 enabled

:(

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31062
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Call to undefined function Joomla\CMS\Form\dom_import_simplexml()

Post by Per Yngve Berg » Fri Mar 22, 2024 7:58 am

More Information is needed.

Please use the Forum Post Assistant. See Red Box above.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17510
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Call to undefined function Joomla\CMS\Form\dom_import_simplexml()

Post by toivo » Fri Mar 22, 2024 8:51 am

The function dom_import_simplexml() is a native PHP function.

Go to the backend of Joomla, System - System Information - PHP Information. Search for DOM/XML. Is it enabled? Is SimpleXML support enabled?

If you have cPanel, provided by your host, locate the section PHP Selector and go to the tab Extensions. Make sure that the following extension have been selected: dom, simplexml and xml.

Ref. PHP Manual: dom-import-simplexml()
Toivo Talikka, Global Moderator

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20652
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: Call to undefined function Joomla\CMS\Form\dom_import_simplexml()

Post by leolam » Sun Mar 24, 2024 2:53 pm

Both the PHP extensions xml_reader and xml_writer must be enabled in PHP 8.x on your server. Either one of them is not

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -

6sto
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Fri Mar 15, 2024 6:22 am

Re: Call to undefined function Joomla\CMS\Form\dom_import_simplexml()

Post by 6sto » Mon Mar 25, 2024 7:38 am

Hello and thank you for your help. Everything should be ok but isn't...

=============
SimpleXML
=============
SimpleXML support: enabled
Schema support: enabled
Forum Post Assistant (v1.6.6) : 25-Mar-2024 wrote:
Last PHP Error(s) Reported :: wrote:[25-Mar-2024 07:07:22 UTC] PHP Deprecated: Function utf8_decode() is deprecated in /home/varastok/public_html/testi.varastokontti.fi/libraries/vendor/joomla/string/src/phputf8/native/core.php on line 33
Basic Environment :: wrote:Joomla! Instance :: Joomla! 5.0.3-Stable (Kuboresha) 20-February-2024
Joomla! Configured :: Yes | Read-Only (444) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: true | .htaccess/web.config: Yes | GZip: true | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: N/A | Proxy: false | LiveSite: | Session lifetime: 15 | Session handler: database | Shared sessions: false | SSL: 0 | Error Reporting: maximum | Site Debug: true | Language Debug: false | Default Access: Public | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 5.0.3: Yes | Database Supports J! 5.0.3: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 4.18.0-477.27.1.lve.el8.x86_64 | Technology: x86_64 | Web Server: LiteSpeed | Encoding: gzip, deflate, br, zstd | System TMP Writable: Yes | Free Disk Space : 6241.93 GiB |

PHP Configuration :: Version: 8.1.27 | PHP API: litespeed | Session Path Writable: Yes | Display Errors: 0 | Error Reporting: 22527 | Log Errors To: error_log | Last Known Error: 25th March 2024 07:07:22. | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 128M | Max. POST Size: 128M | Max. Input Time: 60 | Max. Execution Time: 30 | Memory Limit: 128M

Database Configuration :: Version: 8.0.36 (Client:8.0.36) | Database Size: 21.29 MiB | #of Tables with config prefix:  170 | #of other Tables:  0 | User Privileges : GRANT ALL
Detailed Environment :: wrote:PHP Extensions :: Core (8.1.27) | date (8.1.27) | libxml (8.1.27) | openssl (8.1.27) | pcre (8.1.27) | sqlite3 (8.1.27) | zlib (8.1.27) | bz2 (8.1.27) | calendar (8.1.27) | ctype (8.1.27) | curl (8.1.27) | hash (8.1.27) | filter (8.1.27) | ftp (8.1.27) | gettext (8.1.27) | json (8.1.27) | iconv (8.1.27) | SPL (8.1.27) | pcntl (8.1.27) | readline (8.1.27) | Reflection (8.1.27) | session (8.1.27) | standard (8.1.27) | exif (8.1.27) | shmop (8.1.27) | SimpleXML (8.1.27) | tokenizer (8.1.27) | xml (8.1.27) | litespeed () | clos_ssa (1.0) | mysqli (8.1.27) | Zend Engine (4.1.27) |
Potential Missing Extensions :: zip | mbstring | pdo_mysql | fileinfo | gd |

Switch User Environment :: PHP CGI: Yes | Server SU: Yes | PHP SU: Yes | Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (---) | tmp/ (---) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (755) | api/ (755) |

Elevated Permissions (First 10) ::
Database Information :: wrote:Database statistics :: Uptime: 2631456 | Threads: 4 | Questions: 928785188 | Slow queries: 243 | Opens: 43530744 | Flush tables: 3 | Open tables: 4000 | Queries per second avg: 352.954 |
Extensions Discovered :: wrote:Components :: Site ::
Core ::
3rd Party::

Components :: Admin ::
Core :: com_joomlaupdate (4.0.3) 1 | com_postinstall (4.0.0) 1 | com_fields (4.0.0) 1 | com_tags (4.0.0) 1 | com_privacy (3.9.0) 1 | com_associations (4.0.0) 1 | com_contenthistory (4.0.0) 1 | com_cache (4.0.0) 1 | com_scheduler (4.1.0) 1 | com_modules (4.0.0) 1 | com_cpanel (4.0.0) 1 | com_config (4.0.0) 1 | com_mails (4.0.0) 1 | com_messages (4.0.0) 1 | com_banners (4.0.0) 1 | com_admin (4.0.0) 1 | com_login (4.0.0) 1 | com_wrapper (4.0.0) 1 | com_ajax (4.0.0) 1 | com_workflow (4.0.0) 1 | com_categories (4.0.0) 1 | com_menus (4.0.0) 1 | com_finder (4.0.0) 1 | com_checkin (4.0.0) 1 | com_content (4.0.0) 1 | com_newsfeeds (4.0.0) 1 | com_templates (4.0.0) 1 | com_users (4.0.0) 1 | com_installer (4.0.0) 1 | com_plugins (4.0.0) 1 | com_media (3.0.0) 1 | com_redirect (4.0.0) 1 | com_actionlogs (3.9.0) 1 | com_languages (4.0.0) 1 | com_guidedtours (4.3.0) 1 |
3rd Party:: com_widgetkit (3.1.26) 1 | RSFirewall! (3.1.1) 1 | com_akeebabackup (9.9.0) 1 | HikaShop (5.0.3) 1 | JoomGrabber (4.4.6) 1 | com_forsef (2.2.1.585) 1 | COM_OSMAP (5.0.17) 1 | HikaMarket (4.1.1) 1 | HikaMarket - HikaShop Integration p (4.1.1) ? | Hikashop (market) Paypal Adaptive P (4.1.1) ? | Hikashop (market) MangoPay Payment (4.1.1) ? | HikaMarket - MangoPay integration (4.1.1) 0 | Simple Social Media Stream (3.22.2) 1 | SP Page Builder (5.2.9) 1 |

Modules :: Site ::
Core :: mod_banners (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_login (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_stats (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_wrapper (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_whosonline (3.0.0) 1 | mod_articles_categories (3.0.0) 1 |
3rd Party:: Hikashop Cart Module (5.0.3) ? | SP Page Builder (5.2.9) 1 | Hikashop Module (5.0.3) ? | Widgetkit (3.1.26) 1 | Hikashop Wishlist Module (5.0.3) ? | Hikashop Filtering Module (5.0.3) ? | Social Stream Module for Simple Soc (3.22.2) ? | Hikashop Currency Switcher Module (5.0.3) ? |

Modules :: Admin ::
Core :: mod_login (3.0.0) 1 | mod_privacy_status (4.0.0) 1 | mod_guidedtours (4.3.0) 1 | mod_feed (3.0.0) 1 | mod_frontend (4.0.0) 1 | mod_menu (3.0.0) 1 | mod_version (3.0.0) 1 | mod_title (3.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_messages (4.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_post_installation_messages (4.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_latest (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_user (4.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_stats_admin (3.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_loginsupport (4.0.0) 1 | mod_popular (3.0.0) 1 |
3rd Party:: RSFirewall! Control Panel Module (1.4.0) 1 | HikaShop Dashboard (5.0.3) 1 |

Libraries ::
Core ::
3rd Party::

Plugins ::
Core :: plg_sampledata_multilang (4.0.0) 1 | plg_media-action_resize (4.0.0) 1 | plg_media-action_rotate (4.0.0) 1 | plg_media-action_crop (4.0.0) 1 | plg_actionlog_joomla (3.9.0) 1 | plg_multifactorauth_webauthn (4.2.0) 1 | plg_multifactorauth_fixed (4.2.0) 0 | plg_multifactorauth_totp (3.2.0) 1 | plg_multifactorauth_yubikey (3.2.0) 1 | plg_multifactorauth_email (4.2.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_subform (4.0.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_workflow_featuring (4.0.0) 1 | plg_workflow_publishing (4.0.0) 1 | plg_workflow_notification (4.0.0) 1 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_content_confirmconsent (3.9.0) 0 | plg_content_pagebreak (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_vote (3.0.0) 0 | plg_content_joomla (3.0.0) 1 | plg_content_finder (3.0.0) 1 | plg_content_pagenavigation (3.0.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_emailcloak (3.0.0) 1 | Content - SP Page Builder (5.2.9) 0 | plg_behaviour_compat (5.0.0) 1 | plg_behaviour_versionable (4.0.0) 1 | plg_behaviour_taggable (4.0.0) 1 | plg_filesystem_local (4.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_extension_namespacemap (4.0.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_extension_finder (4.0.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_user_profile (3.0.0) 0 | plg_user_token (3.9.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_user_joomla (3.0.0) 1 | plg_user_terms (3.9.0) 0 | plg_schemaorg_person (5.0.0) 1 | plg_schemaorg_recipe (5.0.0) 1 | plg_schemaorg_blogposting (5.0.0) 1 | plg_schemaorg_event (5.0.0) 1 | plg_schemaorg_organization (5.0.0) 1 | plg_schemaorg_book (5.0.0) 1 | plg_schemaorg_jobposting (5.0.0) 1 | plg_quickicon_overridecheck (4.0.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_quickicon_downloadkey (4.0.0) 1 | plg_quickicon_eos (4.4.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_task_requests (4.1) 1 | plg_task_globalcheckin (5.0.0) 1 | plg_task_site_status (4.1) 1 | plg_task_sessiongc (5.0.0) 1 | plg_task_rotatelogs (5.0.0) 1 | plg_task_privacyconsent (5.0.0) 1 | plg_task_check_files (4.1) 1 | plg_task_updatenotification (5.0.0) 1 | plg_task_deleteactionlogs (5.0.0) 1 | plg_api-authentication_basic (4.0.0) 0 | plg_api-authentication_token (4.0.0) 1 | plg_system_webauthn (4.0.0) 1 | plg_system_task_notification (4.1) 1 | plg_system_debug (3.0.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_httpheaders (4.0.0) 1 | plg_system_jooa11y (4.2.0) 1 | plg_system_shortcut (4.2.0) 1 | plg_system_stats (3.5.0) 0 | plg_system_fields (3.7.0) 1 | plg_system_actionlogs (3.9.0) 1 | plg_system_guidedtours (4.3.0) 1 | plg_system_sef (3.0.0) 1 | plg_system_skipto (4.0.0) 1 | plg_system_schedulerunner (4.1) 1 | plg_system_languagefilter (3.0.0) 0 | plg_system_log (3.0.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_schemaorg (5.0.0) 1 | plg_system_redirect (3.0.0) 0 | plg_system_languagecode (3.0.0) 0 | plg_system_accessibility (4.0.0) 0 | plg_system_remember (3.0.0) 1 | plg_system_cache (3.0.0) 0 | plg_system_highlight (3.0.0) 1 | plg_installer_webinstaller (4.0.0) 1 | plg_installer_folderinstaller (3.6.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | plg_installer_override (4.0.0) 1 | plg_installer_urlinstaller (3.6.0) 1 | plg_webservices_templates (4.0.0) 1 | plg_webservices_menus (4.0.0) 1 | plg_webservices_users (4.0.0) 1 | plg_webservices_config (4.0.0) 1 | plg_webservices_content (4.0.0) 1 | plg_webservices_media (4.1.0) 1 | plg_webservices_messages (4.0.0) 1 | plg_webservices_tags (4.0.0) 1 | plg_webservices_privacy (4.0.0) 1 | plg_webservices_redirect (4.0.0) 1 | plg_webservices_modules (4.0.0) 1 | plg_webservices_banners (4.0.0) 1 | plg_webservices_newsfeeds (4.0.0) 1 | plg_webservices_plugins (4.0.0) 1 | plg_webservices_installer (4.0.0) 1 | plg_webservices_languages (4.0.0) 1 |
3rd Party:: Hikashop Shop Close Hours Plugin (5.0.3) ? | Hikashop Content Parser - Markdown (5.0.3) ? | Hikashop Massaction Address Plugin (5.0.3) 1 | HikaShop: Date Picker Custom Field (5.0.3) ? | HikaMarket - HikaShop Integration p (4.1.1) ? | Hikashop Cart notification Plugin (5.0.3) ? | Hikashop User account Plugin (5.0.3) ? | Hikashop out of order notification (5.0.3) ? | Hikashop AcyMailing Plugin (5.0.3) ? | Hikashop Group Plugin (5.0.3) ? | Hikashop History Plugin (5.0.3) ? | Hikashop Orders Automatic Cancel Pl (5.0.3) ? | Hikashop - Product Cron Update (5.0.3) ? | Hikashop UserPoints Plugin (5.0.3) ? | Hikashop Massaction User Plugin (5.0.3) 1 | HikaShop Shipping Manual - Price pe (5.0.3) ? | Hikashop Massaction Category Plugin (5.0.3) 1 | Hikashop Google Products Plugin (5.0.3) 1 | Hikashop Currency Rates Plugin (5.0.3) ? | Hikashop WaitList notification Plug (5.0.3) ? | Hikashop Validate free order Plugin (5.0.3) ? | Hikashop TaxCloud Plugin (1.2.3) 0 | Hikashop Email History Plugin (5.0.3) 1 | Hikashop Massaction Product Plugin (5.0.3) 1 | Hikashop Massaction Order Plugin (5.0.3) 1 | Hikashop - Kashflow invoice synchro (5.0.3) ? | HikaMarket - MangoPay integration (4.1.1) 0 | PLG_ACTIONLOG_AKEEBABACKUP (9.9.0) 0 | Search - Hikashop Categories/Manufa (5.0.3) ? | Search - Hikashop Products (5.0.3) ? | plg_search_sppagebuilder (5.2.9) 0 | PLG_OSMAP_K2 (5.0.17) 0 | PLG_OSMAP_SHACKLOCATIONS (5.0.17) 0 | PLG_OSMAP_PHOCAGALLERY (5.0.17) 0 | PLG_OSMAP_KUNENA (5.0.17) 0 | PLG_OSMAP_JOOMLA (5.0.17) 1 | PLG_OSMAP_VM (5.0.17) 0 | PLG_OSMAP_JDOWNLOADS (5.0.17) 0 | PLG_OSMAP_OSCAMPUS (5.0.17) 0 | PLG_OSMAP_SOBIPRO (5.0.17) 0 | Hikashop Australia Post eDeliver Sh (5.0.3) ? | Hikashop UPS (legacy) Shipping Plug (5.0.3) ? | Hikashop CANPAR Shipping Plugin (1.0.0) ? | Hikashop FedEx Shipping Plugin (5.0.3) ? | Hikashop USPS Shipping Plugin (5.0.3) ? | Hikashop UPS OAuth Shipping Plugin (5.0.3) ? | Hikashop Manual Shipping Plugin (5.0.3) ? | SP Simple Portfolio - SP Page Build (5.2.9) ? | PLG_CONSOLE_AKEEBABACKUP (9.9.0) 1 | AcyMailing Tag : HikaShop content (5.0.3) ? | Content - Widgetkit (3.1.26) 1 | Hikashop Western Union Payment Plug (5.0.3) ? | Hikashop Paybox Plugin (5.0.3) ? | Hikashop Authorize.net Payment Plug (5.0.3) ? | Hikashop Beanstream Payment Plugin (5.0.3) ? | Hikashop (market) MangoPay Payment (4.1.1) ? | Hikashop Payment Express Payment Pl (5.0.3) ? | Hikashop Postfinance Payment Plugin (5.0.3) ? | Hikashop iPayDNA Payment Plugin (5.0.3) ? | Hikashop PayU India Payment Plugin (5.0.3) ? | Hikashop Paypal Express Checkout Pa (5.0.3) ? | Hikashop Moneybookers Payment Plugi (5.0.3) ? | Hikashop Collect On Delivery Paymen (5.0.3) ? | Hikashop Paypal Website Payments Pr (5.0.3) ? | Hikashop Bank Transfer Payment Plug (5.0.3) ? | Hikashop iVeri Payment Plugin (5.0.3) ? | Hikashop Paygate Payment Plugin (5.0.3) ? | Hikashop Paypal (legacy) Payment Pl (5.0.3) ? | Hikashop Bluepaid Payment Plugin (5.0.3) ? | Hikashop PayPlug v2 payment plugin (5.0.3) ? | Hikashop Paypal Advanced payment pl (5.0.3) ? | Hikashop CyberMuth CIC Payment Plug (5.0.3) ? | Hikashop westpacapi Payment Plugin (1.0) ? | Hikashop Nets NETAXEPT Payment Plug (5.0.3) ? | Hikashop Paypal Checkout Payment (1.0.0) ? | Ogone Payment Plugin (5.0.3) ? | Hikashop Alipay Payment Plugin (5.0.3) ? | Hikashop Be2Bill Payment Plugin (5.0.3) ? | Hikashop Paypal Pro Payment Plugin (5.0.3) ? | Hikashop Purchase Order Payment Plu (5.0.3) ? | Hikashop Servired Payment Plugin (5.0.3) ? | Hikashop SIPS ATOS Payment Plugin (5.0.3) ? | Hikashop PaymentExpress (PxPay) Plu (5.0.3) ? | Hikashop ATOS SIPS 2.0 Payment Plug (5.0.3) ? | Hikashop HSBC Payment Plugin (5.0.3) ? | Hikashop Virtual Merchant (Elavon) (5.0.3) ? | Hikashop ePay Payment Plugin (5.0.3) ? | Hikashop PayJunction Payment Plugin (5.0.3) ? | Hikashop CardSave Payment Plugin (5.0.3) ? | Hikashop Check Payment Plugin (5.0.3) ? | Hikashop UserPoints Payment Plugin (5.0.3) ? | Hikashop Borgun payment plugin (5.0.3) ? | Hikashop (market) Paypal Adaptive P (4.1.1) ? | Hikashop FirstData Payment Plugin (5.0.3) ? | Hikashop PayPlug payment plugin (5.0.3) ? | Hikashop MasterCard Internet Gatewa (5.0.3) ? | Hikashop WorldNetTPS Payment Plugin (5.0.3) ? | Hikashop Common Joomla Payment API (5.0.3) ? | Hikashop Credit Card Payment Plugin (5.0.3) ? | Hikashop Payza Payment Plugin (5.0.3) ? | Hikashop eWAY Payment Plugin (5.0.3) ? | Hikashop eSelect Payment Plugin (5.0.3) ? | Hikashop Monetico Payment Plugin (5.0.3) ? | DOCMAN (4.4.6) 1 | FLEXIcontent (4.4.6) 1 | Content (4.4.6) 1 | EasyBlog (4.4.6) 1 | ZOO (4.4.6) 1 | VirtueMart (4.4.6) 1 | Kunena (4.4.6) 1 | K2 (4.4.6) 1 | Smart Search - HikaShop Products (5.0.3) 1 | plg_finder_sppagebuilder (5.2.9) 0 | RSSReader (4.4.6) 1 | XmlFolder (4.4.6) 1 | Email (4.4.6) 1 | [youtube] (4.4.6) 1 | GoogleNews (4.4.6) 1 | Ebay (4.4.6) 1 | TxtFolder (4.4.6) 1 | Links Finder (4.4.6) 1 | HikaShop Product TAG insertion (5.0.3) ? | Editors-XTD - Widgetkit (3.1.26) 1 | HikaShop Quick Icon (5.0.3) ? | PLG_QUICKICON_AKEEBABACKUP (9.9.0) 1 | Get Fulltext (4.4.6) 1 | Combine (4.4.6) 1 | Get Meta (4.4.6) 1 | Keywords Filter (4.4.6) 1 | Regex Replacer (4.4.6) 1 | Original Source (4.4.6) 1 | Get XPath Content (4.4.6) 1 | Static Value (4.4.6) 1 | TextSpinner (4.4.6) 1 | Google News URL (4.4.6) 1 | HTML Parser (4.4.6) 1 | Cut introtext (4.4.6) 1 | [youtube] Embed (4.4.6) 1 | Get Images (4.4.6) 1 | Alias (4.4.6) 1 | Image Enclosure (4.4.6) 1 | HTML Decoder (4.4.6) 1 | Strip Tags (4.4.6) 1 | HTML to BBCode (4.4.6) 1 | Save Image (4.4.6) 1 | Duplicate (4.4.6) 1 | Change Time (4.4.6) 1 | PLG_TASK_AKEEBABACKUP (9.9.0) 1 | plg_editors_tinymce (6.7.3) 1 | plg_editors_codemirror (6.0.0) 1 | PLG_SYSTEM_BACKUPONUPDATE (9.9.0) 1 | Hikashop - Mijoshop Fallback Redire (5.0.3) ? | User - HikaShop (5.0.3) ? | System - HikaShop Affiliate (5.0.3) ? | System - JoomGrabber (4.4.6) 1 | Hikashop - VirtueMart Fallback Redi (5.0.3) ? | PLG_SYSTEM_RSFIREWALLCONSOLE (1.0.0) 0 | Hikashop - Redshop Fallback Redirec (5.0.3) ? | Hikashop no SSL outside checkout Pl (5.0.3) ? | System - Helix Ultimate Framework (2.0.18) 1 | HikaShop Payment Notification plugi (5.0.3) ? | System - Widgetkit ZOO (3.1.26) 0 | System - HikaShop Mass Action (5.0.3) ? | PLG_SYSTEM_FORSEF (2.2.1.585) 1 | System - SP Page Builder Pro Update (5.2.9) ? | System - Widgetkit (3.1.26) 1 | System - Widgetkit K2 (3.1.26) 0 | Hikashop Registration Redirect Plug (5.0.3) ? | HikaShopCustom Price plugin (5.0.3) ? | Hikashop Google Analytics Plugin (5.0.3) ? | PLG_SYSTEM_SIMPLESOCIALSTREAMNOTIFI (3.22.2) ? | System - Hikashop Social Plugin (5.0.3) ? | Hikashop Product Tag (5.0.3) ? | HikaShop Google Dynamic Remarketing (5.0.3) ? | HikaShop Product TAG translation (5.0.3) ? | System - RSFirewall! Active Scanner (1.4.0) 1 | Hikashop Geolocation Plugin (5.0.3) ? | plg_system_osmylicensesmanager (2.0.17) 1 | System - SP PageBuilder (5.2.9) 1 | PLG_INSTALLER_FORSEF (2.2.1.585) 1 | plg_installer_rsfirewall (1.0.0) 1 | PLG_WEBSERVICES_AKEEBABACKUP (9.9.0) 1 |
Templates Discovered :: wrote:Templates :: Site :: cassiopeia (1.0) 1 | shaper_helixultimate (2.0.18) 1 |
Templates :: Admin :: atum (1.0) 1 |
php.jpg
You do not have the required permissions to view the files attached to this post.
Last edited by 6sto on Mon Mar 25, 2024 7:47 am, edited 2 times in total.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17510
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Call to undefined function Joomla\CMS\Form\dom_import_simplexml()

Post by toivo » Mon Mar 25, 2024 7:42 am

What about DOM/XML in the PHP Information of Joomla backend?
Toivo Talikka, Global Moderator

6sto
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Fri Mar 15, 2024 6:22 am

Re: Call to undefined function Joomla\CMS\Form\dom_import_simplexml()

Post by 6sto » Mon Mar 25, 2024 8:01 am

If i search for "dom", all I can find is this:

Configure Command

'./configure' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/opt/alt/php81' '--exec-prefix=/opt/alt/php81' '--bindir=/opt/alt/php81/usr/bin' '--sbindir=/opt/alt/php81/usr/sbin' '--sysconfdir=/opt/alt/php81/etc' '--datadir=/opt/alt/php81/usr/share' '--includedir=/opt/alt/php81/usr/include' '--libdir=/opt/alt/php81/usr/lib64' '--libexecdir=/opt/alt/php81/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/opt/alt/php81/usr/share/man' '--infodir=/opt/alt/php81/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib64' '--with-config-file-path=/opt/alt/php81/etc' '--with-config-file-scan-dir=/opt/alt/php81/link/conf' '--disable-debug' '--enable-calendar' '--enable-exif' '--enable-ftp' '--enable-huge-code-pages' '--enable-jit' '--enable-opcache' '--enable-shmop' '--enable-xml' '--with-bz2' '--with-freetype=/usr' '--with-gettext' '--with-gmp=shared' '--with-iconv' '--with-jpeg=/usr' '--with-layout=GNU' '--with-mhash' '--with-password-argon2=/usr' '--with-pcre-jit' '--with-pic' '--with-readline' '--with-webp=/opt/alt/libwebp' '--with-xpm=/usr' '--with-zlib' '--with-zlib-dir=/usr' '--without-gdbm' '--without-pear' '--with-curl=/opt/alt/curlssl11/usr' '--with-openssl-dir=/opt/alt/openssl11' '--with-openssl=/opt/alt/openssl11' '--with-pcre-dir=/opt/alt/pcre2' '--with-avif' '--with-kerberos' '--enable-litespeed' '--without-mysqli' '--enable-pcntl' '--disable-mbstring' '--disable-bcmath' '--disable-dba' '--disable-dom' '--disable-fileinfo' '--disable-json' '--disable-intl' '--disable-pdo' '--disable-phar' '--disable-posix' '--disable-soap' '--disable-sockets' '--disable-sysvsem' '--disable-sysvshm' '--disable-sysvmsg' '--disable-xmlreader' '--disable-xmlwriter' '--without-zip' '--disable-gd' '--without-imap' '--without-xsl' '--without-ldap' '--without-pgsql' '--without-snmp' '--without-sodium' '--without-tidy' '--without-enchant' '--without-pspell' '--without-unixODBC' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' 'PKG_CONFIG_PATH=/opt/alt/curlssl11/usr/lib64/pkgconfig:/opt/alt/openssl11/lib64/pkgconfig:/opt/alt/libicu/usr/lib64/pkgconfig:/opt/alt/sqlite/usr/lib64/pkgconfig:/opt/alt/pcre2/usr/lib64/pkgconfig:/opt/alt/libzip/usr/lib64/pkgconfig:/opt/alt/krb5/usr/lib64/pkgconfig:/opt/alt/libxml2/usr/lib64/pkgconfig:/opt/alt/libgd/lib64/pkgconfig::/usr/lib64/pkgconfig:/usr/share/pkgconfig' 'LDFLAGS= -L/opt/alt/krb5/usr/lib64 -L/opt/alt/cyrus-sasl/lib64 -Wl,-rpath=/opt/alt/krb5/usr/lib64,-rpath=/opt/alt/cyrus-sasl/lib64 -Wl,-rpath=/opt/alt/libxml2/usr/lib64,-rpath=/opt/alt/libwebp/lib64 -L/opt/alt/openssl11/lib64 -L/opt/alt/libicu/usr/lib64 -L/opt/alt/libc-client11/lib64 -L/opt/alt/openldap11/lib64 -L/opt/alt/net-snmp11/usr/lib64 -L/opt/alt/libssh211/usr/lib64 -Wl,-rpath=/opt/alt/curlssl11/usr/lib64,-rpath=/opt/alt/openssl11/lib64,-rpath=/opt/alt/libicu/usr/lib64,-rpath=/opt/alt/t1lib/usr/lib64,-rpath=/opt/alt/sqlite/usr/lib64,-rpath=/opt/alt/pcre2/usr/lib64,-rpath=/opt/alt/openldap11/lib64,-rpath=/opt/alt/freetds11/usr/lib64,-rpath=/opt/alt/net-snmp11/usr/lib64,-rpath=/opt/alt/libssh211/usr/lib64,-rpath=/opt/alt/libc-client11/lib64 -Wl,-rpath=/usr/lib64 ' 'KERBEROS_CFLAGS=-I/opt/alt/krb5/usr/include' 'KERBEROS_LIBS=-L/opt/alt/krb5/usr/lib64' 'WEBP_LIBS=-L/opt/alt/libwebp/lib64 -Wl,-rpath=/opt/alt/libwebp/lib64' 'SASL_CFLAGS=-I/opt/alt/cyrus-sasl/include' 'SASL_LIBS=-L/opt/alt/cyrus-sasl/lib64'

6sto
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Fri Mar 15, 2024 6:22 am

Re: Call to undefined function Joomla\CMS\Form\dom_import_simplexml()

Post by 6sto » Mon Mar 25, 2024 8:08 am

IMPORTANT INFO: I could install Joomla 5 with cpanel. Now I can login and everything but when I try to go to edit menus or articles, I get this:
2024-03-25_10-06-57 (Copy).jpg
I have installed this site to a subdomain. The main domain still uses PHP 7.4. Could this be a root cause? I can point different PHP versions to different domains and everything seems ok when looking to cpanel settings.
You do not have the required permissions to view the files attached to this post.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17510
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Call to undefined function Joomla\CMS\Form\dom_import_simplexml()

Post by toivo » Mon Mar 25, 2024 8:20 am

6sto wrote:
Mon Mar 25, 2024 8:01 am
'--disable-dom'
Bingo!

For some very strange reason DOM was not compiled as enabled into PHP. The PHP configuration has also a number of other anomalies, all of which should be fixed to avoid obscure error messages in Joomla 5:

6sto wrote:
Mon Mar 25, 2024 8:01 am
'--disable-fileinfo' '--disable-json' '--disable-intl' '--disable-sockets' '--disable-xmlreader' '--disable-xmlwriter' '--without-zip' '--disable-gd'
Toivo Talikka, Global Moderator

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17510
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Call to undefined function Joomla\CMS\Form\dom_import_simplexml()

Post by toivo » Mon Mar 25, 2024 8:25 am

6sto wrote:
Mon Mar 25, 2024 8:08 am
I could install Joomla 5 with cpanel.
The installation methods offerered by hosts through tools like Softaculous are usually not recommended. It is better to download Joomla from https://downloads.joomla.org, expand the installation package in the workstation or on the server and upload the folders and files to the document root and then access the domain to start the installation process.
Toivo Talikka, Global Moderator

6sto
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Fri Mar 15, 2024 6:22 am

Re: Call to undefined function Joomla\CMS\Form\dom_import_simplexml()

Post by 6sto » Mon Mar 25, 2024 8:26 am

So, those all are disabled now (and should be enabled to work this out)?
'--disable-fileinfo' '--disable-json' '--disable-intl' '--disable-sockets' '--disable-xmlreader' '--disable-xmlwriter' '--without-zip' '--disable-gd'

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17510
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Call to undefined function Joomla\CMS\Form\dom_import_simplexml()

Post by toivo » Mon Mar 25, 2024 8:35 am

Yes, and including DOM. The Document Object Model (DOM) "allows operations on XML and HTML documents through the DOM API with PHP."
Toivo Talikka, Global Moderator

6sto
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Fri Mar 15, 2024 6:22 am

Re: Call to undefined function Joomla\CMS\Form\dom_import_simplexml()

Post by 6sto » Mon Mar 25, 2024 9:00 am

OK. Thank you. I have to figure this out with the operator that manages the domain. Have a good one in there down below!

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17510
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Call to undefined function Joomla\CMS\Form\dom_import_simplexml()

Post by toivo » Mon Mar 25, 2024 9:14 am

Cheers, and please let us know what happened.
Toivo Talikka, Global Moderator

6sto
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Fri Mar 15, 2024 6:22 am

Re: Call to undefined function Joomla\CMS\Form\dom_import_simplexml()

Post by 6sto » Mon Mar 25, 2024 9:16 am

I will. ;)


Post Reply

Return to “Installation Joomla! 5.x”