WordPress.org

Plugin Directory

FG Joomla to WordPress

A plugin to migrate categories, posts, tags, images and other medias from Joomla to WordPress

I get the message: "[fgj2wp] Couldn't connect to the Joomla database. Please check your parameters. And be sure the WordPress server can access the Joomla database. SQLSTATE[28000] [1045] Access denied for user 'xxx'@'localhost' (using password: YES)"

  • First verify your login and password to your Joomla database.
  • If Joomla and WordPress are not installed on the same host, you can do this:
  • export the Joomla database to a SQL file (with phpMyAdmin for example)
  • import this SQL file on the same database as WordPress
  • run the migration by using WordPress database credentials (host, user, password, database) instead of the Joomla ones in the plugin settings.

The migration stops and I get the message: "Fatal error: Allowed memory size of XXXXXX bytes exhausted" or I get the message: “Internal server error"

  • First, deactivate all the WordPress plugins except the ones used for the migration
  • You can run the migration again. It will continue where it stopped.
  • You can add: define('WP_MEMORY_LIMIT', '512M'); in your wp-config.php file to increase the memory allowed by WordPress
  • You can also increase the memory limit in php.ini if you have write access to this file (ie: memory_limit = 1G).

I get a blank screen and the import seems to be stopped

  • Same as above

The media are not imported

  • Check the URL field that you filled in the plugin settings. It must be your Joomla home page URL and must start with http://

The media are not imported and I get the error message: "Warning: copy() [function.copy]: URL file-access is disabled in the server configuration"

  • The PHP directive "Allow URL fopen" must be turned on in php.ini to copy the medias. If your remote host doesn't allow this directive, you will have to do the migration on localhost.

Nothing is imported at all

  • Check your Joomla version. The Joomla 1.0 database has got a different structure from the other versions of Joomla. Importing Joomla 1.0 database is a Premium feature.

All the posts are not migrated. Why ?

  • The posts put in trash are not migrated. But unpublished and archived posts are migrated as drafts.
  • Some users reported that the Zend Framework causes an incomplete import. So, if all the data is not migrated, consider deactivating the Zend Framework during the migration.

I get the message: "Fatal error: Class 'PDO' not found"

  • PDO and PDO_MySQL libraries are needed. You must enable them in php.ini on the WordPress host.
    Or on Ubuntu:
    sudo php5enmod pdo
    sudo service apache2 reload

I get this error: PHP Fatal error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND'

  • 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

Does the migration process modify the Joomla site it migrates from?

  • No, it only reads the Joomla database.

I get this error: Erreur !: SQLSTATE[HY000] [1193] Unknown system variable 'NAMES'

  • It comes from MySQL 4.0. It will work if you move your database to MySQL 5.0 before running the migration.

I get this error "Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM"

  • You must use at least PHP 5.3 on your WordPress site.

I get this error: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client

None image get transferred into the WordPress uploads folder. I'm using Xampp on Windows.

  • Xampp puts the htdocs in the applications folder which is write protected. You need to move the htdocs to a writeable folder.

How to import content from one section as posts and another section as pages?

  • You can use the Convert Post Types plugin after the migration.

Do I need to keep the plugin activated after the migration?

  • No, you can deactivate or even uninstall the plugin after the migration (for the free version only).

Is there a log file to show the information from the import?

  • Yes since version 1.45.0. First you must put these lines in wp-config.php:
    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    And the messages will be logged to wp-content/debug.log.

How does the plugin handle Weblinks?

Don't hesitate to let a comment on the forum or to report bugs if you found some. http://wordpress.org/support/plugin/fg-joomla-to-wordpress

Requires: 3.0 or higher
Compatible up to: 4.2.2
Last Updated: 2015-5-20
Active Installs: 10,000+

Ratings

4.8 out of 5 stars

Support

19 of 22 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

2 people say it works.
0 people say it's broken.

100,1,1
50,2,1 100,1,1 100,1,1 100,1,1 100,1,1 100,2,2 100,1,1 100,1,1 100,2,2 100,1,1 100,3,3
100,1,1 100,2,2 100,1,1
100,1,1
100,3,3 100,2,2 100,1,1 100,1,1 100,3,3 100,2,2 100,1,1
100,3,3 67,3,2 100,1,1 100,3,3 100,1,1 100,2,2 100,1,1
100,1,1 100,1,1 100,2,2 100,1,1
50,2,1 0,1,0 100,5,5 100,3,3 50,2,1 100,2,2 100,1,1
100,1,1 100,2,2 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,2,2 0,1,0 100,1,1 100,1,1 100,1,1
100,2,2 100,2,2 100,2,2 100,1,1 100,2,2 100,2,2
100,1,1 100,2,2 100,1,1
100,2,2 100,1,1 100,2,2 100,2,2 100,1,1
100,5,5 100,3,3 100,3,3
100,2,2 100,2,2 75,4,3 100,2,2 100,1,1 100,1,1 100,2,2
100,2,2 100,1,1
100,1,1 100,3,3 100,1,1
100,1,1 100,1,1 100,1,1 100,3,3 100,2,2 100,1,1 100,1,1
100,1,1 100,1,1 100,2,2 67,3,2 100,1,1
100,1,1 100,2,2 100,2,2 100,3,3 100,2,2 100,2,2 100,2,2 100,2,2 100,2,2 100,1,1
100,3,3 100,2,2
100,2,2 100,2,2 100,2,2 100,1,1 100,2,2
100,2,2 100,2,2 100,2,2 100,2,2 100,2,2 100,2,2 100,2,2 100,2,2
100,2,2
100,2,2
100,2,2 100,2,2