Hi,

I have been through few tests using SPIP 1.9 and spip2drupal; for what I saw, it was going well, but since I'm a new drupal user, I didn't extensively tested the thing.

I recently have updated my SPIP 1.9.2 to SPIP 2.1.8 (mainly security reasons). Since then, I desperately try to migrate from SPIP 2 to drupal. It is from the very same website, except it has been updated to SPIP 2.1 since; no luck.

I haven't be able if it is because spip2drupal doesn't support support SPIP 2.

Could you confirm that spip2drupal does support it?

Comments

jonhattan’s picture

Status: Active » Postponed (maintainer needs more info)

I've tested with spip 2.0. Don't know differences with 2.1. Please report what error you're getting, if any.

psykotik’s picture

Actually, no error is displayed.

At the end of the import process, data which have been imported are reported. Data imported are mainly the taxonomies; no nodes (no pages, no news, no comments), no documents have been imported. This data used to be imported when using SPIP 1.9.

Which complementary information can I transmit you?

jonhattan’s picture

It is hard to track errors when in batch mode. Ensure you have error logging to a file enabled in php.ini and see if there's an error there.

btw I suppose a table name has changed in spip 2.1 or the json plugin needs some adjustment. You can test json is working for articles with a url of this form: http://spip-site.com/spip.php?page=json&id_article=4565

sa_phira’s picture

Hello
I have the same problem. I'm triying to migrate from spip 2.1.8 to drupal (6.20) , only Keywords , users and sections(rubriques) are imported(no articles, no comments), no documents.
But in my case it display at first "Empty result http://mydomain?page=json&id_rubrique=365" dump = NULL ".
And when i retry the process , i have no error
thanks

psykotik’s picture

StatusFileSize
new626 bytes
new92.41 KB
new47.92 KB
new47.12 KB

Hi jonhattan,

I run the import process again, logging it to a file (included to my message).

I also add three screenshots : the first depicting the top display from step 3 or 4, the second one showing the end of the process, and the last one displaying the result into the mysql database. Please also note except the first article (shown in the first screenshot), no more article is shown as imported during the process: a long, long blank space is displayed between first and second article.

Also, json plugin seems to work; when calling http://spip-site.com/spip.php?page=json&id_article=XXX, data is displayed.

Don't hesitate to ask for more tests or more information from my own.

jonhattan’s picture

Hi again.

First of all: sometimes, under some circumstances I've been unable to determine, a call to json fails. Perhaps it works the second time perhaps it doesn't work never.
When such a failure is detected you obtain the error "Empty result for ....." followed by "Dump:.. ". This is an attempt to obtain as much info as possible about the failure. I see a weird thing: whitespaces and the json result after. Normally on such failure I only get NULL or whitespaces. Do you obtain the same when visiting page=json&id_rubrique=57?

Also I see you get 0 sections imported (sections == rubriques). You have a failure for each rubrique?

btw the phpmyadmin screenshot is useless and the errors in php5.log are on the spip side. I can't say anything on them.

psykotik’s picture

Well, it could be easier if I send you my website address, couldn't? Since it is a private website containing data not meant to be publicly availabe, if you agree, I'll send the address using the drupal contact form.

Regarding your questions:
1/ Yes, the json's call "page=json&id_rubrique=57" answers exactly the same way.
2/ No, I don't have more failures for other rubriques... they're not mentionned at all during import process! At the top of the import, the text from screenshot1 is displayed. At the end, the text from screenshot2 is displayed. Nothing is found between theses texts :(

I also tried calling a buch of pages from the model "page=json&id_rubrique=57", replacing "57" with other rubrique numbers. It works, even though the same way that regarding "page=json&id_rubrique=57".

jonhattan’s picture

ok feel free to send me the url

sa_phira’s picture

Version: 6.x-2.x-dev » 6.x-1.x-dev

Hello i retried the process with the version 6x-1.x and spip 2.1 and now it's work !!???. i have all my spips articles in my drupal site.

anarchic teapot’s picture

edit - posted in wrong place

psykotik’s picture

Never heard about you after my proposition, but here is how I have been able to partly fix my issue:

1/ No plugin activation
2/ Empty cache folder /SPIP/tmp/cache
3/ Activate json's plugin

I am still unable to import news ("breves"), which seems pretty normal since visiting /SPIP/?page=json&id_breve=XXX always returns "null" text.

Beside that (not so small) issue, I can confirm spip2drupal works together with spip 2.1.

anarchic teapot’s picture

Sorry about my silence. I'd tried your solution already, but it didn't work.

I've moved my blog to Wordpress, merging it with the one I had one Blogger, and copied my posts across by hand. I have another site using Spip which I may have another go at migrating later, but unfortunately my hosting service only accepts Drupal 6. I'm wondering if this isn't part of the problem.