9
it seems the code
$xoopsConfig['root_path'] is not longer being supported in XOOPS 2.4.1 and hence Xdocman is not displaying in the public side.
On changing
line 40 on Xdocman/download.php
line 39 on Xdocman/manual.php
line 39 on Xdocman/index.php
from
Quote:
include ($xoopsConfig['root_path']."header.php");
to
Quote:
include (XOOPS_ROOT_PATH."/header.php");
line 112 on Xdocman/manual.php
line 103 on Xdocman/index.php
from
Quote:
include ($xoopsConfig['root_path']."footer.php");
to
Quote:
include (XOOPS_ROOT_PATH."/footer.php");
amd line 100 on Xdocman/index.php
from
Quote:
$xoopsTpl->assign ('modroot', $xoopsConfig['root_path'] . "modules/xdocman/");
to
Quote:
$xoopsTpl->assign ('modroot', XOOPS_ROOT_PATH."/modules/xdocman/");
The module is now available on the frontend i.e the public side is displaying. But still I am not able to upload files.
Error on admin side after making above changes are:
Quote:
Warning: include_once(/modules/news/class/class.newsstory.php) [function.include-once]: failed to open stream: No such file or directory in file /modules/xdocman/admin/index.php line 40
Warning: include_once() [function.include]: Failed opening '/modules/news/class/class.newsstory.php' for inclusion (include_path='.;/xampp/php/pear/') in file /modules/xdocman/admin/index.php line 40