Skip to main content

Timeline for Problem by creating nodes in loop

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Sep 5, 2013 at 8:13 answer added pico34 timeline score: 1
Sep 5, 2013 at 3:21 answer added Jimajamma timeline score: 1
Jun 16, 2013 at 19:51 comment added Jimajamma Objects are passed by reference in PHP; therefore $node->nid is being set after your first go around the for loop. If $node->nid is set, no new node is created, so, I'd unset($node->nid) after each node_save() and give it another try.
Jun 16, 2013 at 16:34 comment added AgA Better run this script using Drush. It's very easy to use it for running scripts. It'll automaticaaly bootstrap Drupal.
Jun 16, 2013 at 15:52 review First posts
Jun 16, 2013 at 16:24
Jun 16, 2013 at 15:35 history asked mm28 CC BY-SA 3.0