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

AMXBans how to install?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sakulmore
Member
Join Date: Aug 2022
Old 08-30-2022 , 14:51   AMXBans how to install?
Reply With Quote #1

Hello (again ),

I need help with installing AMXBans from this (https://www.amxmod.net/forum/showthread.php?tid=1221).

There is a amxbans.amx file (.amx, not .amxx) and when I trying to compile it to .amxx there is a lot of errors. So can I ask someone that can compile it for me? Or how can I install it?
sakulmore is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-31-2022 , 00:48   Re: AMXBans how to install?
Reply With Quote #2

If you want to use AMXBans, you should use the one that was created for AMX Mod X.
__________________
fysiks is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 08-31-2022 , 11:04   Re: AMXBans how to install?
Reply With Quote #3

And I highly recommend you to NOT use amxmod, as it was known as infected malware, allowing their creators to use any commands on the server they want.
Read about it HERE.
__________________

Mordekay is online now
sakulmore
Member
Join Date: Aug 2022
Old 08-31-2022 , 20:09   Re: AMXBans how to install?
Reply With Quote #4

Quote:
Originally Posted by fysiks View Post
If you want to use AMXBans, you should use the one that was created for AMX Mod X.
I finded this: http://forum.amxbans.net/viewtopic.php?f=6&t=202

I got this error after installation process:
Code:
table 'amxbans.amx_webconfig' doesn't exist
How can I fix this?
sakulmore is offline
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 09-01-2022 , 23:54   Re: AMXBans how to install?
Reply With Quote #5

Quote:
Originally Posted by sakulmore View Post
I finded this: http://forum.amxbans.net/viewtopic.php?f=6&t=202

I got this error after installation process:
Code:
table 'amxbans.amx_webconfig' doesn't exist
How can I fix this?
AMXBans is released under some conditions where you need specific php version to work and mysql.
Php5 versions require the old php_mysql and not the new mysqli which breaks the whole app and it doesn't run. If you use a newer OS such as ubuntu 20.04 you can use a migrated version that works on php7: https://github.com/leszcz/amxbans-php7
I doesnt seem to work on php8 under ubuntu 22.04...
__________________
bigdaddy424 is offline
sakulmore
Member
Join Date: Aug 2022
Old 09-02-2022 , 03:07   Re: AMXBans how to install?
Reply With Quote #6

I used different PHP and MySQL versions and still not works. But there are one more thing about installation process.

When the (website?) is installing then on finish page is this (failed statements) (see image). Do have this something to do with that error?

I used versions: (not working on all these versions)

PHP:
5.3
5.6

MySQL:
5.7
8.0
Attached Thumbnails
Click image for larger version

Name:	Snímka obrazovky 2022-09-02 090355.png
Views:	36
Size:	50.0 KB
ID:	196618  
sakulmore is offline
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 09-02-2022 , 18:02   Re: AMXBans how to install?
Reply With Quote #7

php5 is outdated, use the one from the github link i sent
__________________
bigdaddy424 is offline
sakulmore
Member
Join Date: Aug 2022
Old 09-03-2022 , 00:59   Re: AMXBans how to install?
Reply With Quote #8

It works, thanks! But there are one more thing.

When I click on the "Server" I'll got this error (see img).

Edit: I'm using PHP version 7.1 because I don't have an option to use exactly PHP 7.0 for now.
Attached Thumbnails
Click image for larger version

Name:	image.jpg
Views:	38
Size:	40.0 KB
ID:	196647  

Last edited by sakulmore; 09-03-2022 at 01:07.
sakulmore is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-03-2022 , 02:32   Re: AMXBans how to install?
Reply With Quote #9

Change

Code:
    "time"    => time());
to

Code:
    "time"    => time()
__________________

Last edited by fysiks; 09-05-2022 at 23:56.
fysiks is offline
sakulmore
Member
Join Date: Aug 2022
Old 09-03-2022 , 06:24   Re: AMXBans how to install?
Reply With Quote #10

Quote:
Originally Posted by fysiks View Post
Change

Code:
    "time"    => time());
to

Code:
    "time"    => time();
Now it writting:
Parse error: syntax error, unexpected ';', expecting ']' in /amxbans/view.php on line 168
sakulmore 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 12:06.


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