1
xtremepr
Error installing Protector 3.0
  • 2007/5/23 18:39

  • xtremepr

  • Just popping in

  • Posts: 32

  • Since: 2006/8/3 0


When I edit mainfile.php to add:

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'

I get the following error on my website


Warning: main(home/puertori/xoop_trust_path/modules/protector/include/precheck.inc.php): failed to open stream: No such file or directory in /home/puertori/public_html/mainfile.php on line 179

Warning: main(home/puertori/xoop_trust_path/modules/protector/include/precheck.inc.php): failed to open stream: No such file or directory in /home/puertori/public_html/mainfile.php on line 179

Warning: main(): Failed opening 'home/puertori/xoop_trust_path/modules/protector/include/precheck.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/puertori/public_html/mainfile.php on line 179


Any ideas? It seems that everything its define well.

2
stefan88
Re: Error installing Protector 3.0
  • 2007/5/23 19:24

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

I believe you missed the first step:

Quote:
First, define XOOPS_TRUST_PATH into mainfile.php if you've never done it yet.


..

3
snow77
Re: Error installing Protector 3.0
  • 2007/5/23 19:30

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


There's a video tutorial in spanish about Protector by Riosoft here:
http://www.esxoops.com/modules/news/article.php?storyid=620

or a guide in english by Madfish here:
http://www.crushdepth.net/modules/tinyd0/

...just in case you wish to overview the installation process once again.

4
xtremepr
Re: Error installing Protector 3.0
  • 2007/5/24 7:16

  • xtremepr

  • Just popping in

  • Posts: 32

  • Since: 2006/8/3 0


Quote:

stefan88 wrote:
Hi,

I believe you missed the first step:

Quote:
First, define XOOPS_TRUST_PATH into mainfile.php if you've never done it yet.




I thought that the 1st 5 lines of my original post meant I was defining XOOPS_TRUST_PATH into mainfile.php

5
MadFish
Re: Error installing Protector 3.0
  • 2007/5/24 8:04

  • MadFish

  • Friend of XOOPS

  • Posts: 1056

  • Since: 2003/9/27


No, the definition is a separate line that goes in first.

Please read the user guide, the order in which you do the installation steps is important. You need to actually install the module *before* adding the include xoops_trust_path lines.

Login

Who's Online

336 user(s) are online (278 user(s) are browsing Support Forums)


Members: 0


Guests: 336


more...

Donat-O-Meter

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

Latest GitHub Commits