amxbans

Connect with other users about what to run on your webhosting (and how to run it) here.
Post Reply
saithan
New to forums
New to forums
Posts: 6
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sat Mar 03, 2012 11:44 am

amxbans

Post by saithan »

Hello all..

I have a problem with my amxbans after ur recent update sofware on my webhost....

that message appear on my header

Warning: Creating default object from empty value in /usr/www/bsoldiers/public/neww/include/config.inc.php on line 7


also on my admin panel

AMXBans Website Version
Warning: Illegal string offset 'release' in /usr/www/bsoldiers/public/neww/include/smarty/templates_c/%%9D^9DD^9DDD4BE0%%admin_in.tpl.php on line 24


i think was a bug, but i already create a new root and installed a new amxbans copy, but appear same problem...

(i request support on nfo panel, but them told me to come forum and post this)



Message that i receive from UR...



Upcoming reboot/upgrade @ 1am PST on 1/3
Jan 02 2014 12:17:59 PM PT We are planning to reboot the server hosting your website at approximately 1am PST on January 3, 2014. As part of this, we will also be upgrading your machine's software to slightly more recent versions, including a change from PHP 5.3 to PHP 5.4. This should not impact the operation of nearly all sites, but if you have software that does not work with PHP 5.4, you will need to update or replace it.

The event is fully scripted and we will be monitoring it closely. We expect for the total downtime from this maintenance to be approximately 5-15 minutes.
saithan
New to forums
New to forums
Posts: 6
Joined: Sat Mar 03, 2012 11:44 am

Re: amxbans

Post by saithan »

I already fix it... thx alot!!!!!!!!
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: amxbans

Post by kraze »

If you don't mind me asking, what was your fix? Others in the community may have the same issue.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
saithan
New to forums
New to forums
Posts: 6
Joined: Sat Mar 03, 2012 11:44 am

Re: amxbans

Post by saithan »

well... for all those member who have same issue, dont waste ur time sending nfo support, because u will receive this answer a million times...
Sat, Jan 11 2014 1:28pm - answered by Charlie
While we understand that AMXBans may not have official releases, perhaps they can release a patch to bring the software up to date with the current PHP version. Other software that is being released requires PHP 5.4 to function, and this will only become more prevalent as we move deeper into 2014 and 15. The decision to update to a newer version was not taken lightly, and it's unfortunate that some software does not make the transition without errors.
same here... dont waste ur time waiting for answer....
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: amxbans

Post by kraze »

Looking around for other people seeing that error, it seems the developer is just suggesting that you disable PHP errors.

Adding display_errors=Off to your .htaccess should do that.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
User avatar
Edge100x
Founder
Founder
Posts: 13120
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: amxbans

Post by Edge100x »

saithan, that is not a form answer, so others asking questions would not receive the same one "a million times" -- or even one time :)
albeezze
New to forums
New to forums
Posts: 2
Joined: Tue Jun 03, 2014 2:38 am

Re: amxbans

Post by albeezze »

I'm still having the same issues as the OP had. Any other clues on how to fix it? I keep hearing you have to put display_errors=Off in PHP.ini but to no avail. Any help would be greatly appreciated.
User avatar
rymax99
This is my homepage
This is my homepage
Posts: 143
Joined: Sun Feb 02, 2014 2:08 pm
Location: Florida
Contact:

Re: amxbans

Post by rymax99 »

albeezze wrote:I'm still having the same issues as the OP had. Any other clues on how to fix it? I keep hearing you have to put display_errors=Off in PHP.ini but to no avail. Any help would be greatly appreciated.
If you're using shared web hosting provided by NFO, or really any Apache web server using mod_php, you can use a .htaccess file containing the line 'display_errors=Off' in the directory which contains the script to toggle the display of PHP errors.

To be clear, you'd just put 'display_errors=Off' in a .htaccess file in the directory containing the script which in this case it appears to be 'amxbans'.

I'd like to add that not displaying errors isn't the best solution for the issue, it's rather a visual patch. With a bit of research on amxbans, it appears their development is spotty and it looks like the project isn't really maintained, so it's likely that they just haven't kept the script up to date and that the errors/warnings that you see from PHP are from the script using depreciated PHP functions and or improper code being used. The best solution would be to try to get the developers of the script to fix the warnings. In a rare case it might be that the shared web hosting server you're on may be using a older version of PHP, possibly PHP 5.3 and the script uses features added in PHP 5.4 or 5.5, but I doubt that's the case.
$atanic $pirit
This is my homepage
This is my homepage
Posts: 251
Joined: Tue Jan 28, 2014 5:32 am

Re: amxbans

Post by $atanic $pirit »

AMXBANS hasn't been in development is years. The last release was AMXBANS 6.0.3 from official team, but GM team made their own version which is called amxbans 1.6.

They are both outdated and will have issues with new PHP versions. As rymax99 said disable the errors in .htaccess or you can use change outut buffer settings in each php file. I won't recommend second method, but it's your call.
Image
Post Reply