Zend OPcache API is restricted by „restrict_api“ configuration directive

Vyřešeno1.33K zhlédnutíWebhostingcache prestashop restrictapi zend opcache
0

Dobrý deň

Po zmene hesla v databáze, som postupoval podľa návodu a zapnul debugovací režim, kde mi vyskočila táto chyba po vypnutí debugovací režim v admin centre prestashop. Ako postupovať ďalej? Ďakujem za bližšie informácie.

Warning: Zend OPcache API is restricted by „restrict_api“ configuration directive

SymfonyComponentDebugExceptionContextErrorException:
Warning: Zend OPcache API is restricted by „restrict_api“ configuration directive

at src/Adapter/Debug/DebugMode.php:131
at PrestaShopPrestaShopAdapterDebugDebugMode->updateDebugModeValueInMainFile(‚false‘)
(src/Adapter/Debug/DebugMode.php:181)
at PrestaShopPrestaShopAdapterDebugDebugMode->changePsModeDevValue(‚false‘)
(src/Adapter/Debug/DebugMode.php:85)
at PrestaShopPrestaShopAdapterDebugDebugMode->disable()
(src/Adapter/Debug/DebugModeConfiguration.php:158)
at PrestaShopPrestaShopAdapterDebugDebugModeConfiguration->updateDebugMode(false)
(src/Adapter/Debug/DebugModeConfiguration.php:89)
at PrestaShopPrestaShopAdapterDebugDebugModeConfiguration->updateConfiguration(array(‚disable_non_native_modules‘ => false, ‚disable_overrides‘ => false, ‚debug_mode‘ => false))
(src/PrestaShopBundle/Form/Admin/AdvancedParameters/Performance/PerformanceFormDataProvider.php:62)
at PrestaShopBundleFormAdminAdvancedParametersPerformancePerformanceFormDataProvider->setData(array(‚disable_non_native_modules‘ => false, ‚disable_overrides‘ => false, ‚debug_mode‘ => false))
(src/Core/Form/Handler.php:125)
at PrestaShopPrestaShopCoreFormHandler->save(array(‚disable_non_native_modules‘ => false, ‚disable_overrides‘ => false, ‚debug_mode‘ => false))
(src/PrestaShopBundle/Controller/Admin/Configure/AdvancedParameters/PerformanceController.php:227)
at PrestaShopBundleControllerAdminConfigureAdvancedParametersPerformanceController->processForm(object(Request), object(Handler), ‚DebugMode‘)
(src/PrestaShopBundle/Controller/Admin/Configure/AdvancedParameters/PerformanceController.php:124)
at PrestaShopBundleControllerAdminConfigureAdvancedParametersPerformanceController->processDebugModeFormAction(object(Request))
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151)
at SymfonyComponentHttpKernelHttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)
at SymfonyComponentHttpKernelHttpKernel->handle(object(Request), 1, false)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200)
at SymfonyComponentHttpKernelKernel->handle(object(Request), 1, false)
(admin770a3yhac/index.php:82)

Role: Zákazník
Otázka je uzamčena pro nové odpovědi.
MB313456 Vybral nejlepší odpověď 4. 4. 2023
0
55.23K Odpověď od WEDOS Internet, a.s. 0 Comments

Dobrý den,

vyřešeno emailem.

Pokud by se někdo setkal se stejným problémem :

Je potřeba se přihlásit do databáze dané aplikace (údaje byly zaslány emailem po zřízení db, případně z configu presty lze zjistit, např. dle https://www.prestasoo.com/blog/prestashop-database-config-file ), v databázi poté vlevo  ps_configuration – řádek ps_layered_cache_enabled vložit 0 místo 1

Role: Podpora Vizitka: CMS specialista
MB313456 Vybral nejlepší odpověď 4. 4. 2023