PDA

View Full Version : Traffic Trader Help


Stever
03-13-2005, 11:18 PM
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.

Stever
03-13-2005, 11:33 PM
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)

Barron
03-14-2005, 01:34 PM
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.

Lunatic
03-14-2005, 06:35 PM
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/

Stever
03-14-2005, 09:35 PM
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)

Stever
03-15-2005, 02:30 AM
It seems the script is not installing the tables into the db

What the fuck do i do???!!