-
Newbie
Web reg webpage help please
ok i know u prolly wont care but i have my server running and all i need to know is why the webreg page isnt working. this is a link to the page to see it , my sql is updated to 5.1
this is what it says : Error: Unable to connect to MySQL server. MySQL reported: Lost connection to MySQL server during query.
this is my config file thats on a remote server that has the webpage
<?php
/*
SPORA for Antrix v1.32
Simple Page Of Registration of Accounts for Antrix
It is made in the form of one page with fields of input of the
information of an account and the list of players being on a server.
Original Creation by mirage666 for MaNGOS http://pomm.da.ru/
Modified for Antrix by Kandyman http://www.burning-wow.com
*/
$lang="en"; // Language ("en" - english, "ru" - russian)
$host="69.208.6.150:3306"; // HOST for Antrix database
$user="root"; // USER for Antrix database
$password="root"; // PASS for Antrix database
$db="antrix_server"; // NAME of Antrix database
$hostr="69.208.6.150:3306"; // HOST for Login database
$userr="root"; // USER for Login database
$passwordr="root"; // PASS for Login database
$dbr="antrix"; // NAME of Login database
$database_encoding = 'CP1251'; // Set encoding
$img_base = "img/"; // Image dir
$server = "69.208.6.150:8129"; // Antrix Server Address
$port = "8129"; // Antrix Server Port
$title="draaks lair"; // Insert the title of your server here
$lock_acc=0; // Lock created account to IP address (1 - on, 0 - off)
$lock_reg=0; // Registration only one (or more) account from one IP address
// 0 - not limit, 1 - one acc, 2 - two acc, etc...
Switch ($lang)
{
case "en":
$button="create_en.gif";
$text = Array(
'acc' => 'Creation of account',
'create' => 'is completed !',
'failed' => 'was not possible !',
'not_all' => 'Fields are filled not all',
'taken' => 'is already taken !',
'playerson' => 'players online',
'off' => 'is offline',
'name' => 'Account Name',
'password' => 'Password',
'ip_limit' => Array('From your IP ',' accounts are already created'),
'char' => Array('Name','Race','Class','LvL','Location'),
);
break;
case "ru":
$button="create_ru.gif";
$text = Array(
'acc' => '
-
-
Elite Member
Re: Web reg webpage help please
$lang="en"; // Language ("en" - english, "ru" - russian)
$host="69.208.6.150:3306"; // HOST for Antrix database
$user="root"; // USER for Antrix database
$password="root"; // PASS for Antrix database
$db="antrix_server"; // NAME of Antrix database
$hostr="69.208.6.150:3306"; // HOST for Login database
$userr="root"; // USER for Login database
$passwordr="root"; // PASS for Login database
$dbr="antrix"; // NAME of Login database
$database_encoding = 'CP1251'; // Set encoding
$img_base = "img/"; // Image dir
$server = "69.208.6.150:8129"; // Antrix Server Address
$port = "8129"; // Antrix Server Port
$title="draaks lair"; // Insert the title of your server here
$lock_acc=0; // Lock created account to IP address (1 - on, 0 - off)
$lock_reg=0; // Registration only one (or more) account from one IP address
// 0 - not limit, 1 - one acc, 2 - two acc, etc...
ok, first lets do some troubleshooting....
1. if your antrix SQL is on your computer not a seperate server tower then..
red = 127.0.0.1
green = 127.0.0.1
pink = *ur DNS IP* (eg. blahblah.no-ip.biz)
blue = *check you SQL if its written in CP1251 or UTF-8*
2. if it is on a server tower then delete the ports and try that