The error MySQL server has gone away is a bad configuration setting on the server. The first work-around that can be tried is the following:
- Open the file administrator/components/com_csvi/csvi.php
- Find line 12 where the following code is:
defined('_JEXEC') or die;
// Access check.
- Change this to read:
defined('_JEXEC') or die;
ini_set('mysql.connect_timeout', 300);
ini_set('default_socket_timeout', 300);
// Access check. - Save the file
A second work-around to try is the following (this is a Joomla core hack !):
- Open the file administrator/index.php
- Find line 14 where the following code is:
// Set flag that this is a parent file
define( '_JEXEC', 1 );define('JPATH_BASE', dirname(__FILE__) );
- Change this to read:
// Set flag that this is a parent file
define( '_JEXEC', 1 );ini_set('mysql.connect_timeout', 300);
ini_set('default_socket_timeout', 300);define('JPATH_BASE', dirname(__FILE__) );
- Save the file