I migrated my site from TB 1.1 to 1.4 and it worked on PHP 7.4.
I switched PHP to 8.1 and updated files by AdminCoreUpdater.
Now there is problem with AdminPerformance, AdminModules, AdminPayment, AdminStockCover - HTTP ERROR 500
I changed defines.inc.php:
define('_PS_MODE_DEV_', true);
but see no debug.
No log in <mysite.com>/public_html/log
Apache log:
80.238.108.35 - - [11/Jan/2023:18:02:54 +0100] "GET /admin/index.php?controller=AdminPerformance&token=34cc34debcf59b36a000666f2843e4ab HTTP/2" 500 0 "https://<mysite.com>/admin/index.php?controller=AdminCoreUpdater&token=c54b73057c9cbfdcf6a6ad589e3f576c" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" PL -
How can I check what is wrong?
There is problem after migration with homeslider.tpl in community-theme-default - it looks to old directory for images. New one is:
src="{$link->getMediaLink("`$smarty.const`/img/homeslider/`$slide.image|escape:'htmlall':'UTF-8'`")}"
On PHP 8.1 the problem is with themeconfigurator.php - the lack of brackets:
'context' => (Configuration::get('PS_MULTISHOP_FEATURE_ACTIVE') == 0) ? 1 : (($this->context->shop->getTotalShops() != 1) ? $this->context->shop->getContext() : 1)
Thank you for great support 🙂