Wiki Book Bug
xing • 27 Dec 2005 (13:24 UTC)

You have 2 options:
Option 1 - replace the file
You can replace the current version of liberty/LibertyStructure.php with this one:download the zip file and extract it in your bitweaver root directory.
Option 2 - Edit the file manually
or you can manually modify the file in question:liberty/LibertyStructure.php line 496:
<?php
494: $query = "SELECT `content_id`
495: FROM `".BIT_DB_PREFIX."tiki_structures`
496: WHERE `structure_id`=?";
?>
should be changed to:
<?php
494: $query = "SELECT `content_id`
495: FROM `".BIT_DB_PREFIX."tiki_structures`
496: WHERE `structure_id`=? AND `structure_id`=`root_structure_id`";
?>
sorry for the inconvenience,