0

Got error in my logs:

CRIT (2): Not valid template file:frontend/base/default/template/checkout/cart/mini.phtml

and

CRIT (2): Not valid template file:frontend/base/default/template/checkout/cart/sidebar_header.phtml

Should there be a mini.phtml template file? In my rwd theme I have minicart.phtml but still no mini.phtml, same with sidebar_header.phtml, I have sidebar.phtml in my rwd theme but no such a template like sidebar_header.phtml.

Any ideas?

grep result:

/microcloud/domains/vamdev/domains/dev.vampirevape.co.uk/http/includes/src/Amasty/Cart/controllers/AjaxController.php:176: $template = "checkout/cart/mini.phtml";

/microcloud/domains/vamdev/domains/dev.vampirevape.co.uk/http/app/code/local/Amasty/Cart/etc/config.xml:164: checkout/cart/mini.phtml

/microcloud/domains/vamdev/domains/dev.vampirevape.co.uk/http/app/code/local/Amasty/Cart/controllers/AjaxController.php:176: $template = "checkout/cart/mini.phtml";

  • using grep command check from where "sidebar_header.phtml" is set. – Emipro Technologies Pvt. Ltd. Jul 10 '17 at 10:45
  • @Grzegorz, theme205k theme folder available in app/design/frontend/default/ ? – Camit1dk Jul 10 '17 at 10:57
  • @Dhaval I have only blank, default, iphone, and modern in this location. – Greg Jul 10 '17 at 11:00
  • it means this mini.phtml and sidebar_header.phtml file recognize by xml layout but not available in your template file , find this two file name in your theme layout file and remove that!! – Camit1dk Jul 10 '17 at 11:07
  • I will have a search through to see if I can find anything and will let you know if found it. – Greg Jul 10 '17 at 11:43
1

Magento check first templates in your current package->theme, if he can't find them here, he go to your current package->default if he can't find them here again, he try to go to get them in base/default what is called: Fallback system, in your case the templates are :

  • checkout/cart/mini.phtml

  • /checkout/cart/sidebar_header.phtml.

So check this templates in your theme, maybe you have change there path in the server or in your xml

  • I have checked all the themes, current package -> theme, current package->default, base->default, rwd theme too. There is no such a file with a name mini.phtml or sidebar_header.phtml. – Greg Jul 10 '17 at 10:54
  • you don't use there files ? – PЯINCƏ Jul 10 '17 at 10:56
  • I don't think I do. I guess people would have troubles checking out but everything runs fine. It is just these two errors that make my log file huge. Also as it relates to checkout, it got me a bit worried. – Greg Jul 10 '17 at 10:58
  • Obliged, you call them somewhere, either in some xml or in some phtml, if everything is fine in your website, search this: checkout/cart/mini.phtml ans checkout/cart/sidebar_header.phtml in your instance and comment the block who call this, If everything is fine ! – PЯINCƏ Jul 10 '17 at 11:03
  • how can I call this out? – Greg Jul 10 '17 at 11:36
0

Most probably these errors are coming from custom modules which you are using in your Magento instance.

sidebar_header.phtml and mini.phtml template files are not coming with default Magento I believe.

So most probably you can suspect the custom module which would specifically work for some cart functionality. If such custom extensions are using by your Magento instance, then you need to check that module, particularly layout xml files in order to track them out.

  • How can I track it down? Is there any method to track it where it is coming from? – Greg Jul 10 '17 at 10:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.