Could you try to install WordPress on your local computer, copy the Joomla database on your local MySQL and run the import in local?
You’ll be able to see if it comes from your server or not.
I don’t have MySQL on my PC or, to be honest, understanding of how to run it if I did.
Thanks for the idea Kerfred but it occurs to me that if this works on my PC (& I’m a tad reluctant to try it since the reason I need to migrate away from Joomla is because the site has been subject to hacking recently) it won’t tell me what is wrong with the server. I wonder if somebody who understands PHP would know what is wrong with the PHP settings – there is a page listing these at http://www.winstred100.org/win100/info.php.
Just realised there is an option to test database connection – I even get blank screen on this.
The server I am on is running MySQL 5.1.73 and on seeing a warning that this version is no longer supported (rather like Joomla 1.5.26), I wondered if this might be a problem – does FG Joomla need a specific minimum mySQL or PHP to run?
The minimum requirements are MySQL 5.0 and PHP 5.3.
So with MySQL 5.1.73, PHP 5.3.27 & Joomla 1.5.26 (stable) this should work. Apart from PDO being set up and sufficient memory being available, are there other PHP settings that could cause this problem?
One thing you could try is to activate the debug mode in WordPress.
In wp-config.php, add this line:
define('WP_DEBUG', true);
It may give you more details about the error.
Ha, thanks – I get this error on testing database connection:
Fatal error: Undefined class constant ‘MYSQL_ATTR_INIT_COMMAND’ in /home/winstred/public_html/win100/wp-content/plugins/fg-joomla-to-wordpress/admin/class-fg-joomla-to-wordpress-admin.php on line 347
The answer is in the FAQ: https://wordpress.org/plugins/fg-joomla-to-wordpress/faq/
You have to enable PDO_MySQL in php.ini on the WordPress host. That means uncomment the line extension=pdo_mysql.so in php.ini
My webhost had assured me that they had enabled PDO, it seems they had only done part of the job. I am now getting somewhere. Thanks.
You can check that PDO is enabled by looking at the phpinfo result.