You are here: Big Brother Bot ForumAdd-OnsEchelonBanlist.php problem
Pages: [1] 2   Go Down
  Print  
Author Topic: Banlist.php problem  (Read 870 times) Bookmark and Share
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
« 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

Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« 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
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 #2 on: February 06, 2012, 10:08:40 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
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: 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
Beta Testers
*
OS: Windows
Type: Renting Server, no B3
Gameservers: COD4 | COD2 | COD BO (Ranked and Unranked) | MOH 2010
Posts: 129
Offline Offline
« 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
Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« 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
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 #6 on: February 07, 2012, 01:42:35 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

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
Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #7 on: February 07, 2012, 02:55:47 PM »

Try changing the include on line 3 of b3connect.php to include_once
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 #8 on: February 07, 2012, 03:04:53 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
Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #9 on: February 07, 2012, 05:52:49 PM »

Which version of php are you using? And has it changed recently.
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 #10 on: February 07, 2012, 08:41:10 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
Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« 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
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: February 08, 2012, 09:55:16 AM »

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
Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« 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
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 #14 on: February 08, 2012, 01:53:54 PM »

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  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal