1
oldenough
Protector won't work!
  • 2007/2/20 14:57

  • oldenough

  • Just popping in

  • Posts: 76

  • Since: 2006/12/11


I have installed a brand new 2.016. Only system module installed. I have made a trust path folder outside web area. And in there /modules/protector/(all files & folders)
And in /modules in XOOPS all the "html"-files & folders.

In mainfile.php below define XOOPS url I added:

define('XOOPS_TRUST_PATH''/path1/path2/home/xxxxx/trustdir');


Almost at the bottom of mainfile.php I typed:

include XOOPS_TRUST_PATH.'/modules/protector/include/precheck.inc.php' ;
    if (!isset(
$xoopsOption['nocommon']) && XOOPS_ROOT_PATH != '') {
        include 
XOOPS_ROOT_PATH."/include/common.php";
    }
    include 
XOOPS_TRUST_PATH.'/modules/protector/include/postcheck.inc.php' ;
}
?> (EOF)


And then, when trying to access my url I got a blank page stating:

DB connection failed, or wrong XOOPS_DB_PREFIX in mainfile.php, or broken config table, or broken Protector installation.

And I can't get any further. When I uncomment all these changes i manifile.php my XOOPS cant find any module either...

So I am lost...Anyone any idea???

2
Anonymous
Re: Protector won't work!
  • 2007/2/20 15:17

  • Anonymous

  • Posts: 0

  • Since:


Post edited as it was garbage!

3
oldenough
Re: Protector won't work!
  • 2007/2/20 15:21

  • oldenough

  • Just popping in

  • Posts: 76

  • Since: 2006/12/11


I SOLVED IT!

The last two lines shall not be included into mainfile.php before the module is installed!

First move the module files&folders into the modules folder, the create the TRUST PATH folder and move the files & folders belonging there into it and then

--> add the define XOOPS trust path into mainfile.php

-->Install the module

--and finally--->put the last two lines into mainfile.php

-->SMILE & have a lager

4
Anonymous
Re: Protector won't work!
  • 2007/2/20 15:26

  • Anonymous

  • Posts: 0

  • Since:


Fantastic



Just seen that theres a new v3.01a available......oh well, time to upgrade

Login

Who's Online

227 user(s) are online (173 user(s) are browsing Support Forums)


Members: 0


Guests: 227


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits