1
eHobayyeb
How do I install Protector 1,15?
  • 2008/4/1 18:32

  • eHobayyeb

  • Just popping in

  • Posts: 39

  • Since: 2007/2/27


Hi Guys,

I read in the Readme.txt some instructions but it is not very detailed instructions:

How can I define something in the mainfile.php as he said in this line?

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

Please I need a detail instructions not only for this line but for the whole installation

Thanks in advanced.

2
jcweb
Re: How do I install Protector 1,15?
  • 2008/4/1 20:44

  • jcweb

  • Quite a regular

  • Posts: 253

  • Since: 2005/4/25


See this link, theres a manual!

The second thing, look at your mainfile.php, the first looks like this, user must be your accountname on server:

// XOOPS Physical Path
    // Physical path to your main XOOPS directory WITHOUT trailing slash
    // Example: define('XOOPS_ROOT_PATH', '/srv/www/htdocs/user/wwwroot');
    
define('XOOPS_ROOT_PATH''/srv/www/htdocs/user/wwwroot');
    
define('XOOPS_TRUST_PATH''/srv/www/htdocs/user/wwwroot/trust');


Now the second entry:

if (!isset($xoopsOption["nocommon"]) && XOOPS_ROOT_PATH != "") {
        include 
XOOPS_ROOT_PATH."/include/common.php";
    }
}
?>


After you have fit the mainfile.php looks like this

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' ;
}
?>


Thats all! Try it on a non productive installation!

andy

3
Anonymous
Re: How do I install Protector 1,15?
  • 2008/4/1 20:44

  • Anonymous

  • Posts: 0

  • Since:


Quote:
eHobayyeb wrote:

How do I install Protector 1,15?


Not sure what you mean by 1.15 but since you mention xoops_trust_path then I assume you mean one of the Protector v3 series.

You have a choice of two; v3.04a which is the stable version and v3.16beta. Lots of folks are going for the beta version, me included. Get it here:

http://xoops.peak.ne.jp/md/mydownloads/singlefile.php?lid=105&cid=1

As for instructions, Madfish did an excellent guide for v3.02 which is available on GIJOE's site here:

http://library.fishbreeder.net/xoopsdocs/protector-3-02.pdf

It covers the xoops_trust_path definition perfectly and is applicable to either version of the module. Follow it step-by-step and you'll be fine

Please ask if you need more help.

4
Anonymous
Re: How do I install Protector 1,15?
  • 2008/4/1 20:46

  • Anonymous

  • Posts: 0

  • Since:


Quote:
jcweb wrote:

Thats all!


No it isn't!! xoops_trust_path needs defining in mainfile.php too. The guide that you and I linked to covers this.

5
jcweb
Re: How do I install Protector 1,15?
  • 2008/4/1 20:51

  • jcweb

  • Quite a regular

  • Posts: 253

  • Since: 2005/4/25


John thank you, i forget to drop in the trust path, in the time you correct me (thanks) i copy & paste!

andy

6
eHobayyeb
Re: How do I install Protector 1,15?
  • 2008/4/2 11:41

  • eHobayyeb

  • Just popping in

  • Posts: 39

  • Since: 2007/2/27


Yes, I mean 3.15 as I saw in this page:
http://sourceforge.net/project/showfiles.php?group_id=41586&package_id=105497

Thanks guys I try to follow the Manual and see.

7
Anonymous
Re: How do I install Protector 1,15?
  • 2008/4/2 11:43

  • Anonymous

  • Posts: 0

  • Since:


Go for 3.16beta

Let us know if you need more help/advice.

8
eHobayyeb
Re: How do I install Protector 1,15?
  • 2008/4/2 20:22

  • eHobayyeb

  • Just popping in

  • Posts: 39

  • Since: 2007/2/27


Thank you very much guys I've done it

9
Anonymous
Re: How do I install Protector 1,15?
  • 2008/4/2 21:47

  • Anonymous

  • Posts: 0

  • Since:



Login

Who's Online

332 user(s) are online (262 user(s) are browsing Support Forums)


Members: 0


Guests: 332


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