NationStates Jolt Archive


Need PHP Buffs to Help Me

The Macabees
25-03-2005, 22:06
Ok, I'm trying to set up my boards but when I go to the install page I get:

Warning: main(./../language/lang_english/lang_main.php): failed to open stream: No such file or directory in /www/m/modernwarstu/htdocs/worldatwar/install/install.php on line 450

Warning: main(./../language/lang_english/lang_main.php): failed to open stream: No such file or directory in /www/m/modernwarstu/htdocs/worldatwar/install/install.php on line 450

Warning: main(): Failed opening './../language/lang_english/lang_main.php' for inclusion (include_path='.:/usr/local/php4/lib/php') in /www/m/modernwarstu/htdocs/worldatwar/install/install.php on line 450

Warning: main(./../language/lang_english/lang_admin.php): failed to open stream: No such file or directory in /www/m/modernwarstu/htdocs/worldatwar/install/install.php on line 451

Warning: main(./../language/lang_english/lang_admin.php): failed to open stream: No such file or directory in /www/m/modernwarstu/htdocs/worldatwar/install/install.php on line 451

Warning: main(): Failed opening './../language/lang_english/lang_admin.php' for inclusion (include_path='.:/usr/local/php4/lib/php') in /www/m/modernwarstu/htdocs/worldatwar/install/install.php on line 451


----------

my lang_admin is uploaded.
The Macabees
25-03-2005, 22:10
Bah! Nevermind...one of my folder names was wrong!
Tanara
25-03-2005, 22:16
LOL Don't worry pleanty such happened to me when I was first setting up my board, but PHP sure tries hard to be user friendly. Even tech ignorant lil ole me got a pretty good board out of it.

Best of luck on the rest of it!
The Cat-Tribe
25-03-2005, 22:22
Oh. I thought it said PCP .... Nevermind. :D
The Macabees
25-03-2005, 22:24
Alright, new problem! w00t!

phpBB : Critical Error

Could not connect to the database

What does that mean? And what do I do about it?
Goobergunchia
25-03-2005, 22:30
Means what it says. Either you entered your database information incorrectly or your database is down (probably due to server load or something).
The Mindset
25-03-2005, 22:32
That means the boards cannot connect to your MySQL database, either because they're down, or because you've pointed them somewhere wrong. In your main PhpBB directory, there should be a file called config.php - check that the MySQL username/password is correct, reupload, and try loading the page again.
The Macabees
25-03-2005, 22:38
I tried that but my config. file has nothing in it..it's blank..and I don't think my server is down... hmm
The Mindset
25-03-2005, 23:02
If your config file is blank, then setup failed. You'll need to chmod config.php 777 (?) so it's writeable by the setup script. Then, you'll need to rerun it.