News:

Support the VirtueMart project and become a member

Main Menu

I want to remove the safe path error message ...

Started by diogodac, October 02, 2014, 15:02:26 PM

Previous topic - Next topic

diogodac

Hello, hope is all well.

I want to remove this message error: NO path set to store invoices.

I dont want to fix, just want to remove the messa... because ig I "fix" i get a blank page after chekout.. so I just want to remove the message and nothing more.. how can I do it?

thank you

GJC Web Design

components\com_virtuemart\controllers\invoice.php

function getInvoicePDF($orderDetails = 0, $viewName='invoice', $layout='invoice', $format='html', $force = false){
//       $force = true;

      $path = VmConfig::get('forSale_path',0);
      if(empty($path) ){
         vmError('No path set to store invoices');
         return false;
      } else {

white screen is normally not enough memory to render the pdf - search on here
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

ifs-net

Hello,

I have just installed joomla 3.3.6 + vm 3.0.2
I have configured the safe path correctly and created the folder with 777 but still having the error message...

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, create also a folder invoices in it to store your sensitive data secure. Our suggested path is for your system /home/******/vmfiles, use this link to the config

How to fix please ?

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

ifs-net

I have checked several times
the path is correct and the chmod is 777 .
Maybe chmod must be different ?

jenkinhill

Never use 777 unless you want to invite hackers! 755 is normally used.
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

GJC Web Design

#6
also on some hosts I have seen 777 automatically blocked as a security measure - try 755 as jenks suggests
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

ifs-net



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