Raised This Month: $51 Target: $400
 12% 

Release SourceBans++ (v1.6.4) [Updated: 2021-10-06]


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Schpraaankiii
Veteran Member
Join Date: Dec 2009
Location: Sweden Norrköping
Old 10-20-2015 , 20:58   Re: [RELEASE] SourceBans++ (v1.5.3) [Updated: 2015-10-07]
#341

Quote:
Originally Posted by lay295 View Post
Sorry I misread your post, my bad. And the code works fine for me? Do you have a different sourcebans salt? The default salt is "SourceBans" and I just made a test user in my sourcebans page with the password "1234" and used the php script to see if the hash was the same, and it was. So i'm not sure what the problem you're having is.

Code:
<?php
$salt = "SourceBans";
$password = "1234";

echo sha1(sha1($salt . $password));
?>
//returns 5f93d9242ca5c28f69e2feba07ae7227e0139f9d
I was missing the deffault salt. Thx for the help man!
__________________
CAOSK-ESPORTS.COM

Last edited by Schpraaankiii; 10-20-2015 at 21:10.
Schpraaankiii is offline
Send a message via Skype™ to Schpraaankiii
eric0279
AlliedModders Donor
Join Date: May 2007
Old 10-24-2015 , 07:12   Re: [RELEASE] SourceBans++ (v1.5.3) [Updated: 2015-10-07]
#342

Hi,

Quote:
You must set valid `ServerID` value in sourcebans.cfg
I have tried 1 (sid = 1 in sb_servers table) or -1

what is wrong please?
eric0279 is offline
MyWarthog
Senior Member
Join Date: Feb 2013
Old 10-24-2015 , 17:33   Re: [RELEASE] SourceBans++ (v1.5.3) [Updated: 2015-10-07]
#343

Quote:
Originally Posted by MyWarthog View Post
Issue with a blank white page.

Moved hosts, got a backup of the db and files. Uploaded everything and restored the backup with "Do not use AUTO_INCREMENT for zero values" UNCHECKED (Was this right?). However, going to the main URL, I get nothing but a blank white page. No warnings or anything. I tried adding debug=1, but nothing got printed out. If I run an install, the "System Requirements" page after entering the database info returns nothing (see screenshot below). Is it something that needs to be enabled? Database information is all correct.




Any ideas? Nothing in the Apache error log. I'm hosting it, so I have WHM access in case I need to enable/disable something.
Sorry for the full quote, but I need to bump this up here. Anyone have any ideas?
MyWarthog is offline
nikooo777
AlliedModders Donor
Join Date: Apr 2010
Location: Lugano, Switzerland
Old 10-26-2015 , 10:57   Re: [RELEASE] SourceBans++ (v1.5.3) [Updated: 2015-10-07]
#344

Quote:
Originally Posted by MyWarthog View Post
Sorry for the full quote, but I need to bump this up here. Anyone have any ideas?
what is your database and apache version?
__________________
nikooo777 is offline
MyWarthog
Senior Member
Join Date: Feb 2013
Old 10-28-2015 , 13:15   Re: [RELEASE] SourceBans++ (v1.5.3) [Updated: 2015-10-07]
#345

I got it fixed. It ended up being that EasyApache in WHM doesn't compile the MySQLi extension into PHP by default - I had to recompile it in order to get it to work. Did a quick and dirty way of diagnosing it:

Put exit("All good up to here."); in the index file line by line, and then in the init file. When it stopped working at the ADODb lines, I knew that the problem was there. After an hour or two of researching it, I got it all set and working.

I forgot to mention this, sorry about that. Got too excited and started getting everything else up and running on the new system.
MyWarthog is offline
mufin
BANNED
Join Date: Aug 2015
Old 10-31-2015 , 23:40   Re: [RELEASE] SourceBans++ (v1.5.3) [Updated: 2015-10-07]
#346

Quote:
SELECT aid,password FROM sb_admins WHERE authid = 'STEAM_0:0:115823295';
Warning: Cannot modify header information - headers already sent by (output started at /home/c1218921/public_html/bans/steamopenid.php:63) in /home/c1218921/public_html/bans/steamopenid.php on line 78

i cant log in with steam... i removed this..

Quote:
echo "SELECT aid,password FROM " .$prfx ."admins WHERE authid = '" .$data ."'; ";
but it brings me back to sb with no log in anyway to fix this?
mufin is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 11-01-2015 , 01:45   Re: [RELEASE] SourceBans++ (v1.5.3) [Updated: 2015-10-07]
#347

When I have banned player in game he was banned by ip or steam id?
ZASTRELIS is offline
enstage
AlliedModders Donor
Join Date: Oct 2014
Location: Australia
Old 11-02-2015 , 00:17   Re: [RELEASE] SourceBans++ (v1.5.3) [Updated: 2015-10-07]
#348

Quote:
Originally Posted by ZASTRELIS View Post
When I have banned player in game he was banned by ip or steam id?
Gonna need more info than that.
__________________

~Enstage
enstage is offline
Send a message via Skype™ to enstage
enstage
AlliedModders Donor
Join Date: Oct 2014
Location: Australia
Old 11-02-2015 , 06:54   Re: [ANY] SourceBans: Reloaded (v1.5.3, 2015-09-03)
#349

Quote:
Originally Posted by abrandnewday View Post
If someone knows how to make this work on the Dashboard, plz send halp my way.
For those wondering, just did this along with many other changes:
https://github.com/Sarabveer/SourceBans-Fork/pull/73
__________________

~Enstage
enstage is offline
Send a message via Skype™ to enstage
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 11-03-2015 , 08:40   Re: [RELEASE] SourceBans++ (v1.5.3) [Updated: 2015-10-07]
#350

Quote:
* Added Own Admin Config System (No More admins.cfg)
Where are the settings stored locally now? Because it seems that none of my admins has flags after the server lost a connection with the database.
__________________
Wilczek is offline
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 08:17.


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