You are here: Big Brother Bot ForumAdd-OnsEchelonConnecting to echelon
Pages: [1]   Go Down
  Print  
Author Topic: Connecting to echelon  (Read 1080 times) Bookmark and Share
Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD 4 , COD 6
Posts: 154
Offline Offline
« on: December 07, 2011, 12:56:01 PM »

If I have my echelon database at a hosting company, and my b3 database on my local host machine, it asks for hostname that I would need to connect to my computer.
Would I put my ip in there, with something else?
Logged

Support Hero
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2625
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #1 on: December 07, 2011, 01:23:01 PM »

you would put your IP in there.

Make sure your webhosting has your ip in remote mysql in cpanel or you can't connect.

The default port is 3306, if you hosting company does not use that you may have issues also.
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD 4 , COD 6
Posts: 154
Offline Offline
« Reply #2 on: December 07, 2011, 02:06:40 PM »

I guess they block it and won't change it. Any ideas on a vps hosting company? I tryed that one in your video, but it won't let me order...
Logged
Support Hero
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2625
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #3 on: December 07, 2011, 02:28:42 PM »

burstnet is very good. Slightly more money, but great.
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD 4 , COD 6
Posts: 154
Offline Offline
« Reply #4 on: December 16, 2011, 04:25:09 PM »

Just to double check, this is what I had in.

## settings for the echelon database
$hostname_wwwvalidate = "66.112.19.6:3306";
$database_wwwvalidate = "b3echelon";
$username_wwwvalidate = "b3echelon";
$password_wwwvalidate = "xxxxxxx";

I just have hosting with them no dedicated server

Also on my database that i have running from home, I need to know what i need to put into the echelon database under Host Name... Any host, host table, test field
« Last Edit: December 17, 2011, 04:54:30 PM by setman » Logged
Support Hero
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2625
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #5 on: December 19, 2011, 06:07:44 AM »

Try
$hostname_wwwvalidate = "66.112.19.6";

For hosting on the same machine, you can use localhost or 127.0.0.1
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD 4 , COD 6
Posts: 154
Offline Offline
« Reply #6 on: December 20, 2011, 03:57:10 PM »

Now since I have everything running on 1 box (localhost) when I try to install echelon with using http://localhost/e107/echelon/index.php, it comes up with the echelon webpage and you can login, this error comes up

Object not found!

The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

If you think this is a server error, please contact the webmaster.
Error 404
localhost
12/20/11 16:56:50
Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1
Logged
Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: BF3
Posts: 212
Offline Offline
WWW
« Reply #7 on: December 20, 2011, 04:51:11 PM »

change in echelon/Connections/inc_config.php
Code:
$path = "/echelon/";
for this
Code:
$path = "/e107/echelon/";
Logged

Very sorry for my English I do not know him enough to be understood.
That is why I use the google translator.
Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD 4 , COD 6
Posts: 154
Offline Offline
« Reply #8 on: December 21, 2011, 02:42:01 PM »

Changed it to what you said, and now it comes up:

Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'echelon'@'localhost' (using password: YES) in C:\xampp\htdocs\e107\echelon\Connections\wwwvalidate.php on line 3
Access denied for user 'echelon'@'localhost' (using password: YES)
Logged
Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: BF3
Posts: 212
Offline Offline
WWW
« Reply #9 on: December 21, 2011, 02:50:13 PM »

I saw it yesterday and I knew that you ask about it: P

Bad data to the mysql connections ...

## settings for the echelon database
$hostname_wwwvalidate = "ipaddress";
$database_wwwvalidate = "namedatabase";
$username_wwwvalidate = "username";
$password_wwwvalidate = "password";
Logged

Very sorry for my English I do not know him enough to be understood.
That is why I use the google translator.
Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD 4 , COD 6
Posts: 154
Offline Offline
« Reply #10 on: December 22, 2011, 01:54:29 PM »

Putting in the ip address still did not work. It seems like it does not open the file.
Logged
Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD 4 , COD 6
Posts: 154
Offline Offline
« Reply #11 on: December 27, 2011, 02:32:25 PM »

Anyone?
Logged
Support Hero
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2625
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #12 on: December 27, 2011, 02:40:46 PM »

Seems like a closed/block port/connection.
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Full Member
***
OS: Linux
Type: Owner dedicated server(s)
Gameservers: BF3, RO2, COD-BO
Posts: 127
Offline Offline
« Reply #13 on: December 29, 2011, 08:53:45 AM »

Hi Setman,

Go back to basics.  What platform have you installed b3 and echelon onto and what webserver is it running?  Is http://localhost/e107 really the root folder for your website?  What happens if you type http://localhost/e107 into a browser?  Does your site load ok?

I use a linux VPS running Apache and have created a folder called echelon at the root of it.  In the connections/inc_config.php file my Echelon site is referenced as :-

Code:
$path = "/echelon/";

I've created a database in mysql called 'echelon' and setup the tables by importing the .sql file.  I've also created a user called 'echelon' that has been granted full privileges to the same database.  This is all referenced within my connections/inc_config.php file as follows :-

Code:
## settings for the echelon database
$hostname_wwwvalidate = "localhost";
$database_wwwvalidate = "echelon";
$username_wwwvalidate = "echelon";
$password_wwwvalidate = "xxxxxxx";

I manually edited the entire inc_config.php file to match the number of servers I was using Echelon for at the time.  I'm not sure what your file looks like, but here's my original file for reference http://pastebin.com/Pbmv0z6H

Make sure you add your game server specific b3 database and user name/password to the servers array.  These are the same ones you used when installing b3.  Once thats done, all I did was go to http://ourclan.com/echelon and I was presented with the login screen.

I hope that helps.  Its sometimes useful to check what other people have done so you can compare and spot any parts you may have missed.

BR
Toffees

Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal