Postponed (maintainer needs more info)
Project:
SPIP to Drupal
Version:
6.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 May 2011 at 18:02 UTC
Updated:
12 Aug 2011 at 16:45 UTC
Comments
Comment #1
anarchic teapot commentedI got this error
An error occurred. /?q=batch&id=8&op=do <br /> <b>Fatal error</b>: Call to undefined function json_decode() in <b>/mnt/151/sdb/d/6/zongoland/sites/all/modules/spip2drupal-6.x-2.x-dev/spip2drupal/operations/base.batch.inc</b> on line <b>133</b><br />SPIP version: SPIP 2.1.10 [17657] json plugin is intalled and enabled.
Drupal version 6.22
Hosting service: Free.fr (yes I know they suck, I'm trying to merge my databases and get the hell out of there to a decent provider)
Comment #2
psykotik commentedHi anarchic,
Try to unactivate your plugins. In my experience, even though I have never been able to import "news", I could import pages unactivating a couple plugins preventing the json module to do its job.
Comment #3
anarchic teapot commentedNope, the only plugin I have is json, and it's still not happening. Interestingly, I got this error when I logged into my Drupal site today:
warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /mnt/151/sdb/d/6/zongoland/sites/all/modules/spip2drupal-6.x-2.x-dev/spip2drupal/spipauth.module on line 148.I'll deactivate all my other Drupal modules to see if that helps.
Comment #4
gaëlgWhen import fails, it seems like you need to manually empty the spip_cache table before you try to import again.
Comment #5
jonhattandbourrion: without an error message it is almost imposible to help you.
anarchic teapot: it seems your hosting's php version doesn't have json_decode() function.
GaëlG: spip_cache is populated of good data (or it is intended to) and it's used to alleviate the heavy load of importing sites with a lot of articles (26k the last I work on). Generally I do full imports several times while I do shape drupal or the module to fit the needs of the project while source data doesn't change.
To all: please open separete issues for separate problems. It is free ;)