VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: The big on July 30, 2013, 13:07:32 PM

Title: Safe Path permissions
Post by: The big on July 30, 2013, 13:07:32 PM
Hello,

I wasn't able to find an answer to this issue in previous posts.

I have tries every possible path and I still get the same result.

I keep on getting this message: The path for invoices seems to miss the correct file permissions Safe Path (as you can see on the attachment)

Is there any possible solution to this? I've had to stop my business for the last week.
Can you please help me.
Kind regards

[attachment cleanup by admin]
Title: Re: Safe Path permissions
Post by: dangdesigns on October 13, 2013, 10:31:33 AM
this appears to have solved this problem: http://www.gavick.com/magazine/how-to-fix-safe-path-is-empty-error-in-virtuemart.html
Title: Re: Safe Path permissions
Post by: drc3 on January 13, 2014, 22:38:12 PM
I see this exact same error message. The path for invoices seems to miss the correct file permissions Safe Path. AND it does go away with using the posted gavick method into the /log/ folder.

However, isn't the idea for the Safe Path to create a folder entirely outside of the public_html or root area of the site. Thereby, completely eliminating any one from having any possibility of browsing to that location?

Is there maybe a folder or file permission setting which needs to be set for the folder created outside of the public_html root?

Thanks.
Title: Re: Safe Path permissions
Post by: jenkinhill on January 13, 2014, 23:28:19 PM
Many shared servers prevent you accessing a directory below root, so then there is no choice but to use Joomla root.
Title: Re: Safe Path permissions
Post by: Joe13 on December 07, 2015, 15:44:43 PM
Had similar problem with permissions,  i'we noticed that Safe Path link had "\" as separator while other links had "/". After changing backslashes to forward slashes warning disappeared...
hope this is useful
Title: Re: Safe Path permissions
Post by: jenkinhill on December 07, 2015, 16:57:01 PM
Back slashes are associated with Microsoft (eg Windoes, IIS) servers.
Title: Re: Safe Path permissions
Post by: Milbo on December 07, 2015, 20:00:36 PM
Remove the safepath from your config, the new warning message also suggests a folder with "cryptic" folder name within your admin path, which gives more protection than just the log folder. You can also use the "unguessable" name suggestion and create a folder with this name within the log folder
Title: Re: Safe Path permissions
Post by: GJC Web Design on December 08, 2015, 01:10:37 AM
Quotenoticed that Safe Path link had "\" as separator

also if you built it on a localhost XAMMP or similar and just transferred the site to the server
Title: Re: Safe Path permissions
Post by: changlee on November 08, 2017, 12:36:48 PM
Quote from: Joe13 on December 07, 2015, 15:44:43 PM
Had similar problem with permissions,  i'we noticed that Safe Path link had "\" as separator while other links had "/". After changing backslashes to forward slashes warning disappeared...
hope this is useful

Yea! I copied the previus fields and cleared all characters, and fixed. I was facing exaclt the same problem. The / character is different but showing exaclt the same!
Title: Re: Safe Path permissions
Post by: Milbo on November 09, 2017, 15:59:25 PM
and to top that. There is now a wizard helping to setup that folder.