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

Key folder in safepath unaccessible

Started by almallah, May 17, 2016, 22:25:48 PM

Previous topic - Next topic

almallah


Hello,

When I activate the VirtueMart, I always get the following message in frontend: "Key folder in safepath unaccessible."

On the backend, the following message is displayed:
"Error
vmError: Warning, the Safe Path is not accessible (does not exist or no permission), for safety reasons it is very important to create a folder in a path not accessible by an URL or unguessable name, create also a folder 'invoices' and 'keys' in it to store your sensitive data secure. Our suggested path is for your system '/home/www/vmfiles/'.
You can also use complex folder name as 'password' for example '/home/www/inma.bh/administrator/components/com_virtuemart/96h2kw0zcl5a/'. Use this link to the config"

I tried to fix the issue by following the instructions in the backend message but didn't succeed. Please advise.

Thanks and best regards

GJC Web Design

QuoteI tried to fix the issue by following the instructions in the backend message but didn't succeed.

why not?  the instructions are correct and straight forward..
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

almallah

Thanks for your reply.

I created the folders as per the instruction, yet, the same message appears.

I don't know what could be the reason.

Thanks for your advice.

Jörgen

http://forum.virtuemart.net/index.php?topic=79799.0

How did You write Your safe path ?
Screen shots of You configuration, please.

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

almallah

Hello,

Here are the screenshots.

Thank you

Jörgen

Why have You not tried this ?

QuoteOur suggested path is for your system '/home/www/vmfiles/'

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

almallah

Thanks again.

I tried the suggested path, but it wasn't possible through the file manager to create a 'home' folder before the 'www'.

I think I'm missing something.

Would you explain the procedure's steps to create the folders in the suggested path?

Thank you.

jenkinhill

The home directory should already be there, www is a subdirectory of it.  I suspect the proble is inma.bh  - I assume this is a subdirectory of www and is the Joomla root. Some servers do not accept the use of full stops in directory names, but maybe yours does.

In which cas you should make the safe directory as you have done, but the path to it should be /home/www/inma.bh/vmfiles/
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

almallah

Thank you all.

The issue been resolved as per your advice.


almallah

#9
Hi again,

The store is now published with some test items. Unfortunately, the "checkout" and all links on this page do are not working.

I checked all settings and everything seems well.

below is a screenshot for your reference. Can you spot what is going wrong?

The store link: http://inma.bh/index.php/virtuemart

Thank you.

GJC Web Design

hmm.. worryingly when you look at the return of the add to cart ajax it says

<!--Hacked by -->
{"stat":"1","msg":"<a class=\"continue_link\" href=\"\/index.php\/virtuemart\/front-page\/19\/vestibulum-vel-augue
\/maecenas-tortor\" >Continue Shopping<\/a><a class=\"showcart floatright\" href=\"\/index.php\/virtuemart
\/shopping-cart\/cart\">Show Cart<\/a><h4>1 x Etiam sapien was added to your cart.<\/h4>\t\t<\/div>\n
\t<br style=\"clear:both\">\n\r\r\r\r<script id=\"vm.countryState_js\" type=\"text\/javascript\"> \/
\/<![CDATA[\n\t\tjQuery( function($) {\n\t\t\t$(\"#virtuemart_country_id\").vm2front(\"list\",{dest
: \"#virtuemart_state_id\",ids : \"\",prefiks : \"\"});\n\t\t});\n\/\/]]> <\/script>\r<script id=\"vm
.countryStateshipto__js\" type=\"text\/javascript\"> \/\/<![CDATA[\n\t\tjQuery( function($) {\n\t\t\t$
(\"#shipto_virtuemart_country_id\").vm2front(\"list\",{dest : \"#shipto_virtuemart_state_id\",ids :
\"\",prefiks : \"shipto_\"});\n\t\t});\n\/\/]]> <\/script>\r<script id=\"keepAliveTime_js\" type=\"text
\/javascript\">\/\/<![CDATA[ \nvar sessMin = 15;var vmAliveUrl = \"index.php?option=com_virtuemart&view
=virtuemart&task=keepalive\";var maxlps = \"4\";var minlps = \"1\"; \/\/]]>\n<\/script>\r\r"}


try this

http://inma.bh/index.php?option=com_virtuemart&nosef=1&view=cart&task=addJS&format=json&Itemid=264&option=com_virtuemart&pid=26&pname=Etiam%20sapien&quantity%5B%5D=1&view=cart&virtuemart_product_id%5B%5D=26&virtuemart_product_id%5B%5D=26

and look at the source code

on every page is  <!--Hacked by -->

try with the protostar template
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

almallah

Opps..

What does that mean? Is my website hacked?
What steps should I make to get the problem fixed?


GJC Web Design

I have no idea.. I am showing u what I see.. this is a forum for VM questions

Quotetry with the protostar template
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

almallah

Thank you dear.

I really appreciate your assistance and sparing me your valuable time.

I'll try to find out the problem and hopefully get it fixed.

Have a great time and best regards.

Jörgen

Check out Your index.php. I see the comment:
<!--Hacked by-->

At the very beginning. It could be a harmless comment made by the template designer. Check if the original index.php also has the comment.
Otherwise, try protostar to see if there is a jquery conflict with Your otherwise very nice looking template.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.