Problem: Countless folks get this error while they attempt to install Joomla! content management system – “Error: the XML response that was returned from the server is invalid”
Solution # 1:
- Open php.ini file
- find this option setting –
error_reporting = E_ALL
- change the above setting to –
error_reporting = E_ALL & ~E_NOTICE
Solution # 2:
- Install Joomla without installing sample data.
- Do not delete the Installation folder after installation is done.
- Download the joomla.sql file from installation/sql/mysql or check joomla sample data folder – (…/yourjoomla/installation/sql/mysql/sample_data.sql)
- Use PHPmyAdmin to install this SQL file into your Database.
- If problem persist and Joomla installation force you to install sample data then edit sample_data.sql file and find
TYPE=MyISAM
and change to
ENGINE=MyISAM
- If you have created or copied a configuration.php file from configuration.php file-dist due to warning message in beginning of installation page. Just remove ‘configuration.php’ file, and just ignore the warning message. Now you won’t see the ‘Error:the xml response that was returned from the server is invalid’ again.
Solution # 3:
- Check your PHP version. Joomla 1.5.x doesn’t support PHP 4.3.9, 4.4.2 or 5.0.4
- Check your PHP version. Joomla 2.5.x, 1.7.x and 1.6.x requires PHP 5.2.4 +, PHP 5.3 + recommended
- Joomla is not yet compatible with MySQL 6.x, check your mysql version
Still it is not working?
Solution # 4:
- From php.ini file, check that extensions are enabled
- In order to use SEO URLs, you will need to have the Apache mod_rewrite extension installed.
- Check your PHP setting from php.ini file, you can check memory limit setting for sure. Edit the php.ini file of your system and set the “memory_limit” to at least 256M or 512M. For shared hosting, you may need to contact your hosting provider to change this setting.
- Some systems have specific file permissions that might prevent a file from being readable. Find out the proper permissions for your hosting environment and apply them to the “…/yourjoomla/installation/sql/mysql/sample_data.sql” file or check Solution #2
- Make sure the database user has all permissions on the database used