i need help with.....

Zangetsu

New Member
Messages
491
Reaction score
1
Points
0
hi

i need help with a web page im trying to install it but it cant connect to the sql database even though i typed in all the correct names and passwords:dunno:
 

woiwky

New Member
Messages
390
Reaction score
0
Points
0
Could you post the code you're using as well as the error you're getting? Without being able to see the code or the error, I can't really say what it is that's wrong. Exclude the user/password info, of course.
 

Zangetsu

New Member
Messages
491
Reaction score
1
Points
0
i dunno where to get the code but i am getting this

Problems

* Could not connect to the database: Connection attempt failed
 

woiwky

New Member
Messages
390
Reaction score
0
Points
0
That's a custom error from the looks of it, so that leaves it rather ambiguous. If you can't get code, I would recommend confirming that the host name, username, and password are all correct.

Where did you get the site's files from by the way?
 

woiwky

New Member
Messages
390
Reaction score
0
Points
0
That'd be more of a last resort.

Anyway, try opening the config.inc.php file in the 'inc' directory and make sure that the first 4 define() statements are setting the correct values. You should *not* see this:

PHP:
//The name of the database within which SE resides
define("DATABASE", "database name");

//The username required to access the database
define("DATABASE_USER", "database user");

//The password required to access the database.
define("DATABASE_PASSWORD", "database password");
 

Zangetsu

New Member
Messages
491
Reaction score
1
Points
0
i see

Code:
<?php

header('Location: install.php');
exit();

?>
 

woiwky

New Member
Messages
390
Reaction score
0
Points
0
I can't find that in any of the files. Which package or packages did you download from sourceforge?
 

Zangetsu

New Member
Messages
491
Reaction score
1
Points
0
i downloaded:
Generic-2.9.1.2
Images-1.1
pse_3.07
SystemWars-0.9.13 < is the one i uploaded
syswars-svn-20070324
 

woiwky

New Member
Messages
390
Reaction score
0
Points
0
Ah ok, I was looking at the wrong files.

Anyway, I managed to install it without any problem. So I would recommend that you should rerun the install script and make sure that you enter the correct values. The Hostname field should be set to localhost. Verify the username and password by trying to login to phpmyadmin with them. And also, make sure the database name you're entering in the Name field has already been created prior to running the install script.
 

Zangetsu

New Member
Messages
491
Reaction score
1
Points
0
i still dont know what im doing wrong i made the db ientered all the data and still nothing
 

woiwky

New Member
Messages
390
Reaction score
0
Points
0
Well it seems that these scripts also use fopen() and other such functions. Is your php configuration greater than Basic?
 

Zangetsu

New Member
Messages
491
Reaction score
1
Points
0
its the middle one
i think it was incorporate
 
Last edited:
Top