Follow this screencast about creating a wiki with Drupal 7, Wikitools and Freelinking: http://www.youtube.com/watch?v=KHsjjHzYOSg

After several trials (including to testing server crash) we noticed that there is a infinite loop, because of freelinking. The memory becomes full and the server crashes sometimes.

The screencast is old. Wikitools and Freelinking are too. So maybe it is a problem with the current version of Drupal 7.

Comments

Godvicien’s picture

Hi,
Same bug located into the file:
freelinking\modules\freelinking_prepopulate\freelinking_prepopulate.utilities.inc:36

Solved by comment this code:

//  if ($plugin == 'nodecreate' && arg(0) == 'node' && is_numeric(arg(1)) && !arg(2)) {
//    $object = node_load(arg(1));
//  }

I don't no if these lines are important, bug now freelinking works perfectly on my Drupal-7-Wiki install...

Hope this help

derekwebb1’s picture

I have run into this same issue. Not sure what to do about it just yet. I tried loading the node with menu_get_item too and that bombed as well.

[edit] On second thought, you could write db queries to pull up the relevant node data. For instance, the terms related to this node.

gisle’s picture

Version: 7.x-3.2 » 7.x-3.x-dev
Issue summary: View changes
Status: Active » Closed (cannot reproduce)

I am unable to reproduce this with the HEAD of the 7.x-3.x branch of Freelinking and HEAD of the 7.x-1.x branch of Wikitools with these patches.

Wikitools also look pretty much abandoned, so do not recommend its use with Freelinking. If there is a Wikitools feature you would like to use with Freelinking, post a feature request in the Freelinking issue queue and I'll try to port it.