News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

VM 2.0.8E COM_VIRTUEMART_FORM_MEDIA_SET_VENDORS appears on Shop->Shop page

Started by finbarr69, July 28, 2012, 18:41:50 PM

Previous topic - Next topic

finbarr69

On the Shop -> Shop page (ie administrator/index.php?option=com_virtuemart&view=user&task=editshop ) at the image section, Storing location/type contains the untranslated constant COM_VIRTUEMART_FORM_MEDIA_SET_VENDORS instead of the word vendor

This was also reported in 2.0.8c and even earlier versions.

This appears because someone has renamed the constant to COM_VIRTUEMART_FORM_MEDIA_SET_VENDOR (without the S) but there is a place where the string is constructed in administrator/components/com_virtuemart/helpers/mediahandler.php by concatenating on line 1149 as follows:

JText::_('COM_VIRTUEMART_FORM_MEDIA_SET_'.strtoupper($this->file_type))

where $this->file_type is vendors instead of vendor

I have tried to trace where $this->file_type is getting set, but could not determine the location.

It really needs fixed by the developers.

HTH

Brian