Author Topic: Default Layout file is not exists!  (Read 2098 times)

michelerighetti

  • Beginner
  • *
  • Posts: 20
  • intermediate
Default Layout file is not exists!
« on: October 13, 2021, 11:56:58 am »
Hello to all.
I have a problem with the purchase mechanism, I am doing an ecommerce with virtuemart version 3.8.8, on Joomla version 3.10.2. Everything works fine, but at the end, after I have confirmed the order, filled in all the fields for account and shipping, a white page appears with the inscription "Default Layout file is not exists! Please goto to template manager and create a new layout first."
the order is correctly arrived in the backend, the buyer receives the e-mail of the completed order correctly.
Anyone have any idea what I could do to fix this?

I summarize the site data : Virtuemart Version 3.8.8 Joomla Version 2.10.2 PHP version 7.3.18-1+0.
Thanks to who can give me suggestions

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10689
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Re: Default Layout file is not exists!
« Reply #1 on: October 13, 2021, 19:00:25 pm »
first try with the standard beez3 template

your template could be out of date .. perhaps missing the /cart/orderdone.php etc
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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

michelerighetti

  • Beginner
  • *
  • Posts: 20
  • intermediate
Re: Default Layout file is not exists!
« Reply #2 on: October 14, 2021, 16:48:40 pm »
Thanks GJC for your quick reply. with beez3 it works. My actual template is Shaper helixultimate. What can I do to create the /cart/orderdone.php ...?

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10689
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Re: Default Layout file is not exists!
« Reply #3 on: October 14, 2021, 19:19:03 pm »
if that is the problem just copy it across into your template

templates/YOUR_TEMPLATE/html/com_virtuemart/cart/
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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

michelerighetti

  • Beginner
  • *
  • Posts: 20
  • intermediate
Re: Default Layout file is not exists!
« Reply #4 on: March 20, 2022, 18:40:24 pm »
if that is the problem just copy it across into your template

templates/YOUR_TEMPLATE/html/com_virtuemart/cart/
thankyou for your answer. I had a break from designing the site, I worked on other aspects. Now I always have the same problem. I did as it suggested I copied the orderdone.php file into /templates/shaper_helixultimate/html/com_virtuemart/cart but it does not work. Joomla core is updated to 3.10.6, the template is also updated to the latest version. What can I do?
I might as well pay someone to fix the problem.
Thankyou.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10689
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Re: Default Layout file is not exists!
« Reply #5 on: March 20, 2022, 19:12:16 pm »
if it works fine with Beez then it is a template problem that needs tracking down ...
You can PM me if you want me to take a look ( paid)  .. shouldn't take long...
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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

semen_123

  • Beginner
  • *
  • Posts: 5
  • A beginner
Re: Default Layout file is not exists!
« Reply #6 on: January 18, 2023, 20:31:21 pm »
if it works fine with Beez then it is a template problem that needs tracking down ...
You can PM me if you want me to take a look ( paid)  .. shouldn't take long...
Have you solved your problem? Share the solution:


semen_123

  • Beginner
  • *
  • Posts: 5
  • A beginner
Re: Default Layout file is not exists!
« Reply #7 on: January 19, 2023, 11:54:18 am »
Code: [Select]
if(VmConfig::isSiteByApp()) {


$currentTemplate = $app->getTemplate();
if ($currentTemplate !== $template)
{
if (JVM_VERSION >= 4) {
$templateObj = (object)$res;
$app->setTemplate($templateObj);
$currentTemplateObj = $app->getTemplate(true);
$currentTemplateObj->id = $templateObj->id;
}
else {
$app->setTemplate($template, $registry);
}

}
}

in file: vmtemplate.php

michelerighetti

  • Beginner
  • *
  • Posts: 20
  • intermediate
Re: Default Layout file is not exists!
« Reply #8 on: January 19, 2023, 22:45:03 pm »
Hi, I changed the template and it works fine. Thank you for your answers.