Us   Eu   Au Get in touch

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

Contact us

Need a Joomla Expert?