Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   Traffic Trader Help (http://www.greenguysboard.com/board/showthread.php?t=17459)

Stever 2005-03-13 11:18 PM

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.

Stever 2005-03-13 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 2005-03-14 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 2005-03-14 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 2005-03-14 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 2005-03-15 02:30 AM

It seems the script is not installing the tables into the db

What the fuck do i do???!!


All times are GMT -4. The time now is 11:49 PM.

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