Article ID: 127989, created on Jan 8, 2016, last review on Feb 15, 2016

  • Applies to:
  • Plesk Automation 11.5

Symptoms

Joomla! 3.4.6 update fails with the error in Customer Control Panel:

Error: Update failed: Non-zero exit status returned by script. Output stream: 'PHP Notice: Undefined index: HTTP_HOST in
/var/www/vhosts/example.com/httpdocs/joomla/libraries/joomla/application/web.php on line 869 PHP Notice: Undefined index: HTTP_HOST in
/var/www/vhosts/example.com/httpdocs/joomla/libraries/joomla/uri/uri.php on line 96 PHP Fatal error: Call to undefined method DirectoryIterator::getExtension() in
/var/www/vhosts/example.com/httpdocs/joomla/libraries/cms/installer/installer.php on line 2254 '. Error stream: 'PHP Notice: Undefined index: HTTP_HOST in
/var/www/vhosts/example.com/httpdocs/joomla/libraries/joomla/application/web.php on line 869 PHP Notice: Undefined index: HTTP_HOST in
/var/www/vhosts/example.com/httpdocs/joomla/libraries/joomla/uri/uri.php on line 96 PHP Fatal error: Call to undefined method DirectoryIterator::getExtension() in
/var/www/vhosts/example.com/httpdocs/joomla/libraries/cms/installer/installer.php on line 2254'.

it is impossible to install it as well:

Error: Installation of joomla at http://example.com/joomla failed. Non-zero exit status returned by script. Output stream: 'PHP Notice: Undefined index: HTTP_HOST in
/var/www/vhosts/example.com/httpdocs/joomla/libraries/joomla/application/web.php on line 869 PHP Notice: Undefined index: HTTP_HOST in
/var/www/vhosts/example.com/httpdocs/joomla/libraries/joomla/uri/uri.php on line 96 PHP Fatal error: Call to undefined method DirectoryIterator::getExtension() in
/var/www/vhosts/example.com/httpdocs/joomla/libraries/cms/installer/installer.php on line 2254 '. Error stream: 'PHP Notice: Undefined index: HTTP_HOST in
/var/www/vhosts/example.com/httpdocs/joomla/libraries/joomla/application/web.php on line 869 PHP Notice: Undefined index: HTTP_HOST in
/var/www/vhosts/example.com/httpdocs/joomla/libraries/joomla/uri/uri.php on line 96 PHP Fatal error: Call to undefined method DirectoryIterator::getExtension() in
/var/www/vhosts/example.com/httpdocs/joomla/libraries/cms/installer/installer.php on line 2254'.

Cause

The behavior was considered as internal software issue #PPA-3032.

The fix is included in Plesk Automation MU#22.

Workaround

Install latest PA updates according to the article.

Search Words

Non-zero exit status returned by script. Output stream: 'PHP Notice: Undefined index:

DirectoryIterator::getExtension

applications

Non-zero exit status returned by script. Output stream: 'PHP Notice: Undefined index: HTTP_HOST in /var/www/vhosts/hosting3229.af91f.netcup.net/joomla./libraries/joomla/application/web.php

Joomla install fails

joomla upgrade error

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF