1
MadCat
set XOOPS_TRUST_PATH into mainfile.php ??
  • 2009/10/1 16:17

  • MadCat

  • Just popping in

  • Posts: 72

  • Since: 2004/6/18


In an other site ver 2.016 when i try to go to the administrator panel it shows me the follow message

set XOOPS_TRUST_PATH into mainfile.php

2
sailjapan
Re: set XOOPS_TRUST_PATH into mainfile.php ??

Your mainfile.php needs editing with the path of the xoops_data and xoops_lib folders. Read the instructions that come with the module and/or the 2.3.3 upgrade

If you don't understand 'path' read this FAQ

3
hamzehnasor
Re: set XOOPS_TRUST_PATH into mainfile.php ??
  • 2009/10/3 18:49

  • hamzehnasor

  • Just popping in

  • Posts: 5

  • Since: 2009/10/3


that the path to where u have ur files i guess

4
iHackCode
Re: set XOOPS_TRUST_PATH into mainfile.php ??

PeakXoops: XOOPS_TRUST_PATH concept
the XOOPS_TRUST_PATH is a folder that is not in the documentroot(aka, htdocs or public_html). the use of this folder is to add a bit of security to your files, an increasing amount of modules are using this concept.
define('XOOPS_TRUST_PATH','absolute path to a folder out of documentroot');


in versions of XOOPS 2.3+ the XOOPS_TRUST_PATH is the same as the XOOPS_PATH constant, but in 2.3+ a folder is supplied with some files needed for the included modules package.

From 2.3x:
// For forward compatibility
// Physical path to the XOOPS library directory WITHOUT trailing slash
define'XOOPS_PATH''absolute path to the xoops_lib folder' );
// Physical path to the XOOPS datafiles (writable) directory WITHOUT trailing slash
define'XOOPS_VAR_PATH''absolute path to the xoops_data folder' );
// Alias of XOOPS_PATH, for compatibility, temporary solution
define("XOOPS_TRUST_PATH"XOOPS_PATH);

the xoops_data folder is the 'XOOPS_VAR_PATH' constant
the xoops_lib folder is the 'XOOPS_PATH' constant
the 'XOOPS_PATH' and 'XOOPS_TRUST_PATH' are the same thing.

5
ghia
Re: set XOOPS_TRUST_PATH into mainfile.php ??
  • 2009/10/5 16:04

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
in versions of XOOPS 2.3+ the XOOPS_TRUST_PATH is the same as the XOOPS_PATH constant, but in 2.3+ a folder is supplied with some files needed for the included modules package.

I think there is something not logical in that sentence.

Login

Who's Online

245 user(s) are online (153 user(s) are browsing Support Forums)


Members: 0


Guests: 245


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