Page 1 of 15 12311 ... LastLast
Results 1 to 10 of 178

Hybrid View

  1. #1

    Battlefield Admin Control Panel for AdKats [BFACP]

    Readme for version 2.0.3. Download

    Readme for version 2.1-dev. Download

    Further instructions for version 2.1-dev. Make sure to run the setup.sql script if you are not installing through the command line. Previous versions should not be in the database if you have to manually run the setup.sql script as it will throw an error when it tries to create the tables.

    Topic placeholder for version 3.0. I'll update this post when version 3 is released. For now support can be placed here instead of spamming the AdKats thread.
    Last edited by Prophet731; 03-12-2017 at 10:45. Reason: Added further instructions for version 2.1-dev
    Developer of the BFAdminCP

  2. #2
    We're using AdminCP 2.0.1 (newer version until 2.0.3 didn't work yet and I had no time to try 2.1).
    I got an issue on my scoreboard: I can't see my playerslist.
    Chat and everything else is there but no playerlist.
    This is since a few days and I couldn't fix it.
    In my errolog this message appears:
    "production.ERROR: exception 'ErrorException' with message 'Undefined offset: 10' in BFAdminBF3/app/bfacp/Libraries/BF3Conn.php:2709"
    I had a look into this file and line and there is:
    "$nRows = $res[10];"
    I can remember that there was kinda bug after the last BF3 server update but I can't remember if it was this line or another.
    Maybe someone knows a solution.

  3. #3
    Quote Originally Posted by Checka_Wiemi View Post
    We're using AdminCP 2.0.1 (newer version until 2.0.3 didn't work yet and I had no time to try 2.1).
    I got an issue on my scoreboard: I can't see my playerslist.
    Chat and everything else is there but no playerlist.
    This is since a few days and I couldn't fix it.
    In my errolog this message appears:
    "production.ERROR: exception 'ErrorException' with message 'Undefined offset: 10' in BFAdminBF3/app/bfacp/Libraries/BF3Conn.php:2709"
    I had a look into this file and line and there is:
    "$nRows = $res[10];"
    I can remember that there was kinda bug after the last BF3 server update but I can't remember if it was this line or another.
    Maybe someone knows a solution.
    Yes that has been fixed. Just save this file and upload it back to the folder and it should fix the problem.

    https://github.com/AdKats/BFACP/blob...es/BF3Conn.php
    Developer of the BFAdminCP

  4. #4
    Yeah I already solved this problem by changing in line 2709 the "10" into a "9" and everything was fine.
    But I wonder why this happened now?
    Thanks for the help Prophet :-)

  5. #5
    Quote Originally Posted by sixpax12 View Post
    ... getting a bunch of these.


    Code:
    [Sun Dec 03 09:25:14.297723 2017] [cgi:error] [pid 27660] [client 107.77.202.156:44461] AH01215: #6 /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/I in /home/XXXX/info.XXXX.org/app/Composers/UserComposer.php on line 26: /usr/local/cpanel/cgi-sys/ea-php56
    [Sun Dec 03 09:25:14.297644 2017] [cgi:error] [pid 27660] [client 107.77.202.156:44461] AH01215: #5 /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/Illuminate/View/Factory.php(510): Illuminate\\Events\\Dispatcher->fire('composing: syst...', Array): /usr/local/cpanel/cgi-sys/ea-php56
    [Sun Dec 03 09:25:14.297552 2017] [cgi:error] [pid 27660] [client 107.77.202.156:44461] AH01215: #4 /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(221): call_user_func_array(Object(Closure), Array): /usr/local/cpanel/cgi-sys/ea-php56
    [Sun Dec 03 09:25:14.297401 2017] [cgi:error] [pid 27660] [client 107.77.202.156:44461] AH01215: #2 /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/Illuminate/View/Factory.php(480): call_user_func_array(Array, Array): /usr/local/cpanel/cgi-sys/ea-php56
    [Sun Dec 03 09:25:14.297263 2017] [cgi:error] [pid 27660] [client 107.77.202.156:44461] AH01215: #0 /home/XXXX/info.XXXX.org/app/Composers/UserComposer.php(26): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(8, 'Trying to get p...', '/home/XXXX/info...', 26, Array): /usr/local/cpanel/cgi-sys/ea-php56
    [Sun Dec 03 09:25:14.297079 2017] [cgi:error] [pid 27660] [client 107.77.202.156:44461] AH01215: PHP Fatal error:  Uncaught exception 'ErrorException' with message 'Trying to get property of non-object' in /home/XXXX/info.XXXX.org/app/Composers/UserComposer.php:26: /usr/local/cpanel/cgi-sys/ea-php56
    [Sun Dec 03 09:18:44.561882 2017] [cgi:error] [pid 28845] [client 107.77.202.156:58761] AH01215: #6 /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/I in /home/XXXX/info.XXXX.org/app/Composers/UserComposer.php on line 26: /usr/local/cpanel/cgi-sys/ea-php56
    [Sun Dec 03 09:18:44.561784 2017] [cgi:error] [pid 28845] [client 107.77.202.156:58761] AH01215: #5 /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/Illuminate/View/Factory.php(510): Illuminate\\Events\\Dispatcher->fire('composing: syst...', Array): /usr/local/cpanel/cgi-sys/ea-php56
    [Sun Dec 03 09:18:44.561664 2017] [cgi:error] [pid 28845] [client 107.77.202.156:58761] AH01215: #4 /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(221): call_user_func_array(Object(Closure), Array): /usr/local/cpanel/cgi-sys/ea-php56
    [Sun Dec 03 09:18:44.561468 2017] [cgi:error] [pid 28845] [client 107.77.202.156:58761] AH01215: #2 /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/Illuminate/View/Factory.php(480): call_user_func_array(Array, Array): /usr/local/cpanel/cgi-sys/ea-php56
    [Sun Dec 03 09:18:44.561288 2017] [cgi:error] [pid 28845] [client 107.77.202.156:58761] AH01215: #0 /home/XXXX/info.XXXX.org/app/Composers/UserComposer.php(26): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(8, 'Trying to get p...', '/home/XXXX/info...', 26, Array): /usr/local/cpanel/cgi-sys/ea-php56
    Are the tables setup in the database for 2.1? That error is saying that it can't find the current user locale so i'm assuming the records didn't get created. Try re-running that SQL script posted above after you removed the bfacp_ tables that exist.

    Quote Originally Posted by Hodor View Post
    I have the same in BF3 but before everything was fine. It is probably a problem in chat,stats logger plugin 1.0.0.3 version
    Quote Originally Posted by Hodor View Post
    For me not working. Live scoreboard for BF3 still not working.
    The problem with BF3 is that they updated the game and added an additional entry to the player response with broke that version. The one I posted should be the fixed version. If not try the solution that Checka posted here. You'll make that change in the BF3Conn file.

    Quote Originally Posted by Checka_Wiemi View Post
    Yeah I already solved this problem by changing in line 2709 the "10" into a "9" and everything was fine.
    Developer of the BFAdminCP

  6. #6
    Quote Originally Posted by Prophet731 View Post
    Are the tables setup in the database for 2.1? That error is saying that it can't find the current user locale so i'm assuming the records didn't get created. Try re-running that SQL script posted above after you removed the bfacp_ tables that exist.
    all done with the above ...

    Dashboard shows up ... as Guest.

    get this error when trying to create a new account

    Fatal System Error!

    This cache store does not support tagging.

    Code:
    [Sun Dec 03 20:36:41.030251 2017] [cgi:error] [pid 11765] [client 166.137.240.89:4526] AH01215: #6 /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/I in /home/XXXX/info.XXXX.org/app/Composers/UserComposer.php on line 26: /usr/local/cpanel/cgi-sys/ea-php56, referer: http://info.XXXX.org/login
    [Sun Dec 03 20:36:41.030162 2017] [cgi:error] [pid 11765] [client 166.137.240.89:4526] AH01215: #5 /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/Illuminate/View/Factory.php(510): Illuminate\\Events\\Dispatcher->fire('composing: syst...', Array): /usr/local/cpanel/cgi-sys/ea-php56, referer: http://info.XXXX.org/login
    [Sun Dec 03 20:36:41.030055 2017] [cgi:error] [pid 11765] [client 166.137.240.89:4526] AH01215: #4 /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(221): call_user_func_array(Object(Closure), Array): /usr/local/cpanel/cgi-sys/ea-php56, referer: http://info.XXXX.org/login
    [Sun Dec 03 20:36:41.029890 2017] [cgi:error] [pid 11765] [client 166.137.240.89:4526] AH01215: #2 /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/Illuminate/View/Factory.php(480): call_user_func_array(Array, Array): /usr/local/cpanel/cgi-sys/ea-php56, referer: http://info.XXXX.org/login
    [Sun Dec 03 20:36:41.029740 2017] [cgi:error] [pid 11765] [client 166.137.240.89:4526] AH01215: #0 /home/XXXX/info.XXXX.org/app/Composers/UserComposer.php(26): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(8, 'Trying to get p...', '/home/XXXX/info...', 26, Array): /usr/local/cpanel/cgi-sys/ea-php56, referer: http://info.XXXX.org/login
    [Sun Dec 03 20:36:41.029533 2017] [cgi:error] [pid 11765] [client 166.137.240.89:4526] AH01215: PHP Fatal error:  Uncaught exception 'ErrorException' with message 'Trying to get property of non-object' in /home/XXXX/info.XXXX.org/app/Composers/UserComposer.php:26: /usr/local/cpanel/cgi-sys/ea-php56, referer: http://info.XXXX.org/login
    [Sun Dec 03 09:25:14.297723 2017] [cgi:error] [pid 27660] [client 107.77.202.156:44461] AH01215: #6 /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/I in /home/XXXX/info.XXXX.org/app/Composers/UserComposer.php on line 26: /usr/local/cpanel/cgi-sys/ea-php56
    [Sun Dec 03 09:25:14.297644 2017] [cgi:error] [pid 27660] [client 107.77.202.156:44461] AH01215: #5 /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/Illuminate/View/Factory.php(510): Illuminate\\Events\\Dispatcher->fire('composing: syst...', Array): /usr/local/cpanel/cgi-sys/ea-php56
    [Sun Dec 03 09:25:14.297552 2017] [cgi:error] [pid 27660] [client 107.77.202.156:44461] AH01215: #4 /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(221): call_user_func_array(Object(Closure), Array): /usr/local/cpanel/cgi-sys/ea-php56
    [Sun Dec 03 09:25:14.297401 2017] [cgi:error] [pid 27660] [client 107.77.202.156:44461] AH01215: #2 /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/Illuminate/View/Factory.php(480): call_user_func_array(Array, Array): /usr/local/cpanel/cgi-sys/ea-php56
    [Sun Dec 03 09:25:14.297263 2017] [cgi:error] [pid 27660] [client 107.77.202.156:44461] AH01215: #0 /home/XXXX/info.XXXX.org/app/Composers/UserComposer.php(26): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(8, 'Trying to get p...', '/home/XXXX/info...', 26, Array): /usr/local/cpanel/cgi-sys/ea-php56
    [Sun Dec 03 09:25:14.297079 2017] [cgi:error] [pid 27660] [client 107.77.202.156:44461] AH01215: PHP Fatal error:  Uncaught exception 'ErrorException' with message 'Trying to get property of non-object' in /home/XXXX/info.XXXX.org/app/Composers/UserComposer.php:26: /usr/local/cpanel/cgi-sys/ea-php56
    it appears all the login related links are pointing incorrectly ...

    On the dashboard, hovering over both login links: http://info.XXXX.org/login

    On the dashboard, hovering over the Chat Log button: http://info.XXXX.org/chat
    Last edited by sixpax12; 04-12-2017 at 09:48.

  7. #7
    Quote Originally Posted by Prophet731 View Post
    The problem with BF3 is that they updated the game and added an additional entry to the player response with broke that version. The one I posted should be the fixed version. If not try the solution that Checka posted here. You'll make that change in the BF3Conn file.
    So how can I fix the live scoreboard now?

    Quote Originally Posted by Prophet731 View Post
    It does not help me

  8. #8
    I just tried to install the version 2.1 on a clean system (didn't want to update my current adminCP).
    So I've uploaded all files and edited the .env.php (see picture here: https://abload.de/img/admincpv2.1_env2po16.jpg ).
    Now I've tried to open the subdomain for the adminCP and I get the following error: https://abload.de/img/admincpv2.1_fatalerrohnpvx.jpg

    Does anyone got a clue?
    Last edited by Checka_Wiemi; 28-11-2017 at 11:06.

  9. #9
    Quote Originally Posted by Checka_Wiemi View Post
    I just tried to install the version 2.1 on a clean system (didn't want to update my current adminCP).
    So I've uploaded all files and edited the .env.php (see picture here: https://abload.de/img/admincpv2.1_env2po16.jpg ).
    Now I've tried to open the subdomain for the adminCP and I get the following error: https://abload.de/img/admincpv2.1_fatalerrohnpvx.jpg

    Does anyone got a clue?
    What it looks likes is that the APP_KEY is not being registered on boot which would cause that error. Make sure the file on the server has those changes. Also running this version does make some database changes to the bfacp tables if you were on the latest non-dev version. So make sure you have a backup of the tables just in case.

    Sent from my ONEPLUS A3000 using Tapatalk
    Developer of the BFAdminCP

  10. #10
    Quote Originally Posted by Prophet731 View Post
    What it looks likes is that the APP_KEY is not being registered on boot which would cause that error. Make sure the file on the server has those changes. Also running this version does make some database changes to the bfacp tables if you were on the latest non-dev version. So make sure you have a backup of the tables just in case.
    Yeah I also thought about that issue with the key but I've take the key from another db (where version 2.0.1 is running) and this key is also 32 characters long and I just changed some letters in the new one (didn't change the length).
    I also took a new database to test this version.
    Didn't want to fuck up my old database ;-)

    But as I already said: the key is okay in my oppinion but I don't know why he won't start the side?
    I've also tried several 16, 24 and 32 characters keys but none worked.
    Last edited by Checka_Wiemi; 28-11-2017 at 14:18.

 

 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •