User Profile
User's Address,Order,Post etc.
Showing 5 out of total 123
旧电脑如何升级windows11
电脑是
windows 11 系统安装最低硬件要求
Fatal error: Uncaught SmartyException: Template './combinationsale-option.tpl' cannot be relative to template of resource type 'module' in /var/www/html/ps.cheertao.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_resource_file.php:116 Stack trace: #0 /var/www/html/ps.cheertao.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_resource_file.php(30): Smarty_Internal_Resource_File->buildFilepath() #1 /var/www/html/ps.cheertao.com/vendor/smarty/smarty/libs/sysplugins/smarty_template_source.php(182): Smarty_Internal_Resource_File->populate() #2 /var/www/html/ps.cheertao.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(330): Smarty_Template_Source::load() #3
Solution
{include file='modules/combinationsale/views/templates/hook/_partials/combinationsale-option.tpl' combinationsaleOption=$combinationsaleOption}
after many times test, i got it, the full path start from module is ok
Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\RuntimeException: Service "prestashop.module.combinationsale.option.form.type": Parent definition "form.type.translatable.aware" does not exist. in
Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "prestashop.module.xxx.xx.repository
prestashop Attempted to load class "moduleName" from the global namespace
add this section to composer.json of your module ,
and excute composer update in command line, then module can load the Class of moudule port file
"classmap": [
"modulename.php"
],