VirtueMart Products Module
Language Variables (for example: COM_VIRTUEMART_CART_ADD_TO) doesn't work when a product module is published for example on Joomla Front Page or other default Joomla page (for example: Using Joomla! from the default Joomla sample content). When I open a VirtueMart product details page or other VirtueMart page (module has been assigned to all pages) then variable works and I see "Add to cart" instead of COM_VIRTUEMART_CART_ADD_TO.
I was not able to reproduce this
I have done following:
1. Published Product Module to all the pages (till now everything works properly)
2. In Menus > Main Menu I added new menu item (type: VirtueMart FrontPage)
Once I added VirtueMart Front Page menu item to my main menu following happen:
1. VirtueMart menu in Joomla Backend main menu stop working. Instead of VirtueMart I see virtuemart-frontpage (which I think is actually an alias of my VirtueMart FrontPage link)
2. Language variables for VirtueMart Products module not working any more.
Also, when I click PDF icon in product details I'm getting a white screen. No errors or warnings - just white screen. I have set an Errors reporting to Maximum.
You must enable the vmdebug. I am going to change it. The reason is that there are people who think it makes sense to have error reporting activated in a live shop. They do not understand the difference between strict standard, notice, warning, error and fatal errors. For some people it is always "there is an error".
I turned on vmdebug and I'm getting following error now:
Fatal error: Call to undefined method TCPDF::AliasNbPages() in \htdocs\j330vm291\libraries\joomla\document\pdf\pdf.php on line 230