Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
I didnt have any problems with db, actually the install went very smoothly. Are you sure you used your "panel username" as the prefix for the db name and username.
Example: dbname - prefix_dbname username - prefix_username |
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
I do wish they would add my mods i did a while back to this one day so i dont have to mod it anymore :)
https://forums.alliedmods.net/showpo...&postcount=600 and https://forums.alliedmods.net/showpo...&postcount=616 Also it looks like in the new release they didnt properly comment out the file header comments as they are being parsed on the admin permissions page. PHP Code:
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Hi Yes iv Made sure its Correct It iv even made a new database as well to see if that works noithing just says check if the database details are correct
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
As i am going thru this trying to find the comment culpret i will post other things i find.
Such as: 1. Admins.comms.php found issue with presidence of code order. Current code: PHP Code:
Like so: PHP Code:
PHP Code:
defined value in the following way and see if it corrects the issue. Because so far im not finding any issue with the files other than this. Its easier to just change the * to # PHP Code:
3. pages/admin.edit.server.php - Admin edit server file has the div at the top of the file, php tag should always be the very first thing in line 1 original code PHP Code:
PHP Code:
5. I hope they remember when they rewrite this script that "if all you have is PHP in your file" then "you do not need the closing php tag". This will prevent some header loaded issues from the past. 6. OK after going through most of the files in several directories and replacing the header text with new text, i finally found the issue with the parsing of the header comments with some nifty detective work. Seems the dev was just too lazy, he said so himself in the file. I can understand being too tired or too frustrated or too wacky because of coding stress, im a programmer as well. But "LAZY" i cant stand for, its just a poor excuse and does not set a good example at all. Anyway here is the code. Its in pages/admin.edit.group.php It begins right at line 79 Original Code: PHP Code:
So the solution would the be include the value file but strip out the php tags in the file. So rather than rewrite this all over again lets just patch what is already done here. Here is the fix: For this part original code PHP Code:
New Code: The easiest thing to do is just to remove the header content from this one (included file) content value and "define" statement and just open and close the php at the top of the file file right away. Since the rest of the file "pages/groups.web.perm.php" is all html then thats ok. We will just have to move some php tags around in our pages.admin.edit.group.php file to accomadate it. for the pages/admin.edit.group.php file change this part: This is from line 76 to 80 exactly as it is in the original PHP Code:
PHP Code:
PHP Code:
PHP Code:
That should patch it just fine. Now the edit groups page will load without the nasty parsed comment. Enjoy :) After thought: youll have to do the same probably with the two server admin files and the two server files as well in the group management page. I just did the first option for the web admin groups, but i see the others have the same issue. |
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Dusty just create a simple php file with some connection code inside, and test the connection manually. Do you know how to do that? If not ill help you, is there anything right now in your error log file in the root
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
I added some patch work above in case anyone is interested :)
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
thank you
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Any chance that SBPP++ 2.0 is available for preview, for developers, theme creators, and etc. I want to see what changed in the backend and prepare for it :P
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Request features for SB++ 2.0 here: https://github.com/sbpp/sourcebans-p...-requests-faq/
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
*UPDATE*
Removed error-report post from this thread, and added case on Github instead: https://github.com/sbpp/sourcebans-pp/issues/228 Sorry, for the off-topic. |
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Quote:
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Errors :
Code:
L 03/10/2017 - 08:05:17: SourceMod error session started |
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Quote:
Cheers, |
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
I'm having a real had time installing, the only error I get occurs during "Step 2 - Database Details". After entering my information correctly (I have been trying to get this to work for weeks now, all the information is correct) I continue to get the error:
Code:
There was an error connecting to your database. |
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Quote:
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Finally, I got SourceSleuth to work properly. If anyone is still having problems with it, you can recompile the source file by moving:
Before:
To:
After:
Afterwards, you must delete the old configs that has to do with SourceBans++ and restart your servers in order to load new ones. |
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Quote:
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Quote:
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Using latest version 1.5.4.7 .
My sourcebans++ just have been hacked today. The hacker somehow bypass my admin user / send rcon command to kick all players out of my servers with a greeting message "DOPE RULEZ". Rename all servers to DOPE GOD ... He also deleted all bans record and all admins users. I've tracked his IP > from Turkey I'm here to notice all people who using this. The hacker seems very similar to sourcebans system. /// P/s: I've found out how he can do that ! ... Fixed |
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Care to share how this happened so other owners here can protect themselves?
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Quote:
You can test on your sourceban now, just enter the admin username - don't need to enter any password. Bang you've have logged in as a website admin... That's how my site got hacked :\ ... He'd looked into my sb banlist and test each user until he found one server root admin that I've set without password to log on the website (my server roles > mod > smod >root and webADMIN is for the sourcebans login ) RIP me. But I've fixed anyway. Thanks him for that. If someone here using this and used to set admins in the server without web login password. YOU SHOULD FIX |
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Quote:
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Quote:
Some serious leak indeed... |
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
This should've been temp "fixed" in a more recent commit, the patch fix was only allowing login through steam, so the manual user login/password boxes are removed.
Edit: Here's the commit from almost 1 year ago: https://github.com/sbpp/sourcebans-p...f66c9b3618589a Adds this option: http://i.imgur.com/U4d0eC9.jpg You guys should definitely update asap, there have been some security fixes since, such as this important one. |
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Quote:
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Quote:
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
I just used this MySQL query to temp fix the logins for now until it's fixed.
Code:
UPDATE sb_admins SET 'password' = replace('password', '1fcc1a43dfb4a474abb925f54e65f426e932b59e', ''); http://i.imgur.com/dXaTier.png However you'll need to manually wipe new users of their passwords until it's fixed. |
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Quote:
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Quote:
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Quote:
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Need urgent help with the above, completely locked myself out
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Managed to get logged in as my session was still stored on my phone, so I got normal logins re-enabled, but the Steam Open ID login still loops
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Quote:
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Today updated to 1.6.0-git0
Problem with OPENID If specify the path to the site in the config, 404 appears after logging in. Wrong URL //bans.my_site/bans.my_site The path to the site is duplicated |
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Quote:
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Registration works.
If after an 404 error simply enter into the browser Bans.my_site, you will be registered However, why it issues a double url, I do not understand. |
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
edit, was just wrong server.
|
Re: [RELEASE] SourceBans++ (v1.5.4.7) [Updated: 2016-04-28]
Quote:
|
Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
But the solution
Quote:
|
All times are GMT -4. The time now is 23:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.