Commit graph

100 commits

Author SHA1 Message Date
Sergei Solovev 24ccb37caf Update rcon library
The xPaw library has been updated and added via composer
2023-12-07 22:08:55 +03:00
Sergei Solovev 3a5e6ca20b Minor update
Fixed a situation where it was impossible to edit the tariff plan
2023-12-03 22:44:13 +03:00
Sergei Solovev 880494ad85 Minor update
Fixed a situation where the amount might not be displayed when ordering the server
2023-12-03 22:33:51 +03:00
Sergei Solovev 669866b59c Minor Update CS2 2023-12-03 21:12:41 +03:00
Sergei Solovev 07324f4d38 Fixed game server load statistics 2023-12-03 21:12:12 +03:00
Sergei Solovev 0052a6fbd4 Fixed server load statistics 2023-12-03 21:11:17 +03:00
Sergei Solovev 9c3d2363dc Fix ssh connect 2023-12-03 20:10:40 +03:00
Sergei Solovev a8235b9df9 Fixed broken debug 2023-12-03 19:35:46 +03:00
Sergei Solovev 2bf2799705 Fixed broken debug 2023-12-03 19:07:31 +03:00
Sergei Solovev d11ee384bd fix crontab 2023-12-03 18:49:23 +03:00
Sergei Solovev eaf8a97bed Fixed graphs 2023-12-03 18:28:06 +03:00
Sergei Solovev a43402dee8 Minor fixes 2023-12-03 18:08:16 +03:00
Sergei Solovev 9fd9971249 fix load indicators 2023-12-03 17:54:47 +03:00
Sergei Solovev c07a049eff Update install and start CS2 2023-12-03 16:33:41 +03:00
Sergei Solovev 64d9b0eb28 Pre-added CS:2
The necessary files and directories have been created
2023-12-03 00:03:12 +03:00
Sergei Solovev 815b67b8fe Restoring important functionality
This change covers many files necessary for the normal functioning of the control panel. They mainly affect access to an array element.
2023-11-13 01:39:35 +03:00
Sergei Solovev b59003e559 Reformat code
This update contains code reformatting to meet PHP standards.
2023-11-12 21:12:42 +03:00
Sergei Solovev 61b7226828 Major updates
Added support:
1. Composer for packages below;
2. symfony/polyfill to work with newer versions of php
3. filp/whoops to display php errors on screen
4. monolog/monolog for logging errors to a file and browser console
2023-11-12 17:26:34 +03:00
Sergei Solovev abab8bccea EngineGPv3 Publication 2023-11-11 23:56:12 +03:00
Sergei Solovev cc042e28e6 Removed dependencies, after removing the mobile version 2023-09-03 18:10:44 +03:00
Sergei Solovev ad7df7e0fa Fixed a bug when a location was added without a port
[2023-09-03 17:13:20] EngineGP.ERROR: Whoops\Exception\ErrorException: Undefined array key 1 in file /var/www/enginegp/data/www/develop.enginegp.com/system/library/ssh.php on line 20
Stack trace:
  1. Whoops\Exception\ErrorException->() /var/www/enginegp/data/www/develop.enginegp.com/system/library/ssh.php:20
  2. Whoops\Run->handleError() /var/www/enginegp/data/www/develop.enginegp.com/system/library/ssh.php:20
  3. ssh->connect() /var/www/enginegp/data/www/develop.enginegp.com/system/library/ssh.php:12
  4. ssh->auth() /var/www/enginegp/data/www/develop.enginegp.com/system/acp/sections/units/add.php:37
  5. include() /var/www/enginegp/data/www/develop.enginegp.com/system/acp/engine/units.php:32
  6. include() /var/www/enginegp/data/www/develop.enginegp.com/system/acp/distributor.php:63
  7. include() /var/www/enginegp/data/www/develop.enginegp.com/acp/index.php:50
 [] []
2023-09-03 17:17:32 +03:00
Sergei Solovev a45b4fab62 Changing file routing
Removed unnecessary ROOT constant
The DIR constant has been changed
All dependencies have been edited
2023-09-03 15:08:57 +03:00
Sergei Solovev ef6bdc398e Numerous bugs of vacancies have been fixed 2023-09-03 00:36:42 +03:00
Sergei Solovev cfe80cb9a2 Fixed an error when the list of submitted applications for vacancies was not displayed 2023-09-03 00:09:02 +03:00
Sergei Solovev c96f441c3d Numerous job errors have been fixed
Whoops\Exception\ErrorException thrown with message "Trying to access array offset on value of type null"

Stacktrace:
#3 Whoops\Exception\ErrorException in /var/www/enginegp/data/www/demo.enginegp.com/system/engine/jobs.php:11
#2 Whoops\Run:handleError in /var/www/enginegp/data/www/demo.enginegp.com/system/engine/jobs.php:11
#1 include in /var/www/enginegp/data/www/demo.enginegp.com/system/distributor.php:90
#0 include in /var/www/enginegp/data/www/demo.enginegp.com/index.php:51

Whoops\Exception\ErrorException thrown with message "Trying to access array offset on value of type null"

Stacktrace:
#3 Whoops\Exception\ErrorException in /var/www/enginegp/data/www/demo.enginegp.com/system/engine/jobs.php:51
#2 Whoops\Run:handleError in /var/www/enginegp/data/www/demo.enginegp.com/system/engine/jobs.php:51
#1 include in /var/www/enginegp/data/www/demo.enginegp.com/system/distributor.php:90
#0 include in /var/www/enginegp/data/www/demo.enginegp.com/index.php:51
2023-09-03 00:04:13 +03:00
Sergei Solovev 479bad25d3 Numerous job errors have been fixed
Whoops\Exception\ErrorException thrown with message "Undefined array key "edit""

Stacktrace:
#4 Whoops\Exception\ErrorException in /var/www/enginegp/data/www/demo.enginegp.com/system/acp/sections/jobs/index.php:5
#3 Whoops\Run:handleError in /var/www/enginegp/data/www/demo.enginegp.com/system/acp/sections/jobs/index.php:5
#2 include in /var/www/enginegp/data/www/demo.enginegp.com/system/acp/engine/jobs.php:31
#1 include in /var/www/enginegp/data/www/demo.enginegp.com/system/acp/distributor.php:63
#0 include in /var/www/enginegp/data/www/demo.enginegp.com/acp/index.php:50

Whoops\Exception\ErrorException thrown with message "Undefined variable $list"

Stacktrace:
#4 Whoops\Exception\ErrorException in /var/www/enginegp/data/www/demo.enginegp.com/system/acp/sections/jobs/index.php:32
#3 Whoops\Run:handleError in /var/www/enginegp/data/www/demo.enginegp.com/system/acp/sections/jobs/index.php:32
#2 include in /var/www/enginegp/data/www/demo.enginegp.com/system/acp/engine/jobs.php:31
#1 include in /var/www/enginegp/data/www/demo.enginegp.com/system/acp/distributor.php:63
#0 include in /var/www/enginegp/data/www/demo.enginegp.com/acp/index.php:50

Whoops\Exception\ErrorException thrown with message "Undefined variable $list"

Stacktrace:
#4 Whoops\Exception\ErrorException in /var/www/enginegp/data/www/demo.enginegp.com/system/acp/sections/jobs/request.php:57
#3 Whoops\Run:handleError in /var/www/enginegp/data/www/demo.enginegp.com/system/acp/sections/jobs/request.php:57
#2 include in /var/www/enginegp/data/www/demo.enginegp.com/system/acp/engine/jobs.php:31
#1 include in /var/www/enginegp/data/www/demo.enginegp.com/system/acp/distributor.php:63
#0 include in /var/www/enginegp/data/www/demo.enginegp.com/acp/index.php:50
2023-09-02 23:37:24 +03:00
Sergei Solovev 6a55364754 Fix "Undefined variable $url_search"
Whoops\Exception\ErrorException thrown with message "Undefined variable $url_search"

Stacktrace:
#4 Whoops\Exception\ErrorException in /var/www/enginegp/data/www/demo.enginegp.com/system/acp/sections/control/index.php:49
#3 Whoops\Run:handleError in /var/www/enginegp/data/www/demo.enginegp.com/system/acp/sections/control/index.php:49
#2 include in /var/www/enginegp/data/www/demo.enginegp.com/system/acp/engine/control.php:36
#1 include in /var/www/enginegp/data/www/demo.enginegp.com/system/acp/distributor.php:63
#0 include in /var/www/enginegp/data/www/demo.enginegp.com/acp/index.php:50
2023-09-02 23:22:01 +03:00
Sergei Solovev 49abaa470a Fix "Trying to access array offset on value of type null"
Whoops\Exception\ErrorException thrown with message "Trying to access array offset on value of type null"

Stacktrace:
#4 Whoops\Exception\ErrorException in /var/www/enginegp/data/www/demo.enginegp.com/system/acp/sections/tarifs/index.php:42
#3 Whoops\Run:handleError in /var/www/enginegp/data/www/demo.enginegp.com/system/acp/sections/tarifs/index.php:42
#2 include in /var/www/enginegp/data/www/demo.enginegp.com/system/acp/engine/tarifs.php:32
#1 include in /var/www/enginegp/data/www/demo.enginegp.com/system/acp/distributor.php:63
#0 include in /var/www/enginegp/data/www/demo.enginegp.com/acp/index.php:50
2023-09-02 23:11:48 +03:00
Sergei Solovev 2ff4b6a2f5 (Fixed) Array and string offset access syntax with curly braces is no longer supported
[2023-05-09 17:44:20] EngineGP.ERROR: Whoops\Exception\ErrorException: Array and string offset access syntax with curly braces is no longer supported in file /var/enginegp/system/library/ftp.php on line 117
Stack trace:
  1. Whoops\Exception\ErrorException->() /var/enginegp/system/library/ftp.php:117
  2. Whoops\Run->handleError() /var/enginegp/vendor/filp/whoops/src/Whoops/Run.php:514
  3. Whoops\Run->handleShutdown() [internal]:0
 [] []
[2023-05-09 17:47:38] EngineGP.ERROR: Whoops\Exception\ErrorException: Array and string offset access syntax with curly braces is no longer supported in file /var/enginegp/system/library/ftp.php on line 157
Stack trace:
  1. Whoops\Exception\ErrorException->() /var/enginegp/system/library/ftp.php:157
  2. Whoops\Run->handleError() /var/enginegp/vendor/filp/whoops/src/Whoops/Run.php:514
  3. Whoops\Run->handleShutdown() [internal]:0
 [] []
[2023-05-09 17:48:26] EngineGP.ERROR: Whoops\Exception\ErrorException: Array and string offset access syntax with curly braces is no longer supported in file /var/enginegp/system/library/ftp.php on line 382
Stack trace:
  1. Whoops\Exception\ErrorException->() /var/enginegp/system/library/ftp.php:382
  2. Whoops\Run->handleError() /var/enginegp/vendor/filp/whoops/src/Whoops/Run.php:514
  3. Whoops\Run->handleShutdown() [internal]:0
 [] []
[2023-05-09 17:49:20] EngineGP.ERROR: Whoops\Exception\ErrorException: Array and string offset access syntax with curly braces is no longer supported in file /var/enginegp/system/library/ftp.php on line 391
Stack trace:
  1. Whoops\Exception\ErrorException->() /var/enginegp/system/library/ftp.php:391
  2. Whoops\Run->handleError() /var/enginegp/vendor/filp/whoops/src/Whoops/Run.php:514
  3. Whoops\Run->handleShutdown() [internal]:0
 [] []
2023-05-09 17:53:53 +03:00
Sergei Solovev 4be487f883 Conversion to PSR code format. Part #1 2023-05-05 04:17:19 +03:00
Sergei Solovev 293fc5dd7d Fixed a bug when ordering game servers
When ordering a game server, the order was not processed and the server was not created.
2023-05-04 16:33:49 +03:00
Sergei Solovev 24234ae588 foreach() argument must be of type array|object, null given in file /var/enginegp/system/acp/sections/tarifs/tarif.php on line 477
[2023-04-29 15:54:14] EngineGP.ERROR: Whoops\Exception\ErrorException: foreach() argument must be of type array|object, null given in file /var/enginegp/system/acp/sections/tarifs/tarif.php on line 477
Stack trace:
  1. Whoops\Exception\ErrorException->() /var/enginegp/system/acp/sections/tarifs/tarif.php:477
  2. Whoops\Run->handleError() /var/enginegp/system/acp/sections/tarifs/tarif.php:477
  3. include() /var/enginegp/system/acp/sections/tarifs/index.php:9
  4. include() /var/enginegp/system/acp/engine/tarifs.php:32
  5. include() /var/enginegp/system/acp/distributor.php:66
  6. include() /var/enginegp/acp/index.php:50
 [] []
2023-04-29 16:09:57 +03:00
Sergei Solovev 1f523bf4fc Syntax correction 2023-04-29 15:56:26 +03:00
Sergei Solovev 0ed9b45c3a Fixed numerous bugs in cron tasks 2023-04-29 15:21:31 +03:00
Sergei Solovev 8f0adeae40 Fixed: Array and string offset access syntax with curly braces is no longer supported
Array and string offset access syntax with curly braces is no longer supported in file /var/enginegp/system/library/control/control.php on line 440
2023-04-28 23:57:16 +03:00
Sergei Solovev 2c3dfa71a3 Added cron task execution logs 2023-04-28 23:21:32 +03:00
Sergei Solovev 224f61ec5a
Merge pull request #60 from EngineGPDev/removed-useless-comma 2023-04-13 21:59:34 +03:00
Sergei Solovev d386cb9f83
Merge pull request #59 from EngineGPDev/fixed-undefined-var 2023-04-13 21:58:58 +03:00
Sergei Solovev e5f3c29bde
Merge pull request #58 from EngineGPDev/fixed-broken-debug 2023-04-13 21:58:16 +03:00
Roman Kelesidis c0e0882a4d Removed useless comma in user list ending 2023-04-13 22:27:31 +07:00
Roman Kelesidis a7706eae54 Update distributor.php 2023-04-13 21:32:05 +07:00
Roman Kelesidis f8f9f66d70 Fixed Undefined variable: aop
Undefined variable: aop in file C:\OSPanel\domains\localhost\system\distributor.php on line 124
2023-04-13 21:24:46 +07:00
Roman Kelesidis 2928116517 Fixed broken debug
Ебать мем) у нас дебаг отключен.
2023-04-13 21:17:06 +07:00
Roman Kelesidis 01387e70f8 Fixed path to log dir 2023-04-13 21:08:12 +07:00
Roman Kelesidis 3e6fff8ed1 Added logMessage method 2023-04-13 20:36:34 +07:00
Roman Kelesidis 50df251051 Improved debugging 2023-04-13 20:28:51 +07:00
Sergei Solovev d85a48058e base64_decode(): Passing null to parameter #1 ($string) of type string is deprecated 2023-04-06 23:00:06 +03:00
Sergei Solovev 8d108c3e08 explode(): Passing null to parameter #2 ($string) of type string is deprecated
Stacktrace:
#5 Whoops\Exception\ErrorException in /var/enginegp/system/library/games/games.php:454
2023-04-06 22:33:35 +03:00
Sergei Solovev 55b34825cd TypeError thrown with message "Unsupported operand types: float - string"
Stacktrace:
#4 TypeError in /var/enginegp/system/library/games/games.php:366
2023-04-06 22:06:36 +03:00
Sergei Solovev a796e27c01 Fixed the display of the admin panel 2023-03-21 23:42:16 +03:00