Jump to content

Battlefield Admin Control Panel - BFACP


Message added by Prophet731,

Version 2.3.0 and 3.0 will only be offered as a SaaS solution. Please redirect all discussions regarding these versions to EZSCALE's discord channel. 

https://discord.com/channels/905179054527905823/1043276850694201375/1043276850694201375

Recommended Posts

Originally Posted by tchum*:

 

Hi, i'm trying to instal BFACP on my HTTP website but i'm probably doing it wrong...

I've put all the files in my server host

4184894.png

 

And this is what i got...

44898.png

If somone can explain me in more detailled step what i have to do it would be so great, i really need help.

I'm using 000webhost and htttp is set to 5.5

 

btw the link https://api.gamerethos.net/random_key don't work anymore, does i just have to create by myself a random key?

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Prophet731*:

 

Hi, i'm trying to instal BFACP on my HTTP website but i'm probably doing it wrong...

I've put all the files in my server host

Attachment 4701

 

And this is what i got...

Attachment 4702

If somone can explain me in more detailled step what i have to do it would be so great, i really need help.

I'm using 000webhost and htttp is set to 5.5

 

btw the link https://api.gamerethos.net/random_key don't work anymore, does i just have to create by myself a random key?

You have to point the domain to the public folder provided by the app. You do this under something called "document root". As for the key, I'll fix it when I get home.

 

Sent from my ONEPLUS A5010 using Tapatalk

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Prophet731*:

 

Thanks for you answer but now i have this...

Capture d'écran (10).png

i've already put a key in the .env.php...

You will have to talk to your hosting provider to enable that function in your php configuration. That's required for the app to run.

 

Sent from my ONEPLUS A5010 using Tapatalk

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by tchum*:

 

You will have to talk to your hosting provider to enable that function in your php configuration. That's required for the app to run.

 

Sent from my ONEPLUS A5010 using Tapatalk

mmmmh, maybe do you know some free hosting provider where BFACP is working?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Prophet731*:

 

mmmmh, maybe do you know some free hosting provider where BFACP is working?

I do not. Most people here who use it have there own paid hosting. Free hosting isn't guaranteed to work all the time, because of the nature of their service.

 

Sent from my ONEPLUS A5010 using Tapatalk

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by xloneshadowx*:

 

Nitrado hosting is like 3-5$ a month for web space.. customer service sucks but the admincp works. Which brings me to why I am here. Prophet since I been using this I can not temp ban someone from the live scoreboard chat area or when a report comes in i can not temp ban them. Nothing happens at all. I have to go and create a ban. Which is no big deal really just didnt know if that was a common bug or what

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Prophet731*:

 

Nitrado hosting is like 3-5$ a month for web space.. customer service sucks but the admincp works. Which brings me to why I am here. Prophet since I been using this I can not temp ban someone from the live scoreboard chat area or when a report comes in i can not temp ban them. Nothing happens at all. I have to go and create a ban. Which is no big deal really just didnt know if that was a common bug or what

Yeah, I never added the ability to do it from the scoreboard again. Was an oversight back then and just never fixed it.

 

Sent from my ONEPLUS A5010 using Tapatalk

* Restored post. It could be that the author is no longer active.
Link to comment
  • 2 weeks later...

Originally Posted by IceCold*:

 

hi guys,

mysql has been updated to 5.7.24.

since then my adkat plugin is throwing up errors :-

 

[20:40:55 86] [AdKats] EXCEPTION-7500-A0.66-D-UploadInnerRecord-DatabaseComm44: [unexpected error uploading Record.][MySql.Data.MySqlClient.MySqlException: Field 'Banfeed' doesn't have a default value

at PRoConEvents.AdKats.SafeExecuteNonQuery(MySqlComma nd command)

at PRoConEvents.AdKats.UploadInnerRecord(ARecord record)]

 

can this be fixed ?

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ColColonCleaner*:

 

hi guys,

mysql has been updated to 5.7.24.

since then my adkat plugin is throwing up errors :-

 

[20:40:55 86] [AdKats] EXCEPTION-7500-A0.66-D-UploadInnerRecord-DatabaseComm44: [unexpected error uploading Record.][MySql.Data.MySqlClient.MySqlException: Field 'Banfeed' doesn't have a default value

at PRoConEvents.AdKats.SafeExecuteNonQuery(MySqlComma nd command)

at PRoConEvents.AdKats.UploadInnerRecord(ARecord record)]

 

can this be fixed ?

The database column 'Banfeed' does not exist in either the BFACP or AdKats installs, at least according to agent ransack. Is this a custom column that was added? If so it needs a default value.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ColColonCleaner*:

 

Every now and then I go to get player information and I get this error message. Usually i just ignore it but this time i'm trying to edit a ban and i just can't get to the players profile 07ffec54b0b77c967e88a1814f1b3c59.png

Without knowing the actual exception it's difficult to debug. And PHP is notoriously difficult when it comes to that. Prophet might have a response if he sees this post though.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Prophet731*:

 

Every now and then I go to get player information and I get this error message. Usually i just ignore it but this time i'm trying to edit a ban and i just can't get to the players profile 07ffec54b0b77c967e88a1814f1b3c59.png

If its dealing with that view that means something related to that player is missing in the database and should be fixed. Could be players stats or maybe incorrect data that may no longer exist.

 

Sent from my ONEPLUS A5010 using Tapatalk

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by IceCold*:

 

The database column 'Banfeed' does not exist in either the BFACP or AdKats installs, at least according to agent ransack. Is this a custom column that was added? If so it needs a default value.

ok, thanks.

but i also get this errror:-

05:35:27 97] [AdKats] EXCEPTION-7500-A7.28-D-GetPopulatingPlayers-AccessFetching38: [Error while fetching populating players][MySql.Data.MySqlClient.MySqlException: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'plplatoon_guid_stats_bf3.adkats_records_main.targ et_name' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

at PRoConEvents.AdKats.SafeExecuteReader(MySqlCommand command)

at PRoConEvents.AdKats.GetPopulatingPlayers(TimeSpan duration, Int32 minPopulations, Boolean thisServerOnly)]

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ColColonCleaner*:

 

may be Disable ONLY_FULL_GROUP_BY.

i cannot do it on mysql database.(no admin rights)

but you might ?

although, it may create a security issue ?

ColColonCleaner ?

I haven't heard about disabling that being a security issue, and a cursory google search doesn't turn up anything either. But yes, that needs to be disabled as many of the queries do not use explicitly list what to do with each column when grouping. I would consider what we did bad practice now but at the time it was a welcome convenience.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ColColonCleaner*:

 

can the plugin/web be updated ?

Perhaps with time, but the majority if not everyone so far has been able to run with that flag disabled so it's not a priority. Please talk with your database host.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ColColonCleaner*:

 

i added `target_name` to GROUP BY, seem to have fixed it.

but i did backup my database first.

do this at your own risk !

 

ColColonCleaner ?

Thank you for the testing. If the fix is that simple we could easily make the change and push it live. Which file/line is that change required?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by IceCold*:

 

Thank you for the testing. If the fix is that simple we could easily make the change and push it live. Which file/line is that change required?

line 42198 ANY_VALUE(`target_name`) AS `player_name`,

line 42211 `population_count` DESC, ANY_VALUE(`target_name`) ASC) AS InnerResults

 

line 42226 ANY_VALUE(`target_name`) AS `player_name`,

line 42237 `population_count` DESC, ANY_VALUE(`target_name`) ASC) AS InnerResults

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by IceCold*:

 

also same problem with adkat web.

it errors out on player stats view.

 

log file :-

 

[2019-01-26 20:15:51] production.ERROR: exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'plplatoon_guid_stats_bf3.adkats_records_main.reco rd_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by' in /html/pl-panel/vendor/laravel/framework/src/Illuminate/Database/Connection.php:299

 

i dont know what script file to look for that error.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Prophet731*:

 

also same problem with adkat web.

it errors out on player stats view.

 

log file :-

 

[2019-01-26 20:15:51] production.ERROR: exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'plplatoon_guid_stats_bf3.adkats_records_main.reco rd_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by' in /html/pl-panel/vendor/laravel/framework/src/Illuminate/Database/Connection.php:299

 

i dont know what script file to look for that error.

It might be easier to just disable that function because i'm not sure what else requires thats. We never had that function enabled so I don't know what's needed to correct that.

 

https://stackoverflow.com/questions/...-full-group-by

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by IceCold*:

 

It might be easier to just disable that function because i'm not sure what else requires thats. We never had that function enabled so I don't know what's needed to correct that.

 

https://stackoverflow.com/questions/...-full-group-by

thanks, i have seen this, but i don't have the privileges.

 

this might be of use to some :- https://dev.mysql.com/doc/refman/5.7...tion_any-value

 

the queries could be trivially changed using the ANY_VALUE() function

* Restored post. It could be that the author is no longer active.
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.