Mám problém s délkou načítání php.
Do adminu se dostanu jen někdy většinou je tam chyba 500. Pak když už tam jsem, tak na další kliknutí v menu se jen načítá.
Lze použít jen PHP 7.1 .. S ostatními verzemi PHP je 500 vždy.
Ideální by bylo přeinstalovat na novější verzi, což jsem měl v plánu. Ale bez automatické aktualizace to nezvládnu.
V errorlogu chyby, co naznačují jednak příliš dlouho běžící PHP skripty - hlášení typu
Timeout waiting for output from CGI script /etc/cgi-bin/www/asian-mall.eu/www.asian-mall.eu/php, referer:
https://www.asian-mall.eu/admin830dmbvi ... edce061ec0chyby v PHP skriptech. Např. chybové hlášení
: (PHP Fatal error: Uncaught exception 'Defuse\\Crypto\\Exception\\EnvironmentIsBrokenException', viz )
Výpis z errorlogu:
[Sun May 06 15:21:34 2018] [warn] [client 62.240.166.90] Timeout waiting for output from CGI script /etc/cgi-bin/www/asian-mall.eu/www.asian-mall.eu/php, referer:
https://www.asian-mall.eu/admin830dmbvi ... edce061ec0[Sun May 06 15:21:34 2018] [error] [client 62.240.166.90] Script timed out before returning headers: php, referer:
https://www.asian-mall.eu/admin830dmbvi ... edce061ec0[Sun May 06 15:22:07 2018] [warn] [client 62.240.166.90] Timeout waiting for output from CGI script /etc/cgi-bin/www/asian-mall.eu/www.asian-mall.eu/php
[Sun May 06 15:22:44 2018] [warn] [client 62.240.166.90] Timeout waiting for output from CGI script /etc/cgi-bin/www/asian-mall.eu/www.asian-mall.eu/php, referer:
https://www.asian-mall.eu/admin830dmbvi ... edce061ec0[Sun May 06 15:22:44 2018] [error] [client 62.240.166.90] Script timed out before returning headers: php, referer:
https://www.asian-mall.eu/admin830dmbvi ... edce061ec0[Sun May 06 15:23:27 2018] [error] [client 62.240.166.90] PHP Fatal error: Uncaught exception 'Defuse\\Crypto\\Exception\\EnvironmentIsBrokenException' with message 'Your system does not have a secure random number generator.' in /data/www/asian-mall.eu/www.asian-mall.eu/vendor/defuse/php-encryption/src/Core.php:110
[Sun May 06 15:23:27 2018] [error] [client 62.240.166.90] Stack trace:
[Sun May 06 15:23:27 2018] [error] [client 62.240.166.90] #0 /data/www/asian-mall.eu/www.asian-mall.eu/vendor/defuse/php-encryption/src/Key.php(23): Defuse\\Crypto\\Core::secureRandom(32)
[Sun May 06 15:23:27 2018] [error] [client 62.240.166.90] #1 /data/www/asian-mall.eu/www.asian-mall.eu/vendor/defuse/php-encryption/src/RuntimeTests.php(85): Defuse\\Crypto\\Key::createNewRandomKey()
[Sun May 06 15:23:27 2018] [error] [client 62.240.166.90] #2 /data/www/asian-mall.eu/www.asian-mall.eu/vendor/defuse/php-encryption/src/RuntimeTests.php(60): Defuse\\Crypto\\RuntimeTests::testEncryptDecrypt()
[Sun May 06 15:23:27 2018] [error] [client 62.240.166.90] #3 /data/www/asian-mall.eu/www.asian-mall.eu/vendor/defuse/php-encryption/src/Crypto.php(210): Defuse\\Crypto\\RuntimeTests::runtimeTest()
[Sun May 06 15:23:27 2018] [error] [client 62.240.166.90] #4 /data/www/asian-mall.eu/www.asian-mall.eu/vendor/defuse/php-encryption/src/Crypto.php(68): Defuse\\Crypto\\Crypto::decryptInternal('def502006bed6e0...', Object(Defuse\\Crypto\\KeyOrPassword), false)
[Sun May 06 15:23:27 2018] [error] [client 62.240.166.90] #5 /data/www/asian- in /data/www/asian-mall.eu/www.asian-mall.eu/vendor/defuse/php-encryption/src/Core.php on line 110
[Sun May 06 15:24:24 2018] [warn] [client 62.240.166.90] Timeout waiting for output from CGI script /etc/cgi-bin/www/asian-mall.eu/www.asian-mall.eu/php
[Sun May 06 15:24:24 2018] [error] [client 62.240.166.90] Script timed out before returning headers: php
[Sun May 06 15:24:27 2018] [error] [client 62.240.166.90] PHP Fatal error: Declaration of AdminDashboardControllerCore::setMedia() must be compatible with AdminControllerCore::setMedia($isNewTheme = false) in /data/www/asian-mall.eu/www.asian-mall.eu/controllers/admin/AdminDashboardController.php on line 539
[Sun May 06 15:24:27 2018] [error] [client 62.240.166.90] PHP Fatal error: Uncaught Symfony\\Component\\Debug\\Exception\\FatalErrorException: Compile Error: Declaration of AdminDashboardControllerCore::setMedia() must be compatible with AdminControllerCore::setMedia($isNewTheme = false) in /data/www/asian-mall.eu/www.asian-mall.eu/controllers/admin/AdminDashboardController.php:539
[Sun May 06 15:24:27 2018] [error] [client 62.240.166.90] Stack trace:
[Sun May 06 15:24:27 2018] [error] [client 62.240.166.90] #0 {main}
[Sun May 06 15:24:27 2018] [error] [client 62.240.166.90]
[Sun May 06 15:24:27 2018] [error] [client 62.240.166.90] Next LogicException: Request stack is empty in /data/www/asian-mall.eu/www.asian-mall.eu/app/bootstrap.php.cache:3225
[Sun May 06 15:24:27 2018] [error] [client 62.240.166.90] Stack trace:
[Sun May 06 15:24:27 2018] [error] [client 62.240.166.90] #0 [internal function]: Symfony\\Component\\HttpKernel\\HttpKernel->terminateWithException(Object(Symfony\\Component\\Debug\\Exception\\FatalErrorException))
[Sun May 06 15:24:27 2018] [error] [client 62.240.166.90] #1 /data/www/asian-mall.eu/www.asian-mall.eu/vendor/symfony/symfony/src/Symfony/Component/Debug/ErrorHandler.php(606): call_user_func(Array, Object(Symfony\\Component\\Debug\\Exception\\FatalErrorException))
[Sun May 06 15:24:27 2018] [error] [client 62.240.166.90] #2 /data/www/asian-mall.eu/www.asian-mall.eu/vendor/symfony/symfony/src/Symfony/Component/Debug/ErrorHandler.php(668): Symfony\\Component\\Debug\\ErrorHandler->handleException(Object(Symfony\\Component\\Debug\\Exce in /data/www/asian-mall.eu/www.asian-mall.eu/app/bootstrap.php.cache on line 3225
[Sun May 06 15:25:03 2018] [warn] [client 62.240.166.90] Timeout waiting for output from CGI script /etc/cgi-bin/www/asian-mall.eu/www.asian-mall.eu/php
[Sun May 06 15:25:03 2018] [error] [client 62.240.166.90] Script timed out before returning headers: php
[Sun May 06 15:26:30 2018] [warn] [client 62.240.166.90] Timeout waiting for output from CGI script /etc/cgi-bin/www/asian-mall.eu/www.asian-mall.eu/php, referer:
https://www.asian-mall.eu/admin830dmbvi ... edce061ec0[Sun May 06 15:26:34 2018] [warn] [client 62.240.166.90] Timeout waiting for output from CGI script /etc/cgi-bin/www/asian-mall.eu/www.asian-mall.eu/php, referer:
https://www.asian-mall.eu/admin830dmbvi ... edce061ec0[Sun May 06 15:27:44 2018] [warn] [client 62.240.166.90] Timeout waiting for output from CGI script /etc/cgi-bin/www/asian-mall.eu/www.asian-mall.eu/php, referer:
https://www.asian-mall.eu/admin830dmbvi ... edce061ec0[Sun May 06 15:29:24 2018] [warn] [client 62.240.166.90] Timeout waiting for output from CGI script /etc/cgi-bin/www/asian-mall.eu/www.asian-mall.eu/php
[Sun May 06 15:30:03 2018] [warn] [client 62.240.166.90] Timeout waiting for output from CGI script /etc/cgi-bin/www/asian-mall.eu/www.asian-mall.eu/php
[Sun May 06 15:32:05 2018] [warn] [client 62.240.166.90] Timeout waiting for output from CGI script /etc/cgi-bin/www/asian-mall.eu/www.asian-mall.eu/php
[Sun May 06 15:32:05 2018] [error] [client 62.240.166.90] Script timed out before returning headers: php
[Sun May 06 15:32:41 2018] [warn] [client 62.240.166.90] Timeout waiting for output from CGI script /etc/cgi-bin/www/asian-mall.eu/www.asian-mall.eu/php
[Sun May 06 15:32:41 2018] [error] [client 62.240.166.90] Script timed out before returning headers: php
[Sun May 06 15:37:06 2018] [warn] [client 62.240.166.90] Timeout waiting for output from CGI script /etc/cgi-bin/www/asian-mall.eu/www.asian-mall.eu/php
[Sun May 06 15:37:41 2018] [warn] [client 62.240.166.90] Timeout waiting for output from CGI script /etc/cgi-bin/www/asian-mall.eu/www.asian-mall.eu/php