Register / Login

 StringTwo Forum
Welcome Guest   [Register]  [Login]
 Subject :Path problem?.. 2009-08-18 09:29:25 Tuesday 
darmitage
Joined: 2009-08-18 09:04:00 Tuesday
Posts: 5
Location

I am getting the following message when I attempt to run config_test:

 

Warning: main(class.phpmailer.php): failed to open stream: No such file or directory in /home/content/d/a/r/darmitage/html/rev2/Scripts/Widgets/s2_form_highrise/functions.php on line 15

Fatal error: main(): Failed opening required 'class.phpmailer.php' (include_path='.:/usr/local/lib/php:/home/content/d/a/r/darmitage/html/s2_form_highrise/phpmailer/:/home/content/d/a/r/darmitage/html/s2_form_highrise/phpmailer/language/:') in /home/content/d/a/r/darmitage/html/rev2/Scripts/Widgets/s2_form_highrise/functions.php on line 15

I suspect is is a path problem, but I have checked the config file over pretty carefully and I don't see my problem.  Any ideas?

IP Logged
 Subject :Re:Path problem?.. 2009-08-18 09:41:10 Tuesday 
kyleh
Joined: 2009-07-02 09:29:15 Thursday
Posts: 14
Location
 

Are the files in your document root or in a subdirectory?  You can check by adding the file phpinfo.php to your root directory and include the following in the phpinfo.php file - <?php phpinfo() ?>.  Load the file in your browser.  If you scroll down towards the bottom of the page you will see a section titled PHP Variables.  The second line will give you your document root path.  After you get that information remove the phpinfo.php file from the directory.

The /s2_form_highrise folder needs to be located off of the document root path.  Let me know if that helps.

IP Logged
 Subject :Re:Path problem?.. 2009-08-18 09:59:40 Tuesday 
darmitage
Joined: 2009-08-18 09:04:00 Tuesday
Posts: 5
Location

Ok, I moved the s2_form_highrise folder up to my site root.  That wasn't where I had it.

Did you want me to create a new file phpinfo.php?  If so was I then supposed to run the config_test, and was that supposed to write to this file?

IP Logged
 Subject :Re:Path problem?.. 2009-08-18 09:01:38 Tuesday 
kyleh
Joined: 2009-07-02 09:29:15 Thursday
Posts: 14
Location
 
No need.  If you have the s2 directory off your root everything should work properly.  I just wanted to make sure it was off the root directory.
IP Logged
 Subject :Re:Path problem?.. 2009-08-18 09:14:25 Tuesday 
darmitage
Joined: 2009-08-18 09:04:00 Tuesday
Posts: 5
Location

Thanks....working now.

 

It would be 'neater' is I could specify a path in the config.  That way I could keep my root nice and clean.

IP Logged
 Subject :Re:Path problem?.. 2010-01-15 10:07:19 Friday 
Elias
Joined: 2009-12-15 09:21:19 Tuesday
Posts: 1
Location

Question: What needs modified in order to run this in a sub-directory? It looks like the functions.php file is encrypted - though we're running this setup into an SVN repository - and have it so it's within a sub-directory.

 

Any thoughts? Cheers.

IP Logged
Page # 


Powered by ccBoard


Online Store


List All Products





Lost Password?
Forgot your username?
No account yet? Register

Official PayPal Seal

StringTwo Blog

Popular Forum Topics

StringTwo @Twitter

Basic authentication is not supported