PDA

View Full Version : 3 install errors


hispanicvibes
03-08-2006, 10:39 PM
hello,

can someone help me with these errors please?

Warning: chdir(): No such file or directory (errno 2) in /home/virtual/site48/fst/var/www/html/cms/sites/default/settings.php on line 22

Warning: main(/hispanicvibes.com/global.php): failed to open stream: No such file or directory in /home/virtual/site48/fst/var/www/html/cms/sites/default/settings.php on line 40

Fatal error: main(): Failed opening required '/hispanicvibes.com/global.php' (include_path='.:/usr/share/pear') in /home/virtual/site48/fst/var/www/html/cms/sites/default/settings.php on line 40

thank you

sifuhall
03-09-2006, 12:23 AM
sounds like your paths are set correct in the site->default->config.php file

hispanicvibes
03-09-2006, 01:21 AM
sounds like your paths are set correct in the site->default->config.php file
any idea why i am getting the errors?

thanks,

daniel

sifuhall
03-09-2006, 08:16 AM
What do you have your paths set to in the site->default->config.php file?

hispanicvibes
03-09-2006, 08:28 AM
What do you have your paths set to in the site->default->config.php file?
hello,

here are my settings:

// Example:
// $vb_dir = '/path/to/forum';
//
$vb_dir = '/hispanicvibes.com';

and

// Example:
// $drupal_dir = '/path/to/drupal';
// or
// $drupal_dir = '/path/to/forum/drupal';
//
$drupal_dir = '/hispanicvibes.com/cms';

(i renamed the directory to cms)

thank you,

daniel

Don 944 LA
03-09-2006, 10:15 AM
I am having a similar problem, and it seems that it's the paths.

are the paths relative or do I put in the whole path.
For instance, I have a sub dir setup for testing purpose, so that I can do things under "localhost/whatever/whatever" and when happy with it, point a domain(s) to it.Here is what I have in the config file.


$vb_dir = '/srv/www/htdocs/free-mp3.com_vbd1/forum';
$drupal_dir = '/srv/www/htdocs/free-mp3.com_vbd1/news';


The "news" directory is where I put VBDrupal.
The "forum" directory contains a working VB.

hispanicvibes
03-09-2006, 10:28 AM
I am having a similar problem, and it seems that it's the paths.

are the paths relative or do I put in the whole path.
For instance, I have a sub dir setup for testing purpose, so that I can do things under "localhost/whatever/whatever" and when happy with it, point a domain(s) to it.Here is what I have in the config file.


The "news" directory is where I put VBDrupal.
The "forum" directory contains a working VB.
have you seen these instructions?
http://www.vbdrupal.org/

my problem was that i was using the instructions that came in the .zip file

-daniel

sifuhall
03-09-2006, 11:17 AM
hello,

here are my settings:

// Example:
// $vb_dir = '/path/to/forum';
//
$vb_dir = '/hispanicvibes.com';

and

// Example:
// $drupal_dir = '/path/to/drupal';
// or
// $drupal_dir = '/path/to/forum/drupal';
//
$drupal_dir = '/hispanicvibes.com/cms';

(i renamed the directory to cms)

thank you,

daniel

By looking at your original post it appears your webhost is running Ensim, correct?

If so make sure you alias the admin and user directories if you plan on using clean URLs.

Regarding your paths give this a try:

$vb_dir = '/home/virtual/site48/fst/var/www/html/';
$drupal_dir = ' $vb_dir = '/home/virtual/site48/fst/var/www/html/cms/';

This assumes your vbulletin is installed in your html root.

hispanicvibes
03-09-2006, 11:33 AM
By looking at your original post it appears your webhost is running Ensim, correct?

If so make sure you alias the admin and user directories if you plan on using clean URLs.

Regarding your paths give this a try:

$vb_dir = '/home/virtual/site48/fst/var/www/html/';
$drupal_dir = ' $vb_dir = '/home/virtual/site48/fst/var/www/html/cms/';

This assumes your vbulletin is installed in your html root.

yes, we use Ensim, that is correct.

i just corected the paths...

works great!

thank you,

daniel

Dave|Xoxide
03-30-2006, 03:12 PM
I get the same message if i use

$vb_dir = '/home/httpd/vhosts/thirdgen.org/httpdocs/techboards';
$drupal_dir = '/home/httpd/vhosts/thirdgen.org/httpdocs/vbdrupal';

I get this message if I use:

$vb_dir = '/techboards';
$drupal_dir = '/vbdrupal';

Warning: chdir(): No such file or directory (errno 2) in /home/httpd/vhosts/thirdgen.org/httpdocs/vbdrupal/sites/default/settings.php on line 22

Warning: main(): open_basedir restriction in effect. File(/techboards/global.php) is not within the allowed path(s): (/home/httpd/vhosts/thirdgen.org/httpdocs:/tmp) in /home/httpd/vhosts/thirdgen.org/httpdocs/vbdrupal/sites/default/settings.php on line 40

Warning: main(/techboards/global.php): failed to open stream: Operation not permitted in /home/httpd/vhosts/thirdgen.org/httpdocs/vbdrupal/sites/default/settings.php on line 40

Fatal error: main(): Failed opening required '/techboards/global.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/thirdgen.org/httpdocs/vbdrupal/sites/default/settings.php on line 40

I figure 3 is better than 4, but neither make it work which is what i'm really shooting for.
Any Ideas?

Ohiosweetheart
04-03-2006, 12:10 PM
same error here!!

I have the config.php set to:


// You vBulletin files directory:
// main directory where your vBulletin files resides, without trailing slashes
// Example:
// $vb_dir = '/path/to/forum';
//
$vb_dir = '/home/exquisitelyerotic.net/public_html/forums';

// Your Drupal files directory
// main directory where your Drupal files resides, without trailing slashes
// This directory can be above, below, or parallel to your forum files.
// Example:
// $drupal_dir = '/path/to/drupal';
// or
// $drupal_dir = '/path/to/forum/drupal';
//
$drupal_dir = '/home/exquisitelyerotic.net/public_html/forums/drupal';


Is this not correct? If not, what is? I can't figure it out for anything

sifuhall
04-03-2006, 12:31 PM
If you have command line access (telnet, ssh, etc) you can always navigate to the locations in question and enter:

pwd

to find your current path.

Dave|Xoxide
04-03-2006, 09:10 PM
This is one of the easiest things EVER to install ( once i figured out what "I" did wrong )

double check the name of your directory, that was my mistake it was "techboard" NOT "techboards" the "s" made all the difference.

Also you may need to use the real path instead of the virutal path.
contact your webhost to get the details on that.