News:

Support the VirtueMart project and become a member

Main Menu

3.18.5 error in manufacturer filter

Started by welrachid, December 01, 2016, 22:33:41 PM

Previous topic - Next topic

welrachid

Hi
J!PHP 5.3
After upgrading to 3.18.5 from 3.18 to solve an issue i noticed that we can no longer use manufacturer filter on category layout pages.

I managed (i have no idea how?!) to get one menu-item to behave correctly but the others are not
im expecting a link that looks like this
index.php/menu-alias/manufacturer/xyz
but im getting this
index.php/manufacturer/xyz and the page being showed is empty..

I tried setting the vm debug for admins only.
This is what i get
Besked

vmdebug PHP 5.3
vmdebug Show All Errors
vmdebug LangCount: 1 $siteLang: da-DK self::$vmlangSef: da self::$_jpConfig->lang da_dk DefLang da_dk
vmdebug vmTime: time to load config: 0.00697183609008789
vmdebug There is no requested itemid loaded home Itemid Var1:
127
vmdebug Start used Ram 14.75M
vmdebug getVendorId normal shopper
vmdebug My Memory Limit in Bytes 2091909120
vmdebug vmTime: getSearchCustom after setUserState: 9.05990600585938E-6
vmdebug vmTime: getSearchCustom End: 0.000266075134277344
vmdebug my $limitStart 0 $limit 999 q Var1:
SELECT SQL_CALC_FOUND_ROWS  p.`virtuemart_product_id` FROM `r25vs_virtuemart_products` as p 
LEFT JOIN `r25vs_virtuemart_product_shoppergroups` as ps ON p.`virtuemart_product_id` = `ps`.`virtuemart_product_id` 
LEFT JOIN `r25vs_virtuemart_product_categories` as pc ON p.`virtuemart_product_id` = `pc`.`virtuemart_product_id` 
LEFT JOIN `r25vs_virtuemart_product_manufacturers` ON p.`virtuemart_product_id` = `r25vs_virtuemart_product_manufacturers`.`virtuemart_product_id`
WHERE ( `pc`.`virtuemart_category_id` = 1 AND  ( `ps`.`virtuemart_shoppergroup_id`= "2"  OR `ps`.`virtuemart_shoppergroup_id` IS NULL  )  AND  `r25vs_virtuemart_product_manufacturers`.`virtuemart_manufacturer_id` = 32 AND  p.`published`="1" )
group by p.`virtuemart_product_id`
ORDER BY `pc`.`ordering` ASC, `virtuemart_product_id` ASC
vmdebug vmTime: sortSearchQuery products group: : 0.000640869140625
vmdebug vmTime: Manufacturers by Cache: 0.0019221305847168
vmdebug getFieldOfObjectWithLangFallBack return cached Var1:
manufacturersda_dkvirtuemart_manufacturer_id32
vmdebug Fallback active
vmdebug Going to set pw fields unrequired
vmdebug End used Ram 23.75M
vmdebug Peak memory peak 23.75M
vmdebug vmTime: "VirtuemartControllerCategory" Finished task : 0.063101053237915


I have no idea what to do with this data, but hopefully some of you can tell me if this really is a bug or not?

thanks
Wel
Best regards,
Wel