documentation
download & extend
community & support
B3 hosting
May 21, 2012, 05:58:26 PM
Home
Features
Get Started
Supported Games
Forums
Help
Search
Tags
Groupware
Login
Register
Activation Mail
It appears you have not registered with our community. To register please click here ...
You are here:
Big Brother Bot Forum
Add-Ons
Echelon
Banlist.php problem
Pages: [
1
]
2
Go Down
« previous
next »
Print
Author
Topic: Banlist.php problem (Read 870 times)
MordyT
Support Hero
OS: Windows
Type: Gameserver Rental Co.
Gameservers:
2x CoD4, 1x BF3
Posts: 2625
Offline
Owner of Host4B3.com - Over 70 bots hosted!
Banlist.php problem
«
on:
February 06, 2012, 09:29:46 AM »
Hi all,
Recently ran into a issue...
When trying to access banlist.php, all you get is a white page.
See this link:
http://69.67.31.182/echelon/test/banlist.php
SOOOO... this issue came up out of the blue (it used to work) and is affecting all copies of echelon on the server (several dozen)...
I would assume this is a server issue and not echelon itself, but I was hoping someone here would know where to start looking.
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
82ndAB.Bravo17
Dev. Team
OS: Windows
Type: Gameserver Rental Co.
Gameservers:
COD2,COD4,COD5
Posts: 1098
Offline
Re: Banlist.php problem
«
Reply #1 on:
February 06, 2012, 09:55:46 AM »
See if there is any info in the PHP error log, and ask your provider if they have updated anything recently that could have caused this.
Also check the actual file to make sure it hasn't got corrupted, Firefox says it is 0 bytes, but that could be a false reading.
Logged
MordyT
Support Hero
OS: Windows
Type: Gameserver Rental Co.
Gameservers:
2x CoD4, 1x BF3
Posts: 2625
Offline
Owner of Host4B3.com - Over 70 bots hosted!
Re: Banlist.php problem
«
Reply #2 on:
February 06, 2012, 10:08:40 AM »
Quote from: 82ndAB.Bravo17 on February 06, 2012, 09:55:46 AM
See if there is any info in the PHP error log, and ask your provider if they have updated anything recently that could have caused this.
Also check the actual file to make sure it hasn't got corrupted, Firefox says it is 0 bytes, but that could be a false reading.
I checked the file... it is valid and intact...
However, it was a good idea for me to check the error log...
Warning: mysql_pconnect(): Access denied for user 'username'@'localhost' (using password: NO) in C:\www\apache\htdocs\echelon\test\Connections\b3connect.php on line 37
Now, knowing that the info in the file is correct and can be used in navicat... I am a bit confused.
I can give you FTP access if this would help...
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
MordyT
Support Hero
OS: Windows
Type: Gameserver Rental Co.
Gameservers:
2x CoD4, 1x BF3
Posts: 2625
Offline
Owner of Host4B3.com - Over 70 bots hosted!
Re: Banlist.php problem
«
Reply #3 on:
February 07, 2012, 12:57:49 PM »
Attached banlist.php and b3connect.php
The error in the logs is (exactly, not censored)
Code:
Warning: mysql_pconnect(): Access denied for user 'username'@'localhost' (using password: NO) in C:\www\apache\htdocs\echelon\test\Connections\b3connect.php on line 37
Any reason why echelon is trying to connect with wrong info when accessing banlist.php? Rest of echelon works fine..
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
[DAD]GrimReaper
Beta Testers
OS: Windows
Type: Renting Server, no B3
Gameservers:
COD4 | COD2 | COD BO (Ranked and Unranked) | MOH 2010
Posts: 129
Offline
Re: Banlist.php problem
«
Reply #4 on:
February 07, 2012, 12:59:46 PM »
im assuming you have a PW set on the Mysql server?
If so, Wonder why its trying to connect with no PW... how strange!
Logged
82ndAB.Bravo17
Dev. Team
OS: Windows
Type: Gameserver Rental Co.
Gameservers:
COD2,COD4,COD5
Posts: 1098
Offline
Re: Banlist.php problem
«
Reply #5 on:
February 07, 2012, 01:30:10 PM »
Can you hard code the password into b3connect.php and see what happens?
Are there any other error messages in the log?
Logged
MordyT
Support Hero
OS: Windows
Type: Gameserver Rental Co.
Gameservers:
2x CoD4, 1x BF3
Posts: 2625
Offline
Owner of Host4B3.com - Over 70 bots hosted!
Re: Banlist.php problem
«
Reply #6 on:
February 07, 2012, 01:42:35 PM »
Quote from: [DAD]GrimReaper on February 07, 2012, 12:59:46 PM
im assuming you have a PW set on the Mysql server?
If so, Wonder why its trying to connect with no PW... how strange!
I have set the password
Quote from: 82ndAB.Bravo17 on February 07, 2012, 01:30:10 PM
Can you hard code the password into b3connect.php and see what happens?
Are there any other error messages in the log?
I have hard coded the details in.
Now the link works:
http://69.67.31.182/echelon/test/banlist.php
This would imply that... b3connect.php cannot access inc_config.php?
Not really sure where to go from there.
Combing the logs now...
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
82ndAB.Bravo17
Dev. Team
OS: Windows
Type: Gameserver Rental Co.
Gameservers:
COD2,COD4,COD5
Posts: 1098
Offline
Re: Banlist.php problem
«
Reply #7 on:
February 07, 2012, 02:55:47 PM »
Try changing the include on line 3 of b3connect.php to include_once
Logged
MordyT
Support Hero
OS: Windows
Type: Gameserver Rental Co.
Gameservers:
2x CoD4, 1x BF3
Posts: 2625
Offline
Owner of Host4B3.com - Over 70 bots hosted!
Re: Banlist.php problem
«
Reply #8 on:
February 07, 2012, 03:04:53 PM »
Quote from: 82ndAB.Bravo17 on February 07, 2012, 02:55:47 PM
Try changing the include on line 3 of b3connect.php to include_once
Just tried that and it did not fix the issue.
Finished looking over the apache error log, onto the php error log (if I can find it..)
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
82ndAB.Bravo17
Dev. Team
OS: Windows
Type: Gameserver Rental Co.
Gameservers:
COD2,COD4,COD5
Posts: 1098
Offline
Re: Banlist.php problem
«
Reply #9 on:
February 07, 2012, 05:52:49 PM »
Which version of php are you using? And has it changed recently.
Logged
MordyT
Support Hero
OS: Windows
Type: Gameserver Rental Co.
Gameservers:
2x CoD4, 1x BF3
Posts: 2625
Offline
Owner of Host4B3.com - Over 70 bots hosted!
Re: Banlist.php problem
«
Reply #10 on:
February 07, 2012, 08:41:10 PM »
Quote from: 82ndAB.Bravo17 on February 07, 2012, 05:52:49 PM
Which version of php are you using? And has it changed recently.
Has not changed recently.
php info link:
http://69.67.31.182/echelon/info.php
PHP Version 5.3.5
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
82ndAB.Bravo17
Dev. Team
OS: Windows
Type: Gameserver Rental Co.
Gameservers:
COD2,COD4,COD5
Posts: 1098
Offline
Re: Banlist.php problem
«
Reply #11 on:
February 07, 2012, 10:53:35 PM »
Try adding:
error_reporting( E_ALL);
under the current error_reporting line in banlist.php
and set
display_errors = on
in php.ini to display errors on the screen, but remember to set it back to its current value afterwards.
«
Last Edit: February 07, 2012, 10:58:01 PM by 82ndAB.Bravo17
»
Logged
MordyT
Support Hero
OS: Windows
Type: Gameserver Rental Co.
Gameservers:
2x CoD4, 1x BF3
Posts: 2625
Offline
Owner of Host4B3.com - Over 70 bots hosted!
Re: Banlist.php problem
«
Reply #12 on:
February 08, 2012, 09:55:16 AM »
Quote from: 82ndAB.Bravo17 on February 07, 2012, 10:53:35 PM
Try adding:
error_reporting( E_ALL);
under the current error_reporting line in banlist.php
and set
display_errors = on
in php.ini to display errors on the screen, but remember to set it back to its current value afterwards.
Have done so.
Error is:
Code:
Warning: mysql_pconnect(): Access denied for user 'username'@'localhost' (using password: NO) in C:\www\apache\htdocs\echelon\test\Connections\b3connect.php on line 37
Screenshot on banlist.php attached.
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
82ndAB.Bravo17
Dev. Team
OS: Windows
Type: Gameserver Rental Co.
Gameservers:
COD2,COD4,COD5
Posts: 1098
Offline
Re: Banlist.php problem
«
Reply #13 on:
February 08, 2012, 11:35:29 AM »
Did that error appear on the screen, or is that from the log again?
Logged
MordyT
Support Hero
OS: Windows
Type: Gameserver Rental Co.
Gameservers:
2x CoD4, 1x BF3
Posts: 2625
Offline
Owner of Host4B3.com - Over 70 bots hosted!
Re: Banlist.php problem
«
Reply #14 on:
February 08, 2012, 01:53:54 PM »
Quote from: 82ndAB.Bravo17 on February 08, 2012, 11:35:29 AM
Did that error appear on the screen, or is that from the log again?
On screen errors.
I am also opening a ticket with the datacenter, maybe they changed something in the firewall/gateway...
Any ideas on what I should ask them to check specifically?
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
Tags:
Pages: [
1
]
2
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News (Read Only)
===> News Archive
===> Website News
=> General Discussion
===> Servers
=> Shared Services
-----------------------------
Support Forums
-----------------------------
=> Support Instructions
=> Installation Support
=> General Usage Support
=> Game specific Support
===> Battle Field 3
=====> BF3/B3 beta board
===> Battle Field Bad Company 2
===> Call of Duty series
=====> CoD, CoD:UO, CoD2
=====> Call of Duty 4 (Modern Warfare)
=====> Call of Duty 5 (World at War)
=====> Call of Duty 6 (Modern Warfare 2)
=====> Call of Duty 7 (Black Ops)
=======> AlterOps
===> Frontlines, Fuel of War
===> Enemy Territory
===> Homefront
===> Medal of Honor 2010
===> Open Arena
===> Red Orchestra 2
===> Smokin' Guns
===> Soldier of Fortune 2
===> Urban Terror
===> World of Padman
===> Other games
-----------------------------
Add-Ons
-----------------------------
=> Plugins Discussion
===> Plugin Releases!
===> Plugins by xlr8or
===> Plugins by Courgette
===> Plugins by Freelander
===> Plugins by Bakes
===> Plugins by Ismael
===> Plugins by flinkaflenkaflrsk
===> Plugins by Anubis
===> Plugins by Spoon
===> Plugins by PtitBigorneau
===> Plugins by BlackMamba
===> Plugins by Beber888
===> Plugins by grosbedo
=> XLRstats
===> Weaponmodifiers
=> Echelon
===> Echelon version 2
=> Configurations
=> Installers
-----------------------------
Community Developers
-----------------------------
=> Plugin Developers
=> The Code Bin
Rate this page +1 at Google Search
Web Toolbar by Wibiya
SimplePortal 2.3.1 © 2008-2009, SimplePortal