VirtueMart

WooCommerce

Others

Docs

Support

Blog

About

Forum

IMPORTANT ANNOUNCEMENT: Plugin development ceased, all plugins made available freely (GPL)

With great sadness we have to announce that we are ceasing development of all our VirtueMart, WooCommerce and Joomla plugins. Effective immediately, all our plugins -- even those that were paid downloads -- are made available for free from our homepage (GPL license still applies), but we cannot and will not provide any support anymore.

It has been a great pleasure to be part of the thriving development communities of VirtueMart as well as WooCommerce. However, during the last year it became painstakingly clear that in addition to a full-time job, a young family and several other time-consuming hobbies at professional level (like being a professional singer) the plugin development and the support that it requires is not sustainable and is taking its toll. It has been an honor, but it is now time to say good bye!

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: [SOLVED] media file uploadproblem

media file uploadproblem 24 Sep 2015 12:02 #1

Hello,

when I try to upload a media file, I get the following error.

vmError: Not able to upload file, give path/url empty/too short please correct path in your virtuemart config
vmError: Media files must have an url
vmError: Sorry,It's not a valid media file

The Used url has the following : images/stories/virtuemart/typeless/ Every other thing is done as you show in the documentation.

Please help to solve this problem.

Another question, is any opportunity to upload all media files with ftp and sync it all (about 300 files), and not in the VM /media manager by hand?

Thanks
Peter

Please Log in or Create an account to join the conversation.

media file uploadproblem 01 Oct 2015 23:30 #2

Dear Peter,

First, the issue with the error message "Not able to upload file,..." is a typical VirtueMart misconfiguration: If you select "For Sale" as the Role for an upload, you need to make sure that the VirtueMart configuration has a SafePath set (i.e. a path on your server, where non-public downloadable files can be safely stored without being accessible by the webserver).

To set the SafePath, please go to VirtueMart's configuration page in the backend, tab "Templates", area "Media File Settings" in the lower left of the config page:



See also: docs.virtuemart.net/faqs/110-how-to-set-the-safe-path.html


Second, uploading multiple files via FTP is possible. In the media manager, simply use the "Synchronize media to VirtueMart" button at the top to import all new files in the safe path.

Note, however, that this will reset all your manually set file titles to the actual file names for ALL files in the media manager (I got burnt myself a while ago by this!).

Best regards,
Reinhold
Attachments:

Please Log in or Create an account to join the conversation.

media file uploadproblem 05 Oct 2015 19:33 #3

Thank You it solved my problem

Please Log in or Create an account to join the conversation.

[SOLVED] media file uploadproblem 05 Oct 2015 19:33 #4

Problem solved.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1

VM - Shopping cart

 x 

Cart empty

Login Formular