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

Fatal error: Call to undefined method VmView::getVmSubLayoutPath()

Started by kess, October 26, 2014, 20:49:36 PM

Previous topic - Next topic

kess

I'm testing vm2.9.9.2 with Joomla 3.3.6 on a local installation with xampp.

when I go to see the details of an order from the back end I get this:

Fatal error: Call to undefined method VmView::getVmSubLayoutPath() in C:\xampp\htdocs\j3vm299\components\com_virtuemart\helpers\shopfunctionsf.php on line 430

the same with vm 2.9.9.2 with Joomla 2.5.26

thanks



razor7

The same to me, when accessing order details I get this fatal error Call to undefined method VmView::getVmSubLayoutPath() in components/com_virtuemart/helpers/shopfunctionsf.php on line 430

MGS Creativa - VirtueMart Payment Plugin Experts
http://www.mgscreativa.com

Take a look at our downloads section for VirtueMart payment plugins and mouch more!
http://www.mgscreativa.com/en/online-store

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

anderh

I have the same problem. Joomla 3.3 with VM 2.9.9.2.
Has anyone ever found a solution?
Grateful.

GJC Web Design

Milbo's thank you is his [shortcode] speak for "am looking - will fix"... assume fixed in the next release
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

robertotaiko

I Solved it, I replace in file /components/com_virtuemart/helpers/shopfunctionsf.php the line 430:          

$lPath = VmView::getVmSubLayoutPath ($name);

For:
      if($name != 'tos'){
         $lPath = VmView::getVmSubLayoutPath ($name);
      }




subarupr

I resolved the problem with the
Fatal error: Call to undefined method VmView::getVmSubLayoutPath() in C:\xampp\htdocs\j3vm299\components\com_virtuemart\helpers\shopfunctionsf.php on line 430

but now i get the error with the terms of service....

what other options i got?  Virtuemart 2.9.9.2

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

mooseman

Hi,

this also worked for me but now I get an error on the order screen:

Notice: Undefined variable: lPath in /var/www/clients/client7/web2/web/components/com_virtuemart/helpers/shopfunctionsf.php on line 438

which references:

               if($lPath){
                        ob_start ();
                        include ($lPath);
                        return ob_get_clean();
                } else {
                        vmdebug('renderVmSubLayout layout not found '.$name);
                }


any ideas?

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