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

Default Layout file is not exists!

Started by michelerighetti, October 13, 2021, 11:56:58 AM

Previous topic - Next topic

michelerighetti

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

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
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

michelerighetti

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

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
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

michelerighetti

Quote from: GJC Web Design 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/
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

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
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

semen_123

#6
Quote from: GJC Web Design 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...
Have you solved your problem? Share the solution:


semen_123

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

Hi, I changed the template and it works fine. Thank you for your answers.