Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-03-13, 11:18 PM   #1
Stever
Ahhh ... sweet pity. Where would my love life be without it?
 
Stever's Avatar
 
Join Date: Feb 2005
Location: British Columbia, Canada
Posts: 208
Exclamation Traffic Trader Help

Who's using the php version of Turbo Traffic Trader from findtrades.com that can help me out?

I get this error when i install.

Error:
Chould not connect to MySQL
Please check your settings in ttt-mysqlfunc.inc.php

my ttt-mysqlfunc.inc.php file has zero bytes so there is not even aything there to edit.

What am i doing wrong.
__________________
<a href="http://www.fioramall.com/click/sponsor.php?kw_userid=Stever"><img src="http://www.steverslinks.com/images/fiora.gif"</a>
Stever is offline   Reply With Quote
Old 2005-03-13, 11:33 PM   #2
Stever
Ahhh ... sweet pity. Where would my love life be without it?
 
Stever's Avatar
 
Join Date: Feb 2005
Location: British Columbia, Canada
Posts: 208
Figures out the problem.
I needed to change the hostname from the default "local host" to "mysql"

But now I get

Error:
Could not choose the database: datebase folder name (sorry I'm not posting my folder names)
__________________
<a href="http://www.fioramall.com/click/sponsor.php?kw_userid=Stever"><img src="http://www.steverslinks.com/images/fiora.gif"</a>
Stever is offline   Reply With Quote
Old 2005-03-14, 01:34 PM   #3
Barron
You tried your best and you failed miserably. The lesson is 'never try'
 
Join Date: Oct 2004
Posts: 166
Thats not much information to go on, but from what info you gave:

You either didnt create the database using myPHPadmin or similar admin interface and enter the info correctly in the script:

example:
$connect=mysql_connect("localhost", "mysql username", "mysql password");

Or,
you didnt give the script the correct name of the database:

example:
$connect=mysql_connect("localhost", "mysql username", "mysql password");
$db=mysql_select_db("data base name YOU created");

Or,
Usually the next step in the script is to create the "tables" that go in the database. You may not have uploaded the files that hold that info.
Barron is offline   Reply With Quote
Old 2005-03-14, 06:35 PM   #4
Lunatic
Ahhh ... sweet pity. Where would my love life be without it?
 
Lunatic's Avatar
 
Join Date: Oct 2003
Location: Phoenix, AZ
Posts: 200
Send a message via ICQ to Lunatic
And another idea might be to have your hosting provider make sure you have your SQL database setup okay. The forum for TTT is pretty helpful too:
http://www.chickenboard.com/
__________________
Lunatic is offline   Reply With Quote
Old 2005-03-14, 09:35 PM   #5
Stever
Ahhh ... sweet pity. Where would my love life be without it?
 
Stever's Avatar
 
Join Date: Feb 2005
Location: British Columbia, Canada
Posts: 208
I've set a database with myPHPadmin. I should try and upload all the script files again incase something was missing or corrupted the first time.

Else call my host and see whats wrong in mySQL, I gueses.

Man I hate when these kind of things are just not staight forward. Why cant i just press a button and things do what they are supposed to? (ranting here, sorry)
__________________
<a href="http://www.fioramall.com/click/sponsor.php?kw_userid=Stever"><img src="http://www.steverslinks.com/images/fiora.gif"</a>
Stever is offline   Reply With Quote
Old 2005-03-15, 02:30 AM   #6
Stever
Ahhh ... sweet pity. Where would my love life be without it?
 
Stever's Avatar
 
Join Date: Feb 2005
Location: British Columbia, Canada
Posts: 208
It seems the script is not installing the tables into the db

What the fuck do i do???!!
__________________
<a href="http://www.fioramall.com/click/sponsor.php?kw_userid=Stever"><img src="http://www.steverslinks.com/images/fiora.gif"</a>
Stever is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:15 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc