24
Quote:
this is confusing i thought xoops_lib = xoops_trust_path
Yes, it is a little bit confusing, so let me explain differently.
And let's forget about XOOPS_TRUST_PATH for right now.
"xoops_lib" and "xoops_data" are directories, which are locations for "XOOPS_PATH" and "XOOPS_VAR_PATH" respectively, and they should be located outside of your "DocumentRoot", which in your case is C:/Program Files/xampp/htdocs/testing'.
You mainfile.php should be:
Quote:
// Physical path to the XOOPS documents (served) directory WITHOUT trailing slash
define( 'XOOPS_ROOT_PATH', 'C:/Program Files/xampp/htdocs/testing' );
// For forward compatibility
// Physical path to the XOOPS library directory WITHOUT trailing slash
define( 'XOOPS_PATH', 'C:/Program Files/xampp/xoops_lib' );
// Physical path to the XOOPS datafiles (writable) directory WITHOUT trailing slash
define( 'XOOPS_VAR_PATH', 'C:/Program Files/xampp/xoops_data' );
// Alias of XOOPS_PATH, for compatibility, temporary solution
define("XOOPS_TRUST_PATH", XOOPS_PATH);
Some modules, especially D3 modules developed by GIJOE, use the variable "XOOPS_TRUST_PATH". In order to make sure that they work, you point "XOOPS_TRUST_PATH" to "XOOPS_PATH":
Quote:
define("XOOPS_TRUST_PATH", XOOPS_PATH);
which then points to C:/Program Files/xampp/xoops_lib.
As you can see, "XOOPS_TRUST_PATH" and "XOOPS_PATH" are pointers to the same directory.
Please note: it's always good to change the name of the directory "xoops_lib" and "xoops_data", to something random. So if you change it to "20090128lib" and "01282009data", your mainfile.php would look like this:
Quote:
// Physical path to the XOOPS documents (served) directory WITHOUT trailing slash
define( 'XOOPS_ROOT_PATH', 'C:/Program Files/xampp/htdocs/testing' );
// For forward compatibility
// Physical path to the XOOPS library directory WITHOUT trailing slash
define( 'XOOPS_PATH', 'C:/Program Files/xampp/20090128lib' );
// Physical path to the XOOPS datafiles (writable) directory WITHOUT trailing slash
define( 'XOOPS_VAR_PATH', 'C:/Program Files/xampp/01282009data' );
// Alias of XOOPS_PATH, for compatibility, temporary solution
define("XOOPS_TRUST_PATH", XOOPS_PATH);
Hope it helps a little...