1
River
Installing Protector
  • 2007/9/17 14:36

  • River

  • Just popping in

  • Posts: 39

  • Since: 2006/2/27


Hi

Completely new XOOPS 2.0.17 fresh installation, first module to install - protector3. I am having problem on define XOOPS_TRUST_PATH.

Following the readme file comes with the protector download. (It says):


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

1. I modified the mainfile.php by added a new line:
define('XOOPS_TRUST_PATH', '/home/xxxxx/public_html/anotherfolder');

Just after:

define('XOOPS_ROOT_PATH', '/home/xxxxx/public_html/xoops_site_folder');


2. I upload all contents in XOOPS_TRUST_PATH to home/xxxxx/public_html/anotherfolder and upload all contents of protector folder in html/modules folder to /home/xxxxx/public_html/xoops_site_folder

3. When I login as admin and go to mudles admin page, I get an error message:
set XOOPS_TRUST_PATH into mainfile.php

Can anyone tell me what have I done wrong?

Thank you

River

2
Anonymous
Re: Installing Protector
  • 2007/9/17 14:47

  • Anonymous

  • Posts: 0

  • Since:


Not sure what you've done wrong, but take a look at this excellent guide by Madfish.

3
skenow
Re: Installing Protector
  • 2007/9/17 15:29

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Quote:

River wrote:
Hi

Completely new XOOPS 2.0.17 fresh installation, first module to install - protector3. I am having problem on define XOOPS_TRUST_PATH.

Following the readme file comes with the protector download. (It says):


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

1. I modified the mainfile.php by added a new line:
define('XOOPS_TRUST_PATH', '/home/xxxxx/public_html/anotherfolder');

Just after:

define('XOOPS_ROOT_PATH', '/home/xxxxx/public_html/xoops_site_folder');

***

When I login as admin and go to mudles admin page, I get an error message:
set XOOPS_TRUST_PATH into mainfile.php

Can anyone tell me what have I done wrong?

Thank you

River


Did you change the properties of mainfile.php to be writable? Your changes may have been lost if you did not.

4
macmend
Re: Installing Protector
  • 2008/5/18 18:29

  • macmend

  • Quite a regular

  • Posts: 285

  • Since: 2004/2/27


the link to madfish does not seem to work
Free Mac Support

Ordinary Wisdom

apache server with php sshexec turned on
xoops version 2.0.18.1 & 2.3.1
php version 5.2.5
mysql version 5.0.45

5
macmend
Re: Installing Protector
  • 2008/5/18 18:36

  • macmend

  • Quite a regular

  • Posts: 285

  • Since: 2004/2/27


and is doesn't work and I can't understand a word of GI Joes description in his website, is there a chance that someone could upload the install tutorial or mail it to me?
Free Mac Support

Ordinary Wisdom

apache server with php sshexec turned on
xoops version 2.0.18.1 & 2.3.1
php version 5.2.5
mysql version 5.0.45

6
skenow
Re: Installing Protector
  • 2008/5/18 19:31

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Take a look at this - Starting a New XOOPS Site: Day 12, it has some decent explanations.

7
Anonymous
Re: Installing Protector
  • 2008/5/18 21:17

  • Anonymous

  • Posts: 0

  • Since:


Quote:
macmend wrote:

is there a chance that someone could upload the install tutorial or mail it to me?


You have email.

Pleased to help - let me know if you need to know more, but follow the guide to the letter and you will be fine

8
bikingman82
Re: Installing Protector
  • 2008/5/29 15:40

  • bikingman82

  • Just popping in

  • Posts: 8

  • Since: 2008/5/13


Hi I Installed protector on my XOOPS site and I am getting this error 2 or 3 times a day for several minutes and then the site is fine for awhile then the error will appear again. Can anyone help me out?


Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in C:\Sites\Single17\xxxxx\webroot\htdocs\modules\protector\include\precheck.inc.php on line 26

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in C:\Sites\Single17\xxxxx\webroot\htdocs\modules\protector\class\protector.php on line 44

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Sites\Single17\xxxxx\webroot\htdocs\modules\protector\class\protector.php on line 45

Notice: Undefined index: passwd_disabling_bip in C:\Sites\Single17\xxxxx\webroot\htdocs\modules\protector\include\precheck.inc.php on line 35

Notice: Undefined index: passwd_disabling_bip in C:\Sites\Single17\xxxxx\webroot\htdocs\modules\protector\include\precheck.inc.php on line 36

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in C:\Sites\Single17\xxxxx\webroot\htdocs\modules\protector\include\precheck.inc.php on line 37

Notice: Undefined index: reliable_ips in C:\Sites\Single17\xxxxx\webroot\htdocs\modules\protector\include\precheck.inc.php on line 44

Warning: Invalid argument supplied for foreach() in C:\Sites\Single17\xxxxx\webroot\htdocs\modules\protector\include\precheck.inc.php on line 46
This page cannot be displayed due to an internal error.

You can provide the following information to the administrators of this site to help them solve the problem:

Error: Unable to connect to database

9
Serap
Re: Installing Protector
  • 2008/5/29 16:14

  • Serap

  • Just popping in

  • Posts: 28

  • Since: 2007/9/4 2


I was not even be able to install it... good luck

10
Anonymous
Re: Installing Protector
  • 2008/5/29 16:49

  • Anonymous

  • Posts: 0

  • Since:


Quote:
Serap wrote:

I was not even be able to install it... good luck


The last couple of versions have been easier to install in that you can insert the pre- and post-check code into mainfile.php before installing the module.

Have another go and I'll help you if you get stuck. Your site will be a lot more secure with it installed.

Login

Who's Online

372 user(s) are online (241 user(s) are browsing Support Forums)


Members: 0


Guests: 372


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