Re: Installation Issue - Failed to Open Stream
List posts in the topic
Re: Installation Issue - Failed to Open Stream
msg# 1.1.1
Hmm well, I installed 3, & I had written it wrong (as in not 'trust_path'; I was following directions off another site) but even after the repair I got the following errors -
Warning: include(home/NAMEOMITTED/xoops-secure/modules/protector/include/precheck.inc.php) [function.include]: failed to open stream: No such file or directory in /home/NAMEOMITTED/public_html/index/mainfile.php on line 103
Warning: include() [function.include]: Failed opening 'home/NAMEOMITTED/xoops-secure/modules/protector/include/precheck.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/NAMEOMITTED/public_html/index/mainfile.php on line 103
I believe the following are the relavent code areas. Perhaps reviewing them will help you see what I've done wrong.
if ( !defined("XOOPS_MAINFILE_INCLUDED") ) {
define("XOOPS_MAINFILE_INCLUDED",1);
// XOOPS Physical Path
define('XOOPS_ROOT_PATH', '/home/NAMEOMITTED/public_html/index');
// XOOPS Virtual Path (URL)
define('XOOPS_URL', 'http://URL-OMITTED/index');
// XOOPS Trust Path
define('XOOPS_TRUST_PATH', 'home/NAMEOMITTED/xoops-secure');
--- & ----
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' ;
}
Thanks for your time!
Votes:0
Average:0.00
Posts tree