Commit graph

85 commits

Author SHA1 Message Date
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
Sergei Solovev 23d75571d5
Revert "The admin panel files have been moved to the appropriate section" 2023-03-21 23:32:42 +03:00
Sergei Solovev 1d6bf14914 The admin panel files have been moved to the appropriate section 2023-03-21 20:43:48 +03:00
Sergei Solovev 2f0a406f83 The admin theme is separated from the main one 2023-03-21 20:13:07 +03:00
Sergei Solovev 587db28295 Automatic conversion of false to array is deprecated 2023-03-20 00:30:52 +03:00
Sergei Solovev 13ec600318 Automatic conversion of false to array is deprecated 2023-03-20 00:28:36 +03:00
Sergei Solovev 52496c365b Automatic conversion of false to array is deprecated 2023-03-20 00:27:07 +03:00
Sergei Solovev dd1bb2e44e Revert "Dev (#37)"
This reverts commit 0fb732993b.
2023-03-20 00:22:12 +03:00
Sergei Solovev 0fb732993b
Dev (#37)
* Adding filp/whoops

* FIX: Automatic conversion of false to array is deprecated
2023-03-20 00:20:13 +03:00
Sergei Solovev c6c3ce0627
Adding filp/whoops (#36) 2023-03-19 22:58:35 +03:00
Sergei Solovev 506de6e63a Fixed password change via admin panel
Fixed an error when changing the password through the admin panel, it was impossible to log in
2023-03-15 23:53:24 +03:00
Sergei Solovev ac6ba7cb5e
Merge pull request #26 from EngineGPDev/PHP-Deprecated-Automatic-conversion-of-false-to-array-is-deprecated-in-C-MyPrograms-OSPanel-domains-enginegp.local-system-acp-sections-boost-index.php-on-line-40
PHP Deprecated:  Automatic conversion of false to array is deprecated…
2023-03-14 19:20:12 +03:00
Sergei Solovev 7762e3a0a2 Deprecated: iconv_strlen(): Passing null to parameter #1 ($string) of type string is deprecated in C:\MyPrograms\OSPanel\domains\enginegp.local\system\library\system.php on line 690 2023-03-13 01:28:28 +03:00
Sergei Solovev e4e03e21af PHP Deprecated: Automatic conversion of false to array is deprecated in C:\MyPrograms\OSPanel\domains\enginegp.local\system\library\system.php on line 60 2023-03-13 01:00:08 +03:00
Sergei Solovev 8fd5a297d3 PHP Deprecated: Automatic conversion of false to array is deprecated in C:\MyPrograms\OSPanel\domains\enginegp.local\system\acp\sections\boost\index.php on line 40 2023-03-13 00:42:55 +03:00
Sergei Solovev 66c7618230
Merge pull request #25 from EngineGPDev/PHP-Deprecated-Implicit-conversion-from-float-5919.266666666666-to-int-loses-precision-in-C-MyPrograms-OSPanel-domains-enginegp.local-system-library-acpsystem.php-on-line-469
PHP Deprecated:  Implicit conversion from float 5919.266666666666 to …
2023-03-13 00:24:03 +03:00