=== FG SPIP to WordPress ===
Contributors: Frédéric GILLES
Plugin Uri: https://wordpress.org/plugins/fg-spip-to-wp/
Tags: spip, wordpress, importer, convert spip to wordpress, migrate spip to wordpress, spip to wordpress migration, migrator, converter, import
Requires at least: 4.4
Tested up to: 4.5.3
Stable tag: 2.4.2
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=fred%2egilles%40free%2efr&lc=FR&item_name=fg-spip-to-wp¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
A plugin to migrate categories, articles, news, and images from SPIP to WordPress
== Description ==
This plugin migrates categories, articles, news and images from SPIP to WordPress.
It has been tested with **SPIP versions 2.0, 3.0 and 3.1** and **Wordpress 4.5**. It is compatible with multisite installations.
Major features include:
* migrates categories
* migrates articles
* migrates news
* migrates featured images
* converts SPIP shortcodes
No need to subscribe to an external web site.
= Premium version =
The **Premium version** includes these extra features:
* migrates authors
* migrates keywords
* migrates forum as WordPress comments
* SEO: keeps the SPIP articles IDs or redirects SPID URLs to the new WordPress URLs
* partial imports : ability to skip some parts of the import: categories, articles, news, users, forum
The Premium version can be purchased on: http://www.fredericgilles.net/fg-spip-to-wordpress/
= Add-ons =
The Premium version allows the use of add-ons that enhance functionality:
* documents migration
* multilingual content to WPML
These modules can be purchased on: http://www.fredericgilles.net/fg-spip-to-wordpress/
== Installation ==
1. Install the plugin in the Admin => Plugins menu => Add New => Upload => Select the zip file => Install Now
2. Activate Plugin in the Admin => Plugins Menu
3. Run the importer in Tools > Import > SPIP
4. Configure the plugin settings. You can find the SPIP database parameters in the SPIP file config/connect.php
spip_connect_db($host,'',$user,$password,$database,'mysql', 'spip','');
== Frequently Asked Questions ==
= I get the message: "[fg-spip-to-wp] Couldn't connect to the SPIP database. Please check your parameters. And be sure the WordPress server can access the SPIP database. SQLSTATE[28000] [1045] Access denied for user 'xxx'@'localhost' (using password: YES)" =
* First verify your login and password to your SPIP database.
* If SPIP and WordPress are not installed on the same host, you can do this:
- export the SPIP 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 SPIP 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 SPIP 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.
= 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 SPIP site it migrates from? =
* No, it only reads the SPIP 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 =
* It is a compatibility issue with your version of MySQL.
You can read this post to fix it: http://forumsarchive.laravel.io/viewtopic.php?id=8667
= 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.
= Do I need to keep the plugin activated after the migration? =
* No
= Is there a log file to show the information from the import? =
* Yes. 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.
= The plugin imports data with wrong encoded characters =
* This is usually due to a wrong encoding in the original database. You must re-encode your SPIP database before running the import. The procedure is described on: http://contrib.spip.net/Convertir-un-site-SPIP-3-en-utf-8-avec-le-plugin (in French).
Don't hesitate to let a comment on the forum or to report bugs if you found some.
https://wordpress.org/support/plugin/fg-spip-to-wp
== Screenshots ==
1. Parameters screen
== Translations ==
* English (default)
* French (fr_FR)
* other can be translated
== Changelog ==
= 2.4.2 =
* Fixed: Display an error message when the process hangs
* Tweak: Increase the speed of counting the terms
= 2.4.1 =
* New: Add an option to import the medias from a local directory
* New: Replace the tags by
* New: Guess the SPIP version even if the database is wrongly encoded
* New: Sanitize the wrong dates
* Tested with WordPress 4.5.3
= 2.1.0 =
* New: Prevent the import of duplicate posts
* FAQ updated
= 2.0.0 =
* New: Run the import in AJAX
* New: Add a progress bar
* New: Add a logger frame to see the logs in real time
* New: Ability to stop the import
* New: Compatible with PHP 7
* Tested with WordPress 4.5.2
= 1.9.0 =
* Tested with WordPress 4.5
* Compatible with SPIP 3.1
= 1.8.0 =
* New: Process the SPIP anchors like [anchor<-]
* New: Process the SPIP shortcodes -* (unordered list) and -# (ordered list)
= 1.7.0 =
* New: Process the SPIP shortcodes like [anchor_text->img]
= 1.6.1 =
* Fixed: Paragraphs line breaks were removed
= 1.6.0 =
* New: Add a link when we choose "Import introduction in the content"
* Fixed: Don't add an empty div is the excerpt is empty
= 1.4.0 =
* Tested with WordPress 4.4.2
= 1.3.3 =
* Fixed: Encoding issue of the texte field
= 1.3.2 =
* New: Remove the IDs from the begining of the articles and categories titles
* Fixed: Encoding issue of the texte field
* Fixed: The import last indefinitely due to the encoding issue
* Tested with WordPress 4.4.1
= 1.3.1 =
* Fixed: Fatal error: Call to undefined function add_term_meta()
= 1.3.0 =
* Tweak: Use the WordPress 4.4 term metas
= 1.2.1 =
* Tested with WordPress 4.4
= 1.2.0 =
* New: Convert the SPIP shortcodes <img>, <doc> and <emb>
= 1.1.0 =
* New: Add a link to the FAQ in the connection error message
= 1.0.2 =
* New: Code refactoring
* New: Update the plugin description
= 1.0.1 =
* New: Add a screen shot
* New: Add an help screen
= 1.0.0 =
* Initial version
== Upgrade Notice ==
= 2.4.2 =
Fixed: Display an error message when the process hangs
Tweak: Increase the speed of counting the terms
= 2.4.1 =
New: Add an option to import the medias from a local directory
New: Replace the tags by
New: Guess the SPIP version even if the database is wrongly encoded
New: Sanitize the wrong dates
Tested with WordPress 4.5.3
= 2.1.0 =
New: Prevent the import of duplicate posts
= 2.0.0 =
New: Run the import in AJAX
New: Add a progress bar
New: Add a logger frame to see the logs in real time
New: Ability to stop the import
New: Compatible with PHP 7
Tested with WordPress 4.5.2
= 1.9.0 =
Tested with WordPress 4.5
Compatible with SPIP 3.1
= 1.8.0 =
New: Process the SPIP anchors like [anchor<-]
New: Process the SPIP shortcodes -* (unordered list) and -# (ordered list)
= 1.7.0 =
New: Process the SPIP shortcodes like [anchor_text->img]
= 1.6.1 =
Fixed: Paragraphs line breaks were removed
= 1.6.0 =
New: Add a link when we choose "Import introduction in the content"
Fixed: Don't add an empty div is the excerpt is empty
= 1.4.0 =
Tested with WordPress 4.4.2
= 1.3.3 =
Fixed: Encoding issue of the texte field
= 1.3.2 =
New: Remove the IDs from the begining of the articles and categories titles
Fixed: Encoding issue of the texte field
Fixed: The import last indefinitely due to the encoding issue
Tested with WordPress 4.4.1
= 1.3.1 =
Fixed: Fatal error: Call to undefined function add_term_meta()
= 1.3.0 =
Tweak: Use the WordPress 4.4 term metas
= 1.2.1 =
Tested with WordPress 4.4
= 1.2.0 =
New: Convert the SPIP shortcodes <img>, <doc> and <emb>
= 1.1.0 =
New: Add a link to the FAQ in the connection error message
= 1.0.2 =
New: Code refactoring
New: Update the plugin description
= 1.0.1 =
New: Add a screen shot
New: Add an help screen
= 1.0.0 =
Initial version