?
avatar dagroupinc
dagroupinc
21 Apr 2021

Steps to reproduce the issue

Tried installing 3.9.26 manually (upload and extract) as well as with softoculous (automated install by hosting provider) and can't get to the Joomla installation screen.

Expected result

Joomla Installation screen

Actual result

Manual Install Error Message:
Error: Call to undefined function Joomla\CMS\Language\simplexml_load_file(): Call to undefined function simplexml_load_file()
Soctoculous Install Error Message:
Warning: session_start(): Failed to read session data: user (path: /tmp) in /home2/dagroup/public_html/new4/libraries/joomla/session/handler/native.php on line 260
Error: Failed to start application: Failed to start the session

System information (as much as possible)

Database server:
Server version: 5.6.41-84.1 - Percona Server (GPL), Release 84.1, Revision b308619
Web server:
Database client version: libmysql - 5.6.43
PHP extension: mysqliDocumentation curlDocumentation mbstringDocumentation
PHP version: 7.3.27

Additional comments

The hosting provider hasn't been able to provide a solution

avatar dagroupinc dagroupinc - open - 21 Apr 2021
avatar joomla-cms-bot joomla-cms-bot - change - 21 Apr 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Apr 2021
avatar ChristineWk
ChristineWk - comment - 21 Apr 2021

I don't know your server and not experienced with server etc.

1st one maybe: https://techglimpse.com/undefined-function-simplexml_load_file-php/

2nd one: Check database data with your configuration.php:

public $dbtype = 'mysqli';
public $host = 'hostname';
public $user = 'username';
public $password = 'password';
public $db = 'databasename';


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33224.

avatar dagroupinc
dagroupinc - comment - 21 Apr 2021
  1. yes have verified that simplexml is installed
  2. yes also checked the configuration.php file

It's weird that the hosting provider's 'easy install' presents an error also and doesn't present the Joomla install screen.

avatar brianteeman
brianteeman - comment - 21 Apr 2021

easy install - not easy upgrade ;)

avatar dagroupinc
dagroupinc - comment - 21 Apr 2021

Brian—agreed. I've never used it for that reason alone but this time we did as a test to see if we could get it to install — No go so I guess that points to a server side issue? Maybe a 3.9.26 clean install issue? I've successfully updated all of our other Joomla sites to 3.9.26 but this is a new installation.

avatar ChristineWk
ChristineWk - comment - 21 Apr 2021

Ah, I see now: https://docs.joomla.org/Installing_Joomla_using_an_Auto_Installer

Believe me, it's not fantastic :-)


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33224.

avatar ReLater
ReLater - comment - 22 Apr 2021

yes also checked the configuration.php file

Maybe I misunderstand that(?)
If there's already a configuration.php in Joomla root it's the expected bahavior that you don't get an installation screen.

avatar dagroupinc
dagroupinc - comment - 22 Apr 2021

There is only one config file that was installed when we unzipped Joomla

avatar ReLater
ReLater - comment - 22 Apr 2021

There shouldn't be a file configuration.php (exactly named like that) in the directory where you extracted the Joomla package. It blocks the installation routine. configuration.php will be created during installation.

avatar dagroupinc
dagroupinc - comment - 22 Apr 2021

We typically remove that after completing the installation.

Additional information: We had a 3.9.25 install running on PHP 5.4 — when we updated PHP to 7.3 everything went south. Now we can't install anything no matter the PHP version.

avatar ReLater
ReLater - comment - 22 Apr 2021

We typically remove that after completing the installation.

Becomes more confusing now.

If you remove configuration.php AFTER installation Joomla won't work. It's an essential file.

I talked about the situation BEFORE you install Joomla via browser.

avatar dagroupinc
dagroupinc - comment - 22 Apr 2021

the config file is in the directory - web hosting believes it is a server-side issue.

avatar ReLater
ReLater - comment - 22 Apr 2021

Maybe a misunderstanding. Extracting is a step before starting the installation for me.

Extract the ZIP package: A file named configuration.php is "forbidden" in the folder.

Then comes the installation in the browser and the file is created AUTOMATICALLY in the end. And never should be removed (or moved without deeper skills).

avatar ReLater
ReLater - comment - 22 Apr 2021

the config file is in the directory

When you talk about "config file" do you mean configuration.php?

If you extract an official Joomla-3.9.26 in an empty folder there is no configuration.php.

avatar dagroupinc
dagroupinc - comment - 22 Apr 2021

Yes—we have been installing Joomla for 12 years. In this case, following our unzipping of Joomla and database configuration we do NOT get the Joomla install screen—instead, we get the following error message:

Error: Call to undefined function Joomla\CMS\Language\simplexml_load_file(): Call to undefined function simplexml_load_file()

• All our problems began after we updated a 3.9.25 Joomla site from PHP 5.4 to 7.3
• We get a similar error message if we auto install with softoculous.
• Yes config = configuration.php file (note Joomla doesn't create a configuration.php when you unzip—only during Joomla installation process)
• Hosting provider has verified that simplexml is installed

avatar PhilETaylor
PhilETaylor - comment - 22 Apr 2021

Error: Call to undefined function Joomla\CMS\Language\simplexml_load_file(): Call to undefined function simplexml_load_file()

Simple. the php-xml package is NOT installed for the PHP version actually running.

Hosting provider has verified that simplexml is installed

Webhosts lie. Repeatedly. To cover their incompetence.

Upload a file with <?php print_r(get_loaded_extensions()); in it, and then look for XML in that - you will see that its not there... then tell your webhost to install php-xml package for your PHP version.

If you are using a cPanel based server - then it might also be that you have not selected this PHP Extension for your account, even though "its installed" on the server.

avatar PhilETaylor
PhilETaylor - comment - 22 Apr 2021

Warning: session_start(): Failed to read session data: user (path: /tmp) in /home2/dagroup/public_html/new4/libraries/joomla/session/handler/native.php on line 260
Error: Failed to start application: Failed to start the session

This is a bad error message that confuses. However the REAL PROBLEM you have if you get this error message is that PHP/Joomla cannot communicate to your database server with the credentials provided.

Neither of these issues are something to fix in Joomla core and so this should move to the Joomla Forum for support issues.

avatar dagroupinc
dagroupinc - comment - 22 Apr 2021

Simple. the php-xml package is NOT installed for the PHP version actually running.

PhilETaylor — can you provide details on how to resolve this?

avatar PhilETaylor
PhilETaylor - comment - 22 Apr 2021

No. Every webhost will have their own way, every web control panel will have their own way, web hosts that dont expose this to users will have to install it for you - you need to talk to your webhost, this is not a Joomla issue.

The simple fact is that your server doesn't meet the minimum system requirements for Joomla.

avatar dagroupinc
dagroupinc - comment - 22 Apr 2021

PhilETaylor— Could this be the source of the issue (note that the loaded configuration files is 70 and 73 is the versiion running:

Configuration File (php.ini) Path | /opt/cpanel/ea-php73/root/etc
Loaded Configuration File | /opt/php70/lib/php.ini

avatar brianteeman
brianteeman - comment - 22 Apr 2021

you need to talk to your webhost,

avatar dagroupinc
dagroupinc - comment - 22 Apr 2021

LOL that doesn't seem to be helpful at the moment. If I knew exactly what the problem and fix was—then I could push and make some headway.

Instead, I wait for days.

avatar brianteeman
brianteeman - comment - 22 Apr 2021

Phil has told you exactly what the problem is and how to resolve it

avatar brianteeman
brianteeman - comment - 22 Apr 2021

@Quy please close as not a joomla bug

avatar dagroupinc
dagroupinc - comment - 22 Apr 2021

I'll shut up but the hosting provider does meet the minimum requirements for php, mysql, and apache.

avatar Quy Quy - change - 22 Apr 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-04-22 23:49:09
Closed_By Quy
avatar Quy Quy - close - 22 Apr 2021
avatar Quy
Quy - comment - 22 Apr 2021

Please ask help in Joomla Forum. Thanks.

Add a Comment

Login with GitHub to post a comment