Reviewed & tested by the community
Project:
SPIP to Drupal
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Aug 2011 at 11:14 UTC
Updated:
9 Aug 2011 at 11:14 UTC
I couldn't import anything because of empty lines before the first { of the json code. I edited base.batch.inc to remove those empty characters and it worked :
$data = json_decode(substr($result->data, strpos($result->data, '{')));
trim() function did not work.