Showing 3 out of total 130
An exception has been thrown during the rendering of a template ("Some mandatory parameters are missing ("combinationSaleId") to generate a URL for route "admin_combinationsale_option_index".").
一堆报错信息,但是都没什么鸟用
最后发现在
SELECT * FROM `ps_tab` ORDER BY `ps_tab`.`id_tab` DESC
tab表里有相对应的记录,是一条错误的路由信息
|
|
id_tab 1 |
id_parent | position | module | class_name | route_name | active | enabled | icon | wording | wording_domain | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
编辑 |
复制 |
删除 |
163 | 0 | 7 | combinationsale | CombinationSaleOptionAdminController | 0 | 1 | NULL | NULL | |||||||
编辑 |
复制 |
删除 |
162 | 43 | 7 | combinationsale | CombinationSaleAdminController | admin_combinationsale_option_index | ||||||||||
旧电脑如何升级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
1