[SOLVED] PHP script is not working

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
timmy408
Forum Newbie
Posts: 2
Joined: Sun Aug 22, 2004 3:04 pm

PHP script is not working

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
timmy408
Forum Newbie
Posts: 2
Joined: Sun Aug 22, 2004 3:04 pm

Post 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..
Post Reply