Page 1 of 1

PHP script is not working

Posted: Sun Aug 22, 2004 3:04 pm
by timmy408
Hi am new to php. I recently setup appserv on my local windows 2003 server which include mysql, php, and php-nuke portal. For some reason I was able to see the webpage fine but cannot modify any resource.

than later, I had found a host name is globat.com which I had transfer to there server which is the " WWW" folder. For some reason when I type in my domain name http://www.khmerclub.com I am getting an error. There a setup.php file which I had modify to



$DB_HOST = "localhost"; I am not sure should I leave localhost?
$DB_NAME = "college"; my database name which upload onto the server.
$DB_USER = "root";
$DB_PASS = "";


I had add the database name collge on phpmyadmin which my host provide. I tried to call my host for support but they don't seem to have a support to provide the answer or which file should I upload. I had ask them your host support php why you cannot provide the support or information. I been creating a ticket for a week and had call them up and they dont have any clue.

If someone can help me to solve this issue would be appreciated. Thank!

Timmy

Posted: Sun Aug 22, 2004 3:13 pm
by feyd
unfortunately, without seeing how the code works, or the full error at least, we can't tell you what the error is.. or where to even start looking.. The error may have been stored in your error.log files..

The only thing I can guess.. is your DB user and password are wrong.

Posted: Sun Aug 22, 2004 3:32 pm
by timmy408
feyd, you are right. i guess when my database in phpmyadmin it ask for database name and password which i created an account, i put in the default password that was select on setup.php. thank alots! it work!

http://www.khmerclub.com

feyd | stripped capslock..