Solving the vmError: Warning, the Safe Path is not accessible (does not exist or no permission)

When transferring Joomla Virtuemart software between servers, the Safe Path location listed in the Virtuemart configuration does not automatically update. Because of this, you see an error 'vmError: Warning, the Safe Path is not accessible (does not exist or no permission).'

The Safe Path is a location Virtuemart uses to store the PDF invoices and delivery notes it generates. Ideally you create this below the root of your website and provide the server path to that folder in the configuration, often it looks like '/var/www/vhosts/mywebsite/safepathfolderhere'. In many cases, shared hosting does not allow access below the root so Virtuemart suggests using a randomized folder name places above the root, below the administrator area, because that has a little extra security generally. In these cases the path looks something like:

'/var/www/vhosts/mywebsite/administrator/components/com_virtuemart/HyHf5ahdJuty96/'

You simply add your version of that to the Virtuemart configuration at Virtuemart > Configuration > Configuration > Templates (Tab) > Media Files Settings (Area) > Safe Path. Permissions should be 755.

 

Virtuemart Safe Path permissions problem

If you see the error message 'vmError: The path for invoices seems to miss the correct file permissions Safe Path', check that the folder permissions are set to 755. If that is correct, check that the backslashes in your folder path are all the correct way (backslashes and not forward slashes). Finally, check that there is also a single trailing backslash slash at the end of the safe path

'/var/www/vhosts/mywebsite/administrator/components/com_virtuemart/HyHf5ahdJuty96/'
Last modified onSunday, 02 December 2018 12:13
Joomla Expert

JoomlaExpert offers a full range of specialist Joomla website packages coupled with professional Joomla advice & long term support. With clients based in the UK, Scotland, Republic of Ireland, Northern Ireland, the United States, Canada and and Australia we work with a diverse range of businesses providing world-class Joomla solutions. With specialist partners in Marketing, Graphic Design, Video Production, Hosting & Development, we manage your Joomla projects from end-to-end. 

Dr. Ultan Sharkey (BBLS, MBS, Ph.D.) is an ecommerce consultant specializing in online shopping businesses. He holds a Masters degree in Ecommerce and a PhD in Online Shopping Experience from National University of Ireland Galway where he is also an Adjunct Lecturer in the business school. He also owns www.barefoot.ie, a Joomla based online shop for top-brand fitness equipment. He is also a founding member of the eCommerce Association of Ireland (www.ecai.ie).

Ultan and his team have over 10 years experience with Joomla having worked with it since it forked from the Mambo CMS back in 2005. 

Facebook  Twitter  Linkedin

Need Joomla Help? Get a free professional assessment!

Free Joomla Assessment

Contact us

Need a Joomla Expert?