Getting error The path for invoices seems to miss the correct file permissions

Started by Melch777, March 03, 2016, 17:07:55 PM

Previous topic - Next topic

Melch777

Hi, I'm using Joomla version 3.4.3 and Virtuemart version 3.0.8. I setup a folerd in the root directory and set up a safe path to it and I keep getting this error message

vmError: The path for invoices seems to miss the correct file permissions Safe Path

anyone know what this might mean? Thanks for any help

GJC Web Design

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


GJC Web Design

have u tried 777? as its above the public worth trying

could be an ownership thing
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

Milbo

Please use the suggested path, which is random within the administrator directory
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Melch777

Quote from: Milbo on March 04, 2016, 15:13:16 PM
Please use the suggested path, which is random within the administrator directory

I have it syncing the files from my Safe Path folder in my root directory and it's working.

Milbo

The question is not if it works, that is simple, the question is, if it is safe.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Melch777

Quote from: Milbo on March 04, 2016, 19:59:04 PM
The question is not if it works, that is simple, the question is, if it is safe.
It's below the public_html folder in the home directory, so it should be safe

GJC Web Design

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

Melch777

Quote from: GJC Web Design on March 05, 2016, 01:21:10 AM
I hope u mean above?


I did it like this
home/my username/folder name




Brockney

I am setting up a new topic on this subject because I received the following message when I clicked to reply to a previous one

"Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic."

The previous topic had a similar title: "Getting error The path for invoices seems to miss the correct file permissions"

Ok, here goes!

I have been building a site at www.brockneysbaseline.website

This has now been migrated to its permanent domain at www.emporiumvape.com

Upon reaching the shopping cart at the new domain I receive the following: "Error The path for invoices seems to miss the correct file permissions"

I have both sites open in separate windows, have selected the same product and followed the same steps to the checkout.

I have opened one in Chrome and the other in Firefox. I have then opened them again, switching the browser for each.

www.brockneysbaseline.com does not display the error and www.emporiumvape.com does.

The transaction is successfully completed via the PayPal Sandbox.

The Invoices folder is located in the same place for both sites, in a vmfiles folder that I created outside of the public_html folder

The only amendments I have made to the emporiumvapes site is the removal of some fields (such as fax number, middle name, and removing the shipping for countries outside of the UK)

The error was present before I made these amendments.

Apologies for typing such a lengthy post, I am just trying to be clear as I type that I haven't missed a step before I ask the question.

The only thing I have considered doing is deleting the vmfiles and recreating it. Before doing so though I am hoping to find out if anything else could be the issue

Thanks for reading

Joomla 3.6.4
Virtuemart 3.0.18

jenkinhill

Is the Safe Path set for the server in VM Configuration/Templates/Media Files Settings correct? The path will be different from that of the dev site.

Directory permissions should be 755
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

Brockney

I initially kept all the settings the same in that respect and only investigated after receiving the error.

I only compared the settings for the vmfiles folder and the two folders within (invoices and keys) and both were at 755.

I changed the settings of the emporiumvape vmfiles folder to 777 as a test then changed it back to 755.

I'm looking for the VM Configuration/Templates/Media folder through Filezilla and haven't found it as yet....
Joomla 3.6.4
Virtuemart 3.0.18

Brockney

When I go to Orders & Shoppers -> Orders I get the following:

vmError: The path for invoices seems to miss the correct file permissions Safe Path /home2/brockney/vmfiles/

However the vmfiles is still set to 755 and I am receiving the orders placed through the Sandbox.

Is there any way I can disable the error message at the front end?
Joomla 3.6.4
Virtuemart 3.0.18

Brockney

It took a moment to figure out where the media files settings are, I was looking in the directories through Filezilla!

I think I have found the right place now.

I have created a new folder through Filezilla and called it vmfilesemporium

Within it I have created folders for invoices and keys

In Virtuemart media files I have pointed it to /home2/brockney/vmfilesemporium/

(In the original account it was pointed to /home2/brockney/vmfiles)

I have set the invoice and keys folders to 755

I am now getting the following errors

The path for invoices seems to miss the correct file permissions

Warning: file_put_contents(/home2/brockney/vmfilesemporium/keys/160714.ini): failed to open stream: Permission denied in /home5/emporium/public_html/libraries/joomla/filesystem/file.php on line 435
Joomla 3.6.4
Virtuemart 3.0.18