formfields.com Forum Index formfields.com
FORMfields Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Troubleshooting Installation

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    formfields.com Forum Index -> SC Alpha - Bug Reports
View previous topic :: View next topic  
Author Message
formfields



Joined: 01 Aug 2005
Posts: 465

PostPosted: Thu Dec 28, 2006 3:52 pm    Post subject: Troubleshooting Installation Reply with quote

If when installing Secure you get an error like:
Code:

PHP Warning: main(.../FORMfields/FORMfields.php): failed to open stream: No such file or directory in C:\\usr\\myuser\\mydomain.com\\secure\\globals.php on line 5 PHP Warning: main(.../FORMfields/FORMfields.php): failed to open stream: No such file or directory in C:\\usr\\myuser\\mydomain.com\\secure\\globals.php on line 5 PHP Fatal error: main(): Failed opening required '.../FORMfields/FORMfields.php' (include_path='.;C:\\PHP\\pear') in C:\\usr\\myuser\\mydomain.com\\davismortgage.org\\secure\\globals.php on line 5

then you can fix this by editing all Secure *.php files be replacing all relative calls to require() with absolute calls. For example, globals.php:
Code:

require("globalVars.php");
require($GLOBALS["SECURE_FF_ROOT"] . "/FORMfields.php");
require("globalVarsX.php");
require("accounts.php");
require("globalFns.php");

would become:
Code:

require(dirname(__FILE__) . "/globalVars.php");
require($GLOBALS["SECURE_FF_ROOT"] . "/FORMfields.php");
require(dirname(__FILE__) . "/globalVarsX.php");
require(dirname(__FILE__) . "/accounts.php");
require(dirname(__FILE__) . "/globalFns.php");
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    formfields.com Forum Index -> SC Alpha - Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group