Hi, I have installed VM 4.0.4 and J4.1.5 and i have problem with override product detail page.
i have file bs5-default.php in /templates/shaper_helixultimate/html/com_virtuemart/productdetails
.
I have set it in configuration vm : https://prnt.sc/-PcqN_5j6LC9 (https://prnt.sc/-PcqN_5j6LC9)
but on frontend i dont see this file .
why ? is this BUG ??
thanks
Make a copy and use standard instead of deafult in name.
Joomla 4 issue, with override names. I hope I explained it right otherwise someone else will step in.
Jörgen
Thanks Jorgen.
its work.
lol what worked? to use standard.php instead of default.php? or to use a name without bs5 prefix?
I rename my file bs5-default.php to default.php .
Of course, the error mentioned by Jorgen persists. This is only a temporary solution.
if you enable the vmdebug it tells you the selected layout, then we can investigate
Hi , Milbo.
here is my debug :
debugging of methods
1 vmdebug vmLanguage initialise sk-SK
2 vmdebug vmTime: time to load config param $lang=1 and iniLang=0 $exeTrig = 0 now = 1: 0.00516986846923828
3 vmdebug vmTime: time to import plugins vmextended: 2.31266021728516E-5
4 vmdebug vmTime: time to import plugins vmuserfield: 3.62396240234375E-5
5 vmdebug SSL enabled
6 vmdebug Start used Ram 40M
7 vmdebug VmView loaded with override and bootstrap version Var1:
1
Var2:
8 vmdebug getVendorId normal shopper
9 vmdebug My Memory Limit in Bytes 536870912
10 vmdebug vmTime: time to import plugins vmcalculation: 5.81741333007812E-5
11 vmdebug isSuperVendor Not a vendor 0 0
12 vmdebug vmTime: time to import plugins vmcustom: 0.00394320487976074
13 vmdebug vmTime: time to import plugins vmcoupon: 0.00395512580871582
14 vmdebug vmTime: time to import plugins vmshipment: 0.00943517684936523
15 vmdebug vmTime: time to import plugins vmpayment: 0.0138423442840576
16 vmdebug renderVmSubLayout layout not found customfields_related
17 vmdebug renderVmSubLayout layout not found customfields_related
18 vmdebug End used Ram 40M
19 vmdebug Peak memory peak 40M
20 vmdebug vmTime: "VirtuemartControllerProductdetails" Finished task : 0.0531330108642578
21 vmdebug vmTime: Time consumed for shipment/payment plugins: 1.50203704833984E-5
debugging of sql
1 vmdebug vmLanguage initialise sk-SK
2 vmdebug vmTime: time to load config param $lang=1 and iniLang=0 $exeTrig = 0 now = 1: 0.00510811805725098
3 vmdebug vmTime: time to import plugins vmextended: 2.31266021728516E-5
4 vmdebug vmTime: time to import plugins vmuserfield: 3.50475311279297E-5
5 vmdebug SSL enabled
6 vmdebug Start used Ram 38M
7 vmdebug VmView loaded with override and bootstrap version Var1:
1
Var2:
8 vmdebug getVendorId normal shopper
9 vmdebug My Memory Limit in Bytes 536870912
10 vmdebug vmTime: time to import plugins vmcalculation: 5.69820404052734E-5
11 vmdebug isSuperVendor Not a vendor 0 0
12 vmdebug vmTime: time to import plugins vmcustom: 0.00393104553222656
13 vmdebug vmTime: time to import plugins vmcoupon: 0.00394296646118164
14 vmdebug vmTime: time to import plugins vmshipment: 0.00942492485046387
15 vmdebug vmTime: time to import plugins vmpayment: 0.0138168334960938
16 vmdebug renderVmSubLayout layout not found customfields_related
17 vmdebug renderVmSubLayout layout not found customfields_related
18 vmdebug End used Ram 38M
19 vmdebug Peak memory peak 38M
20 vmdebug vmTime: "VirtuemartControllerProductdetails" Finished task : 0.0527911186218262
21 vmdebug vmTime: Time consumed for shipment/payment plugins: 1.59740447998047E-5
debugging of router
1 vmdebug vmLanguage initialise sk-SK
2 vmdebug vmTime: time to load config param $lang=1 and iniLang=0 $exeTrig = 0 now = 1: 0.00516700744628906
3 vmdebug setActiveMenu Var1:
0
Var2:
0
4 vmdebug setActiveMenu by getActive Var1:
178
5 vmdebug virtuemartParseRoute $segments Var1:
Array
(
[0] => parfém-blueberry-pie-100ml-detail
)
6 vmdebug virtuemartParseRoute $segments Var1:
Array
(
[0] => parfém-blueberry-pie-100ml-detail
)
7 vmdebug ParseRoute no view found yet Var1:
Array
(
[0] => parfém-blueberry-pie-100ml-detail
)
Var2:
Array
(
[limitstart] => 0
)
Var3:
parfém-blueberry-pie-100ml-detail
Var4:
8 vmdebug View productdetails, using case !self::$use_id Var1:
Array
(
[limitstart] => 0
[view] => productdetails
[virtuemart_product_id] => 2836
[virtuemart_category_id] =>
)
Var2:
Array
(
[virtuemart_product_id] => 2836
[virtuemart_category_id] =>
)
Var3:
stdClass Object
(
[view] => category
[virtuemart_category_id] => 66
[virtuemart_product_id] =>
[virtuemart_manufacturer_id] =>
[virtuemart_vendor_id] =>
[component] => com_virtuemart
)
Array
(
)
9 vmdebug my vars from router Var1:
Array
(
[limitstart] => 0
[view] => productdetails
[virtuemart_product_id] => 2836
[virtuemart_category_id] =>
)
10 vmdebug vmTime: time to import plugins vmextended: 2.31266021728516E-5
11 vmdebug vmTime: time to import plugins vmuserfield: 3.52859497070312E-5
12 vmdebug SSL enabled
13 vmdebug Start used Ram 36M
14 vmdebug VmView loaded with override and bootstrap version Var1:
1
Var2:
15 vmdebug getVendorId normal shopper
16 vmdebug My Memory Limit in Bytes 536870912
17 vmdebug vmTime: time to import plugins vmcalculation: 6.62803649902344E-5
18 vmdebug virtuemartBuildRoute $view Var1:
productdetails
Var2:
Array
(
[option] => com_virtuemart
[virtuemart_product_id] => 2836
[virtuemart_category_id] => 18
[Itemid] => 178
)
19 vmdebug isSuperVendor Not a vendor 0 0
20 vmdebug virtuemartBuildRoute $view Var1:
productdetails
Var2:
Array
(
[option] => com_virtuemart
[virtuemart_category_id] =>
[virtuemart_manufacturer_id] => 0
[virtuemart_product_id] => 2836
[limitstart] => 0
[Itemid] => 178
[showall] => 1
)
21 vmdebug vmTime: time to import plugins vmcustom: 0.00395607948303223
22 vmdebug vmTime: time to import plugins vmcoupon: 0.00396919250488281
23 vmdebug vmTime: time to import plugins vmshipment: 0.00945711135864258
24 vmdebug vmTime: time to import plugins vmpayment: 0.0139591693878174
25 vmdebug virtuemartBuildRoute $view Var1:
productdetails
Var2:
Array
(
[option] => com_virtuemart
[task] => askquestion
[virtuemart_product_id] => 2836
[virtuemart_category_id] => 66
[tmpl] => component
[Itemid] => 178
)
26 vmdebug virtuemartBuildRoute $view Var1:
category
Var2:
Array
(
[option] => com_virtuemart
[virtuemart_category_id] => 66
[virtuemart_manufacturer_id] => 0
[Itemid] => 178
)
27 vmdebug renderVmSubLayout layout not found customfields_related
28 vmdebug renderVmSubLayout layout not found customfields_related
29 vmdebug virtuemartBuildRoute $view Var1:
category
Var2:
Array
(
[option] => com_virtuemart
[virtuemart_category_id] => 66
[Itemid] => 178
)
30 vmdebug End used Ram 36M
31 vmdebug Peak memory peak 36M
32 vmdebug vmTime: "VirtuemartControllerProductdetails" Finished task : 0.0545728206634521
33 vmdebug virtuemartBuildRoute $view Var1:
category
Var2:
Array
(
[option] => com_virtuemart
[virtuemart_category_id] => 66
[virtuemart_manufacturer_id] => 0
[Itemid] => 178
)
34 vmdebug virtuemartBuildRoute $view Var1:
category
Var2:
Array
(
[option] => com_virtuemart
[virtuemart_category_id] => 67
[virtuemart_manufacturer_id] => 0
[Itemid] => 188
)
35 vmdebug virtuemartBuildRoute $view Var1:
category
Var2:
Array
(
[option] => com_virtuemart
[virtuemart_category_id] => 18
[virtuemart_manufacturer_id] => 0
[Itemid] => 189
)
36 vmdebug virtuemartBuildRoute $view Var1:
virtuemart
Var2:
Array
(
[option] => com_virtuemart
[manage] => 0
[Itemid] => 221
)
37 vmdebug virtuemartBuildRoute $view Var1:
cart
Var2:
Array
(
[option] => com_virtuemart
[layout] => order
[Itemid] => 243
)
38 vmdebug virtuemartBuildRoute $view Var1:
productdetails
Var2:
Array
(
[option] => com_virtuemart
[virtuemart_product_id] => 2836
[virtuemart_category_id] => 66
[Itemid] => 178
)
39 vmdebug vmTime: Time consumed for shipment/payment plugins: 1.47819519042969E-5
40 vmdebug virtuemartBuildRoute $view Var1:
cart
Var2:
Array
(
[option] => com_virtuemart
[Itemid] => 178
)
41 vmdebug virtuemartBuildRoute $view Var1:
productdetails
Var2:
Array
(
[option] => com_virtuemart
[virtuemart_category_id] =>
[virtuemart_manufacturer_id] => 0
[virtuemart_product_id] => 2836
[limitstart] => 0
[Itemid] => 178
)
PHP Developer mode
1 vmdebug Show All Errors, PHP-Version 8.0.20
2 vmdebug vmLanguage initialise sk-SK
3 vmdebug vmTime: time to load config param $lang=1 and iniLang=0 $exeTrig = 0 now = 1: 0.00542712211608887
4 vmdebug vmTime: time to import plugins vmextended: 2.09808349609375E-5
5 vmdebug vmTime: time to import plugins vmuserfield: 3.40938568115234E-5
6 vmdebug SSL enabled
7 vmdebug Start used Ram 38M
8 vmdebug VmView loaded with override and bootstrap version Var1:
1
Var2:
9 vmdebug getVendorId normal shopper
10 vmdebug My Memory Limit in Bytes 536870912
11 vmdebug vmTime: time to import plugins vmcalculation: 5.69820404052734E-5
12 vmdebug isSuperVendor Not a vendor 0 0
13 vmdebug vmTime: time to import plugins vmcustom: 0.00394201278686523
14 vmdebug vmTime: time to import plugins vmcoupon: 0.00395393371582031
15 vmdebug vmTime: time to import plugins vmshipment: 0.00944089889526367
16 vmdebug vmTime: time to import plugins vmpayment: 0.0138640403747559
17 vmdebug renderVmSubLayout layout not found customfields_related
18 vmdebug renderVmSubLayout layout not found customfields_related
19 vmdebug End used Ram 38M
20 vmdebug Peak memory peak 38M
21 vmdebug vmTime: "VirtuemartControllerProductdetails" Finished task : 0.052947998046875
22 vmdebug vmTime: Time consumed for shipment/payment plugins: 1.59740447998047E-5