28
Dear mrphilong
To upgrade the former HACK
xoops 2.3.1 htdocs\class\model\sync.php line 63 – 701
if (empty($this->handler->table_link) || empty($this->handler->field_link)) {
trigger_error("The linked table is not set for '" . get_class($this->handler) . "' yet.", E_USER_WARNING);
return null;
}
if (empty($this->handler->field_object)) {
$this->handler->field_object = $this->handler->field_link;
}
Change XOOPS 2.3
if (empty($this->handler->table_link) || empty($this->handler->field_link)) {
trigger_error("The linked table is not set yet.", E_USER_WARNING);
return null;
}
or
newbb/include/plugin.php line 36~40
// perform forum/topic synchronization on module update
$customConfig["syncOnUpdate"] = true;
// time for pending/deleted topics/posts, expired one will be removed automatically, in days; 0 or no cleanup
$customConfig["pending_expire"] = 1;
Change
// perform forum/topic synchronization on module update
$customConfig["syncOnUpdate"] = false;
// time for pending/deleted topics/posts, expired one will be removed automatically, in days; 0 or no cleanup
$customConfig["pending_expire"] = 0;
Module data updated. OK.
But
If a direct upgrade
after updating the module, all the data in newbb were deleted.
This is the question I am troubled,
can not find the real cause.
Kính chúc quý v? m?nh kh?e và bình an.