News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[Solved]Safe path is empty??

Started by Fintan, March 16, 2012, 10:41:53 AM

Previous topic - Next topic

Fintan

I am using vm 2.0.3d and keep getting this message on the configuration page:

QuoteWarning, 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 sensible data secure. Our suggested path is for your system /home/httpd/vhosts/latina-bodyfashion.ch/httpdocs/vmfiles

I have created this folder: /vmfiles/invoices in root/

what does this mean?

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Fintan


Fintan

I was happy too soon. i had to reinstall the site and I tried this as a path (as before) : /home/httpdocs/vhosts/latina-bodyfashion.ch/xyf269/invoices/

This is what vmart suggests: /home/httpd/vhosts/latina-bodyfashion.ch/

But I cannot set up a httpd/invoices folder from FTP

jenkinhill

The directory "invoices" is automatically added by VirtueMart. So your path would just be

/home/httpdocs/vhosts/latina-bodyfashion.ch/xyf269/
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Fintan

This is confusing:
Quote.....create also a folder invoices in it to store your sensible data secure

Added:
/home/httpdocs/vhosts/latina-bodyfashion.ch/xyf269/
with out the invoice. Nada. Same message this time twice

Did:
/home/httpd/vhosts/latina-bodyfashion.ch/httpdocs/xyf269/
instead that worked.
:D

jenkinhill

Then that was the correct path for your server.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

John2400

Just for those who struggled like me to get the safe path.

Firstly _ if you do get the setting correct "yes" the message disappears - That is for those who can set the folder inside or outside the public folder.
I was wondering the whole time if the message just stayed there even if I got it right or wrong- so keep trying.

I use a server that has public_html as the (internet folder) but others might have home ( as the public ) folder .
Where others might have their own server setup.

* I found this a little confusing at first - The forward link that Jenkill suggested was perfect for me and I ended up placing this link          " /home/user/public_html/myfiolder/ " as suggested  -  I did not have to use the name of my site in the
link.

Anyway the message disappeared - after trying a few times - Thanks fintan and Jenkill.

mwenya

Hello folks,

I have done all of thee above and it is still not working for me! It's weird because I had v2.0.2 and when I upgraded to v2.0.4 thats when the issue came. Any ideas?

John2400

Hiu mwenya,

when you went in - and created a folder in your home files -- did you the go into

configuration>>templates>>safe path>> and if the path folder is not there then type in something like   

/home/username/public_html/yourfolder/

* this issue was not in 2.0.2 - so yes that is true -

* you will ahve to try different options as listed in the posts as they may vary slightly from server sites-

mwenya

Yes i did that, I even called my hosting company. I have gone through many options but its still a no go. My hosting company said that it may be an issue with my hosting plan. I do not have a dedicated hosting plan. I am on a shared plan. Do you think this may be an issue?

John2400

#11
I'm sure lots of others are on shared plans .

Your issue is normally just getting the actual directory exact as you see in the others below - tryong to fine th path in your server the trick.

Try this _ go into joomla>> global configurations>> system>>and copy the link to the path to the log folder - the whole thing

paste that in your safe path with the folder name you created on your server instead of logs -- see how that goes.

ehoward

QuoteSee http://forum.virtuemart.net/index.php?topic=98633
Joomla! 2.5.4, VirtueMart 2.0.4
Please help me find "Path for Sale" in the Media Files settings.

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

ehoward

Sorry, I still don't see "Path for Sale" as directed below. I sure appreciate your help.

QuoteSet up a "Safe Path".
To do this, first create a directory for downloadable files, even if you do not sell downloads. This directory is best placed outside your Joomla root for security, when this is not possible give it some obscure unguessable name, such as wgettyty. Within this create a subdirectory called invoices.

Then in VM Configuration/Templates/Media File Settings against "Path for Sale" enter the full server path to your download directory. Do not use a relative path, it will not work.