Base path question

gjensen

New member
Joined
Jun 17, 2005
Messages
2
Hi:

Iam a novice user. I am trying to add a php clssified section to my website.I am getting the error below. Do I have a base path configured wrong? I am not used to having many domains on same web host.. Thanks for your help

Warning: main(/domains/first7days.com/declassified/path_cnfg.php): failed to open stream: No such file or directory in /home/family/domains/first7days.com/public_html/declassified/admin/index.php on line 3

Fatal error: main(): Failed opening required '/domains/first7days.com/declassified/path_cnfg.php' (include_path='.:/usr/local/lib/php') in /home/family/domains/first7days.com/public_html/declassified/admin/index.php on line 3
 
Yes it's wrong and you need to fix it.
Either do it relatively or use the full path in which case you need to add

/home/username before the /domains, replacing username with your username.

So it would look something like
/home/smith/domains/first7days.com/declassified/path_cnfg.php
 
base path

Thanks for the info. I changed the base path now I'm getting this error:

Warning: main(home/family/first7days.com/declassified/path_cnfg.php): failed to open stream: No such file or directory in /home/family/domains/first7days.com/public_html/declassified/index.php on line 15

Fatal error: main(): Failed opening required 'home/family/first7days.com/declassified/path_cnfg.php' (include_path='.:/usr/local/lib/php') in /home/family/domains/first7days.com/public_html/declassified/index.php on line 15

? Could include_path='.:/usr/local/lib/php' have anything to do with the problem
 
You still missing a domains directory somwhere in there.
Once you get that it should work, assuming that is the location where the file is uploaded... ;)
 
Back
Top