I just installed Virtuemart on a test site(Joomla 2.5x) and got the following error:

Warning, the Safe Path is empty, for safety reasons it is very important to create a folder in a path not accessible by an URL, create also a folder invoices in it to store your sensitive data secure. Our suggested path is for your system /home/username/public_html/vmfiles, use this link to the config..

after installing com_virtuemart.2.0.20b.tar.gz, using VirtueMart's VirtueMart installation procedure. In the above, "this link" links to the VirtueMart configuration page.

I proceeded to install the 2nd installation file: com_virtuemart.2.0.20b_ext_aio.tar.gz, before fixing the error.

Here is a screenshot of the error again on the VirtueMart Configuration screen:

virtuemart-error1

Note: it is very important to create a folder in a path not accessible by an URL.

Everything in /home/username/public_html is accessible by a URL therefore we need to create a new directory in the same level as /home/username. To resolve the above, use CPanel to login and create a new-directory in the same directory level as /home/username and use it as the SafePath.

For example I first created /home/vm2013 and then created /home/vm2013/vmfiles and then /home/vm2013/vmfiles/invoices

Back to Joomla:

Components >> VirtueMart >> Configuration >> Templates >> Media File Settings(screenshot below).

Update Safepath: for example: /home/yourusername/vm2013/vmfiles

virtuemart-error2

Save Configuration.

Thats All Folks!

You have no rights to post comments