07-07-2003, 09:54 AM
· #1 is sniper no more
Name: Randy
Location: My House
Join Date: May 2003
Posts: 684
NP$: 138.00 (
Donate )
hosting
if i am hosted at amdac.com would my localhost be amdac.com?
07-07-2003, 09:57 AM
· #2 Name: Retired©
Location: NH
Join Date: May 2003
Posts: 28,000
NP$: 1641.00 (
Donate )
__________________
Be cool. Be polite. Be professional.™ Tick. Tock. | "dot Mobey" R.I.P.
07-07-2003, 10:43 AM
· #3 TLDN
Name: Mike
Location: XXX
Join Date: May 2003
Posts: 6,103
NP$: 346.00 (
Donate )
Does this have something to do with MySQL / PHP Scripts where it asks for your "LocalHost"?
If so it should be "localhost" as your localhost
or at least thats what I use.
Mike
__________________
oobla.com YuckyTube.com TearJerking.com DNHunter.com FunFolder.com Stats.ws LMFAOTube.com OldiesTube.com Moms.ws FunnyIMG.com eLMAO.com XXXLogos.com vWebcams.com eMMORPG.com 18ish.com
07-07-2003, 10:55 AM
· #4 is sniper no more
Name: Randy
Location: My House
Join Date: May 2003
Posts: 684
NP$: 138.00 (
Donate )
yea its with phpLedAds-2.0. i just uploaded all the files to my site and when i go to /ledads/install.php it comes with an error about the DB
link:
http://www.mwrocks.com/phpLedAds-2.0/ledads
i dont know if you can get to there but maybe that would help?
07-07-2003, 11:02 AM
· #5 NameProish™
Name: Sohil Patel
Location: Ohio
Join Date: May 2003
Posts: 2,298
NP$: 1865.75 (
Donate )
Quote: Originally posted by dude yea its with phpLedAds-2.0. i just uploaded all the files to my site and when i go to /ledads/install.php it comes with an error about the DB
link: http://www.mwrocks.com/phpLedAds-2.0/ledads
i dont know if you can get to there but maybe that would help?
All i know is something is wrong with your Database, recheck DB name, user and pass.
07-07-2003, 11:11 AM
· #6 is sniper no more
Name: Randy
Location: My House
Join Date: May 2003
Posts: 684
NP$: 138.00 (
Donate )
Quote: Originally posted by Sohil All i know is something is wrong with your Database, recheck DB name, user and pass.
ok the DB name is 'main' the user is mwrocks and i put in mwrocks_mwrocks as the username in the config document and i put mwrocks_******* for the pass. i dont know what is wrong
07-07-2003, 11:13 AM
· #7 NameProish™
Name: Sohil Patel
Location: Ohio
Join Date: May 2003
Posts: 2,298
NP$: 1865.75 (
Donate )
did you put mwrocks_main for the DB name?
07-07-2003, 11:17 AM
· #8 is sniper no more
Name: Randy
Location: My House
Join Date: May 2003
Posts: 684
NP$: 138.00 (
Donate )
no im changing that now, it might work when im done
07-07-2003, 11:17 AM
· #9 NameProish™
Name: Sohil Patel
Location: Ohio
Join Date: May 2003
Posts: 2,298
NP$: 1865.75 (
Donate )
Quote: Originally posted by dude no im changing that now, it might work when im done
Yea, it probably will work
Let me know if it does.
07-07-2003, 11:25 AM
· #10 is sniper no more
Name: Randy
Location: My House
Join Date: May 2003
Posts: 684
NP$: 138.00 (
Donate )
no it didnt
07-07-2003, 11:28 AM
· #11 NameProish™
Name: Sohil Patel
Location: Ohio
Join Date: May 2003
Posts: 2,298
NP$: 1865.75 (
Donate )
Quote: Originally posted by dude no it didnt
What does it say on line 155 in config.inc.php?
07-07-2003, 11:29 AM
· #12 is sniper no more
Name: Randy
Location: My House
Join Date: May 2003
Posts: 684
NP$: 138.00 (
Donate )
would this have anything to do with it?? it says DB error
07-07-2003, 11:30 AM
· #13 is sniper no more
Name: Randy
Location: My House
Join Date: May 2003
Posts: 684
NP$: 138.00 (
Donate )
Quote: Originally posted by Sohil What does it say on line 155 in config.inc.php?
Code:
) or $this->croak("Unable to connect to database: " . mysql_error());
07-07-2003, 11:32 AM
· #14 NameProish™
Name: Sohil Patel
Location: Ohio
Join Date: May 2003
Posts: 2,298
NP$: 1865.75 (
Donate )
Not sure what is wrong then
07-07-2003, 11:36 AM
· #15 is sniper no more
Name: Randy
Location: My House
Join Date: May 2003
Posts: 684
NP$: 138.00 (
Donate )
these are lines 150-155. i dont know if i was supposed to fill these in
Code:
function db_connect( ) {
$this->conn = mysql_connect(
$this->config('db_host'),
$this->config('db_user'),
$this->config('db_pass')
) or $this->croak("Unable to connect to database: " . mysql_error());
07-07-2003, 11:39 AM
· #16 NameProish™
Name: Sohil Patel
Location: Ohio
Join Date: May 2003
Posts: 2,298
NP$: 1865.75 (
Donate )
i don't think you are suppose to fill that in.
07-07-2003, 11:41 AM
· #17 is sniper no more
Name: Randy
Location: My House
Join Date: May 2003
Posts: 684
NP$: 138.00 (
Donate )
whats this??? it was in the readme
- chmod steps:
1) chmod data/ directory to 777
07-07-2003, 11:46 AM
· #18 NameProish™
Name: Sohil Patel
Location: Ohio
Join Date: May 2003
Posts: 2,298
NP$: 1865.75 (
Donate )
Quote: Originally posted by dude whats this??? it was in the readme
- chmod steps:
1) chmod data/ directory to 777
right click on the phpledads folder and then Click on CHMOD and type in 777
07-07-2003, 11:46 AM
· #19 TLDN
Name: Mike
Location: XXX
Join Date: May 2003
Posts: 6,103
NP$: 346.00 (
Donate )
Try it with just your password excluding the mnrocks_
part in front.
__________________
oobla.com YuckyTube.com TearJerking.com DNHunter.com FunFolder.com Stats.ws LMFAOTube.com OldiesTube.com Moms.ws FunnyIMG.com eLMAO.com XXXLogos.com vWebcams.com eMMORPG.com 18ish.com
07-07-2003, 11:47 AM
· #20 is sniper no more
Name: Randy
Location: My House
Join Date: May 2003
Posts: 684
NP$: 138.00 (
Donate )
i did
07-07-2003, 11:57 AM
· #21 is sniper no more
Name: Randy
Location: My House
Join Date: May 2003
Posts: 684
NP$: 138.00 (
Donate )
its working now thanks tippy. i took the mwrocks_ off and it works now! 25NP$ are going to tippy and sohil for helping
07-07-2003, 12:00 PM
· #22 NameProish™
Name: Sohil Patel
Location: Ohio
Join Date: May 2003
Posts: 2,298
NP$: 1865.75 (
Donate )
Quote: Originally posted by dude its working now thanks tippy. i took the mwrocks_ off and it works now! 25NP$ are going to tippy and sohil for helping
Good job dude and Tippy!
Thanks
Last edited by Sohil : 07-07-2003 at 01:27 PM .
07-07-2003, 12:11 PM
· #23 is sniper no more
Name: Randy
Location: My House
Join Date: May 2003
Posts: 684
NP$: 138.00 (
Donate )
when i go to add a banner it always comes up with an error (no DB selected
heres a screen cap
07-07-2003, 01:25 PM
· #24 Name: Retired©
Location: NH
Join Date: May 2003
Posts: 28,000
NP$: 1641.00 (
Donate )
Namepros members always helping one another!
__________________
Be cool. Be polite. Be professional.™ Tick. Tock. | "dot Mobey" R.I.P.
07-07-2003, 01:28 PM
· #25 NameProish™
Name: Sohil Patel
Location: Ohio
Join Date: May 2003
Posts: 2,298
NP$: 1865.75 (
Donate )
Quote: Originally posted by dude when i go to add a banner it always comes up with an error (no DB selected
heres a screen cap
Did it worked?
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off