1
e-u-l-o-g-y
"XOOPS root path not defined" in two modules SOLVED

Hi!
I've just installed myalbum 2.8.4 under XOOPS 2.0.13.2, but when I try to access the album link in the main menu i get the following message:

XOOPS root path not defined

EDIT:
I first installed a couple of modules. Then after some tweaking (changing the language and setting it all up) i installed both myalbum 2.8.4 and newbb 2.02 and none of them work when I click the link on the main menu - but all the other modules work. I've installed another language in those modules too, but it doesn't help

Any suggestions on how to fix this?


SOLUTION:
I found out that smartpartner also had the same problem. After looking through the files I found that the current line didn't do what it was supposed to:

include "header.php";

This line was supposed to include header.php located in the same directory as the module, but instead it included hader.php in XOOPS root directory since I had included the XOOPS root directory to the include path. Perhaps module authors should only use absolute paths?

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!