PDA

View Full Version : one install error


burple
03-30-2006, 03:15 AM
I have this error when trying to run install. I do not know what I am doing wrong to get rid of it.

Warning: main(/home/lawrence/public_html/global.php) [function.main]: failed to open stream: No such file or directory in /home/lawrence/public_html/sites/default/settings.php on line 40

Fatal error: main() [function.require]: Failed opening required '/home/lawrence/public_html/global.php' (include_path='.:/usr/local/lib/php:/usr/lib/php') in /home/lawrence/public_html/sites/default/settings.php on line 40

Please help

burple
03-30-2006, 03:46 AM
OK it appears I have my paths setup right now. But now I get this error when installing.

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/lawrence/public_html/sites/default/settings.php on line 42
Unsupported database type

I do not understand why it has an issue. I has vbdrupal installed before until it had a unrecoverable error.

sifuhall
03-30-2006, 07:49 AM
sounds like maybe something incorrect in your $vb_dir setting in config.php

What do you have that path set to?

burple
03-30-2006, 01:52 PM
Drupal is set to:
/home/lawrence/public_html/drupal

And I know the forum is right because I ran a path check program. It is:
/home/lawrence/public_html/forum

Both are in my public_html dir, so it should be right.

I has issues last time I installed drupal. It was giving me pretty much the same kind of errors. I ended up having to get a friend to install it.

But I would go in and modify the paths and one problem would go away and another would pop up. I have had it say everything from not able to open global.php file to not able to open/find includes/bootstrap.inc.

burple
03-30-2006, 02:21 PM
Nevermind guys I got it. I was not aware that my friend pulled all of the folder/files out of my drupal dir and put the straight into public_html. I corrected for that and it works. Thanks for all the help though.