Raised This Month: $ Target: $400
 0% 

amxbans 4.0


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Morpheus
Senior Member
Join Date: Mar 2004
Old 12-10-2004 , 03:51  
#521

Quote:
Originally Posted by pendragon
Does anyone else have a problem where they get a blank page for the following WebFront pages? :

Add Live Ban
Import
Export
Servers
Config
Actually the standard package from AMXBANS 4.0 does not contain all the smarty files and ect.. I had the same problem. Blank pages...

So I just copied our smarty folder from the previous version, into the new web folder and its working fine !

Also check the read write rights on the folders if ur running linux and ect.

Morpheus
Morpheus is offline
QuakerOates
Senior Member
Join Date: Mar 2004
Old 12-12-2004 , 04:08  
#522

hi again,

Does any1 know why the mov_ban.pl always says the following:

Code:
DBI connect('dbname=site_amxbans;host=locoalhost','site_amxbans',...) failed: Unknown MySQL Server Host 'locoalhost' (1) at /home/site/public_html/amxbans/move_bans.pl line 87
Can't call method "prepare" on an undefined value at /home/site/public_html/amxbans/move_bans.pl line 43
The database details are corret as there the same 1 i used to get amxbans working ok with.
__________________
SteamBans.org
QuakerOates is offline
Xtrm2Matt
Member
Join Date: Nov 2004
Location: England, UK
Old 12-12-2004 , 14:00  
#523

Hi,

Need a bug fixing. I have 2 servers, running on seperate IPs. However, if I add another server on the same IP as another (with a different port), it overrides the other server on the same IP. This is a major bug as I can basically only have 2 servers added.....

Anyone know how to fix this?

Matt
Xtrm2Matt is offline
Gunny
Senior Member
Join Date: Mar 2004
Location: Magnolia, Texas
Old 12-12-2004 , 15:20  
#524

Quote:
Originally Posted by QuakerOates
hi again,

Does any1 know why the mov_ban.pl always says the following:

Code:
host=locoalhost'  'locoalhost'
The database details are corret as there the same 1 i used to get amxbans working ok with.

You might need to correct that to "localhost "
__________________
TEAM FORTRESS 2 - 70.85.30.25:27015
COUNTER-STRIKE SOURCE - 70.85.30.22:27015
COUNTER-STRIKE SOURCE DEATH MATCH - 70.85.30.23:27015
Gunny is offline
Gunny
Senior Member
Join Date: Mar 2004
Location: Magnolia, Texas
Old 12-12-2004 , 15:24  
#525

Quote:
Originally Posted by Xtrm2Matt
Hi,

Need a bug fixing. I have 2 servers, running on seperate IPs. However, if I add another server on the same IP as another (with a different port), it overrides the other server on the same IP. This is a major bug as I can basically only have 2 servers added.....

Anyone know how to fix this?

Matt
You need to have the server ip listed in the startup line.

I use the following for mine I also have the port listed so if I use a second server on the same IP , I use linux

Code:
hlds_run -game cstrike +ip 69.93.45.18 +port 27015 +maxplayers 18 +map de_dust2 &
__________________
TEAM FORTRESS 2 - 70.85.30.25:27015
COUNTER-STRIKE SOURCE - 70.85.30.22:27015
COUNTER-STRIKE SOURCE DEATH MATCH - 70.85.30.23:27015
Gunny is offline
Xtrm2Matt
Member
Join Date: Nov 2004
Location: England, UK
Old 12-12-2004 , 16:58  
#526

Quote:
Originally Posted by Gunny
Quote:
Originally Posted by Xtrm2Matt
Hi,

Need a bug fixing. I have 2 servers, running on seperate IPs. However, if I add another server on the same IP as another (with a different port), it overrides the other server on the same IP. This is a major bug as I can basically only have 2 servers added.....

Anyone know how to fix this?

Matt
You need to have the server ip listed in the startup line.

I use the following for mine I also have the port listed so if I use a second server on the same IP , I use linux

Code:
hlds_run -game cstrike +ip 69.93.45.18 +port 27015 +maxplayers 18 +map de_dust2 &
Think you mis-read my post mate. I mean that I have 3 servers, and onl 2 IPs.

1.xx.xx.xx:27015
1.xx.xx.xx:27016
2.xx.xx.xx:27015

^ I run them like these ^

When I add the ban management to 1.xx.xx.xx:27016, it overides 1.xx.xx.xx:27015 in the SERVERS in the webpage management. So therefore, I can only have 2 servers listed instead of 3.

Anyone know a fix?
Xtrm2Matt is offline
Kamikaze
Senior Member
Join Date: Mar 2004
Location: Butler, PA
Old 12-12-2004 , 17:43  
#527

Why put that in a start parimeter, just place ip "IP ADDRESS" in your server.cfg file.

Also Windows machines won't let you put WAN IPs (IP ppl use to connect to your server) as a startup parimeter because it won't recognize it unless you directly plug what you use for the internet directly into your computer (like a cable/dsl connection). Why is because if you connect to a router or other server on the LAN, you use Local IP address and lets so I put +ip 24.154.32.10 on mine, I use a router for my internet and setting that will make the server crash with a message that it doesn't recognize that IP address so it won't work.

Solution:

Place IP "IP Address" (place your WAN IP here) in your server.cfg file.

On linux this may occur as well, depends on your setup and what Linux Distro. your using. I know I had this happen on Linux too when I tried it.

Try this, it works perfect for me, I have mulitple servers.
Kamikaze is offline
Send a message via ICQ to Kamikaze Send a message via AIM to Kamikaze Send a message via MSN to Kamikaze Send a message via Yahoo to Kamikaze
Xtrm2Matt
Member
Join Date: Nov 2004
Location: England, UK
Old 12-12-2004 , 17:59  
#528

Quote:
Originally Posted by Kamikaze
Why put that in a start parimeter, just place ip "IP ADDRESS" in your server.cfg file.

Also Windows machines won't let you put WAN IPs (IP ppl use to connect to your server) as a startup parimeter because it won't recognize it unless you directly plug what you use for the internet directly into your computer (like a cable/dsl connection). Why is because if you connect to a router or other server on the LAN, you use Local IP address and lets so I put +ip 24.154.32.10 on mine, I use a router for my internet and setting that will make the server crash with a message that it doesn't recognize that IP address so it won't work.

Solution:

Place IP "IP Address" (place your WAN IP here) in your server.cfg file.

On linux this may occur as well, depends on your setup and what Linux Distro. your using. I know I had this happen on Linux too when I tried it.

Try this, it works perfect for me, I have mulitple servers.
Thanks mate, that seems to have worked
Xtrm2Matt is offline
Exterminator.nl
Guest
Old 12-14-2004 , 13:38  
#529

I just installed your plugin and im getting this error.

PLugin compiled by me

L 12/14/2004 - 195:43: [MySQL] DB Connection failed(2002): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 12/14/2004 - 195:43: [AMXX] Native error in "dbi_query" on line 584 (plugin "amxbans.amxx").
L 12/14/2004 - 195:43: [MySQL] Invalid database handle -11
L 12/14/2004 - 195:43: [AMXX] Debug Trace =>
L 12/14/2004 - 195:43: [AMXX] [0] Line 584, File "amxbans.sma"
L 12/14/2004 - 195:43: [AMXX] [1] Line 570, File "amxbans.sma"
L 12/14/2004 - 195:43: [AMXX] Native error in "dbi_nextrow" on line 594 (file "amxbans.sma").
L 12/14/2004 - 195:43: [MySQL] Invalid result handle -6
L 12/14/2004 - 195:43: [AMXX] Native error in "dbi_query" on line 595 (file "amxbans.sma").
L 12/14/2004 - 195:43: [MySQL] Invalid database handle -11
L 12/14/2004 - 195:43: [amxbans.amxx] AMXBans amxx_4.0 is online
L 12/14/2004 - 195:43: [MySQL] DB Connection failed(2002): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 12/14/2004 - 195:43: [AMXX] Native error in "dbi_query" on line 164 (plugin "amxbans_menu.amxx").
L 12/14/2004 - 195:43: [MySQL] Invalid database handle -11
L 12/14/2004 - 195:43: [AMXX] Debug Trace =>
L 12/14/2004 - 195:43: [AMXX] [0] Line 164, File "amxbans_menu.sma"
L 12/14/2004 - 195:43: [AMXX] [1] Line 111, File "amxbans_menu.sma"
L 12/14/2004 - 195:43: [AMXX] Native error in "dbi_nextrow" on line 179 (file "amxbans_menu.sma").
L 12/14/2004 - 195:43: [MySQL] Invalid result handle -6
[AMXX] Loaded 0 reasons from database
L 12/14/2004 - 195:43: [AMXX] Native error in "dbi_query" on line 140 (plugin "amxbans_menu.amxx").
L 12/14/2004 - 195:43: [MySQL] Invalid database handle -11
L 12/14/2004 - 195:43: [AMXX] Debug Trace =>
L 12/14/2004 - 195:43: [AMXX] [0] Line 140, File "amxbans_menu.sma"
L 12/14/2004 - 195:43: [AMXX] [1] Line 112, File "amxbans_menu.sma"
L 12/14/2004 - 195:43: [amxbans_menu.amxx] AMXBans Menu is online (0 reasons loaded

plugin in package

L 12/14/2004 - 19:49:29: [AMXX] Native error in "dbi_query" on line 584 (plugin "amxbans.amxx").
L 12/14/2004 - 19:49:29: [MySQL] Invalid database handle -11
L 12/14/2004 - 19:49:29: [AMXX] Debug Trace =>
L 12/14/2004 - 19:49:29: [AMXX] [0] Line 584, File "phpZb622K.sma"
L 12/14/2004 - 19:49:29: [AMXX] [1] Line 570, File "phpZb622K.sma"
L 12/14/2004 - 19:49:29: [AMXX] Native error in "dbi_nextrow" on line 594 (file "phpZb622K.sma").
L 12/14/2004 - 19:49:29: [MySQL] Invalid result handle -6
L 12/14/2004 - 19:49:29: [AMXX] Native error in "dbi_query" on line 595 (file "phpZb622K.sma").
L 12/14/2004 - 19:49:29: [MySQL] Invalid database handle -11
L 12/14/2004 - 19:49:29: [amxbans.amxx] AMXBans amxx_4.0 is online

It running on a Mandrake 10.1 server

cheers !!
Kamikaze
Senior Member
Join Date: Mar 2004
Location: Butler, PA
Old 12-15-2004 , 00:03  
#530

Just curious but did you specify Localhost as your IP address, if so you should change that to 127.0.0.1.

Look up on the Mysql site what error: [MySQL] DB Connection failed(2002) means, look up error code 2002, you could find a solution there.

Also if you don't have your Mysql setup properly it will do this, also make sure your firewall isn't causing this also.
Kamikaze is offline
Send a message via ICQ to Kamikaze Send a message via AIM to Kamikaze Send a message via MSN to Kamikaze Send a message via Yahoo to Kamikaze
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode