News:

Looking for documentation? Take a look on our wiki

Main Menu

COM_VIRTUEMART_MEDIA_CHOOSE_TYPE

Started by domifry, April 18, 2014, 16:17:22 PM

Previous topic - Next topic

domifry

On my page:
http://www.my-moebelstueck.de/save/template/component/virtuemart/181-detail.html

is the mistake:
COM_VIRTUEMART_MEDIA_CHOOSE_TYPE

What does this mean? I create my products with SQL. maybe i forgot something.
How i can fix this?
If you want to talk about selling products with toolkits! write me!

jjk

I'm not shure...
Did you try if it goes away when you go to Tools & Migration and klick on 'Sychronize media to VirtueMart'?

The only other thing I noticed is a possible javascript issue. That page is loading two different (external) versions of the jQuery javascript via the googleapis - first version 1.9.1 and then 1.7.2. You probably have the googleapi enabled in VirtueMart configuration and in your template or another extension. jQuery 1.9.1 might not be compatible with the lightbox (fancybox) version used in VM 2.0.26d.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

antifragile

Hi, I have the same issue. I have done the following things but could not resolve it:


  • I have cleaned up the media database, all files and images are found.
  • I have synchorized the media files, no error messages.
  • When exporting the table, I cannot find any issues with file_mimetype or file_type or any other inconcistencies.

Does anyone please have an idea so that the annoying error message goes away.

Many thanks and regards,

Dan

GJC Web Design

seems to mean the path is missing for that type of media

administrator\components\com_virtuemart\helpers\mediahandler.php line 107


} else if(!$choosed and empty($relUrl) ){

vmWarn('COM_VIRTUEMART_MEDIA_CHOOSE_TYPE',$this->file_title );
// vmError('Ignore this message, when it appears while the media synchronisation process, else report to http://forum.virtuemart.net/index.php?board=127.0 : cant create media of unknown type, a programmers error, used type ',$type);
$relUrl = 'images/stories/virtuemart/typeless/';
$this->setRole=true;

}



the file title is supposed to be on the end

if your site works u could always comment the warning
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

antifragile

Quote from: GJC Web Design on October 15, 2016, 15:15:57 PM
seems to mean the path is missing for that type of media

administrator\components\com_virtuemart\helpers\mediahandler.php line 107


} else if(!$choosed and empty($relUrl) ){

vmWarn('COM_VIRTUEMART_MEDIA_CHOOSE_TYPE',$this->file_title );
// vmError('Ignore this message, when it appears while the media synchronisation process, else report to http://forum.virtuemart.net/index.php?board=127.0 : cant create media of unknown type, a programmers error, used type ',$type);
$relUrl = 'images/stories/virtuemart/typeless/';
$this->setRole=true;

}



the file title is supposed to be on the end

if your site works u could always comment the warning


Hi, thanks for the quick reply! I am afraid, that I do not understand your advice. Do I need to edit the mediahandler.php? Would that not be overwritten again after an update (i.e. create an override?)? What do you mean with "if your site works u could always comment the warning"?

By the way, I do not have the folder images/stories/virtuemart/typeless/. Could that be an issue?

Thanks and regards,

Dan

GJC Web Design

yes to all...

comment out I mean

//vmWarn('COM_VIRTUEMART_MEDIA_CHOOSE_TYPE',$this->file_title );

QuoteI do not have the folder images/stories/virtuemart/typeless/. Could that be an issue?

could well be
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

antifragile

Done as you said, error is gone. Many thanks!

BTW, I did have the folder typeless after all. So that was not cause of the error message.

If the error reappears after the next update, I'll create an override.

Many thanks again!

Dan

GJC Web Design

it will reappear unless there is a bug that is causing this and it gets fixed...
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

antifragile

Quote from: GJC Web Design on October 15, 2016, 23:07:01 PM
it will reappear unless there is a bug that is causing this and it gets fixed...

I do wonder what is causing that error ... I have cleaned up the media database. Before that I had missing images (i.e. entries in the database but missing images); here I deleted the entries. And I had non-media entries (.ini-files), which were in the synchronized. These I also deleted. Now I just have jpeg, gif and png. Strange ...