1
In 2.5.5, if I set the Xoops Trust Path manually in mainfile.php, e.g.
define("XOOPS_TRUST_PATH", 'C:/apachefriends/xampp/htdocs/myxoops-trust-path');
instead of the default:
define("XOOPS_TRUST_PATH", XOOPS_PATH);
I get a blank page on loading the module install page. Debug says:
Fatal error: Class 'ProtectorRegistry' not found in C:apachefriendsxampphtdocsmyxoopsmodulesprotectormytrustdirname.php on line 8
Protector is not installed, but it looks like the hard-coded $mytrustdirname variable in that file is causing the problem. If I remove the protector folder it works. Not sure if there is a way to resolve that? (to avoid others having the same issue). Quite a few modules use the trust path and not everyone will install Protector.
On a side note, it appears that the Xoops DHTML editor strips out back-slashes inside 'code' tags, which is why the above path is all one word.
![](https://xoops.org/uploads/smil42e7a3ff4ceee.gif)
It is properly formed in the debug report.