Raised This Month: $32 Target: $400
 8% 

Global banlist


Post New Thread Reply   
 
Thread Tools Display Modes
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 05-18-2006 , 18:00  
Reply With Quote #21

Quote:
Originally Posted by sslice
Should it be..
$temp_path = "/www/htdocs/v123918/w_com/amxbans/plugin/temp/";
?
Oops, yea.

Thanks
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
germannavy
Member
Join Date: Dec 2004
Old 05-19-2006 , 02:42  
Reply With Quote #22

can the plugin write a log file ?
maybe with "banlist_log 1"

is it possible to push the update manually?

e.g. with
"banlist_check_database"

my problem is that i canīt see if it works or not.
there are no bans on the server and i canīt see the problem
no comment about the plugin in the server logs
germannavy is offline
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 05-19-2006 , 17:52  
Reply With Quote #23

Quote:
Originally Posted by germannavy
can the plugin write a log file ?
maybe with "banlist_log 1"

is it possible to push the update manually?

e.g. with
"banlist_check_database"

my problem is that i canīt see if it works or not.
there are no bans on the server and i canīt see the problem
no comment about the plugin in the server logs
There's a few simple things:
Do "meta list" at the server console, is the plugin loaded?
Check addons\banlist\data. If the server has updated, there will be two files. database.sq, and update.sq3.
The simplest way to force an update is by unloading the plugin, then deleting database.sq. The next time the plugin is loaded, it will immediately update.

I just found your problem.. your PHP install does not have PDO and PDO_SQLITE enabled. If you have access to your php install, you can enable these by adding some lines to it.. if not, you have to ask your web host to "Enable the php_pdo and php_pdo_sqlite extension", both of which are included with php. When that's done, this url will start a file download. Up until then, you can see the errors.
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
germannavy
Member
Join Date: Dec 2004
Old 05-23-2006 , 05:13  
Reply With Quote #24

@devicenull

now i have changed my php to version 5

i think it works now

i have ban myself for test and will test it this evening

Last edited by germannavy; 05-10-2010 at 07:05.
germannavy is offline
germannavy
Member
Join Date: Dec 2004
Old 05-23-2006 , 13:28  
Reply With Quote #25

i have test it now

the plugin download the data

/addons/banlist/data/database.sq
/addons/banlist/data/update.sq3

the problem:
i ban myself from this server but i can play on the server

donīt know why
germannavy is offline
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 05-23-2006 , 13:46  
Reply With Quote #26

Oops, my fault.
Open getupdates.php, you will see this line:
Code:
error_reporting(E_ALL);
Change the E_ALL to 0, so it becomes

Code:
error_reporting(0);
and let your server go through another update cycle (or delete the two files in the data directory, to force an update)

Your problem should be fixed after this.
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
bandwidth
Junior Member
Join Date: Aug 2004
Old 05-23-2006 , 15:43   download link?
Reply With Quote #27

where can i download this?

thanks.
bandwidth is offline
germannavy
Member
Join Date: Dec 2004
Old 05-23-2006 , 16:39  
Reply With Quote #28

ok i changed it, delete the files and restart the server.
the plugin has download the files again.

i tested again if i can play and strangely enough i can play again.

did the plugin add the steamid to the banned_user.cfg or do the plugin block the player directly ?
germannavy is offline
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 05-23-2006 , 17:56  
Reply With Quote #29

Can you send me both files in the data directory? You can email them to devicenul @gmail.com

Also, is your steamid STEAM_0:1:7601? I assume it is, but I've seen a few cases where steamid's are missing the last couple digits ;)

Bans wont be added to banned_user.cfg until the user that is banned joins.


bandwidth, look on the first page, I think it's the third or forth post.
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 05-23-2006 , 19:35  
Reply With Quote #30

Update in first post.
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
Reply


Thread Tools
Display Modes

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 14:59.


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