PDA

View Full Version : Webpost Problems


SmokeyMcPoTT
04-06-2004, 18:58
I'm trying to install the webpost block for teamspeak on my phpnuke site and i can't seem to get it working.

I got the block working, but inside the block it now says

An error connecting to the TeamSpeak server has occured!
Error number:
Error description:

No number no discription. Could this be a port problem? And if so where do i go to find which port is open for this? The rest of the information is correct to my knowledge, But when i run the install.php it pops up and says

Welcome to the ssWebpost2 install script. Please make sure that the following information is correct. If it is not, please open the config.php file in a text editor and enter the correct information.<hr><br>

Host: <?= $dblink ?><br>
Username: <?= $dbuser ?><br>
Password: <?= $dbpw ?><br>
Database: <?= $dbname ?><br>


Is my info supposed to be there after i run the install.php?

And for the prefix for the database, Do i just put my own prefix in there? Do i need to create a table for it or will it do that on it's own?

Sorry about the barrage of questions, This is my first experience with phpnuke, so i'm trying to learn.

edit: Also my teamspeak server is not hosted on the same machine as my site, Do i still use localhost? does that apply to TS or my site? or do i post an IP or URL for teamspeak in that spot?

McAfee
04-06-2004, 19:48
Maybe this could help:
http://www.teamspeak.org/forums/showthread.php?t=14151

And yes, the when you run the install.php file it should show your info.

SmokeyMcPoTT
04-06-2004, 20:08
ok this is how i set it up.......

$dblink = "69.41.253.67:8787"; // Host
$dbuser = "user_gllcts2"; // Username
$dbpw = "password"; // Password
$dbname = "smokey_gllcts2"; // Database
$dbprefix = "gllcts2_smokey_gllcts2"; // Prefix for tables


is this correct? I read the other thread. Does the hostname pertain to the mySQL server? or the teamspeak server?

McAfee
04-06-2004, 21:59
the ip is for the mysql server, specifying a port is optional.

you can use the default setting for the prefix:
$gllcts2_dbprefix = "gllcts2_";

SmokeyMcPoTT
04-06-2004, 23:48
$gllcts2_dblink = "localhost"; // Host
$gllcts2_dbuser = "smokey_teamspeak"; // Username
$gllcts2_dbpw = "mypassword"; // Password
$gllcts2_dbname = "smokey_gllcts2"; // Database
$gllcts2_dbprefix = "gllcts2_"; // Prefix for tables

i can't figure out what i'm doing wrong. my info still isn't showing up on the install.php file after i execute it

McAfee
05-06-2004, 02:48
did you remember to rename your config file to "config.php" ?
NOT "config.php.new"

And are php scripts correctly working on your server?

SmokeyMcPoTT
05-06-2004, 03:01
yes. :( can't figure out why it's not working. http://www.shadowcompanyonline.com on the right hand side.

edit: And actually i was trying to install one i found at http://tacticalware.net/nuke You can see it on the right hand side.If you click the dropdown and pick a channel it brings up a login for TS to join the server. I tried just now to get yours, but the link is broken. i could get the gllcts2 but that's it. The other one was a page cannot be displayed

McAfee
05-06-2004, 05:08
is the config.php file correctly written, with no syntax errors?
does the specified database exist?
does the mysql user/pass exist?
does the user have permissions for that database?

First test the the main webpost script is working, then worry about the block.

SmokeyMcPoTT
05-06-2004, 22:12
I got it.. finally. Thanks for the help with that. I just took everything out and started over after a full night sleep. hahaha.

SmokeyMcPoTT
06-06-2004, 23:08
But......

My service provider doesn't allow remote script access to mySQL databases. So i'm unable to run the install.php. Is there an SQL file out there that i could use to manually create tables in my database? just a long shot.. lol

Edit: Nevermind i'm dumb... LOL the script still has to login to the database to use the tables... guess i gotta find a new webhost. Thx for all your help.

tim8220022
07-06-2004, 01:18
i had the same prob, use the original mysql database name, use your usrname and password for your login to your ftp or cpanel.