AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: lsdace60601 on August 18, 2015, 01:17:41 PM

Title: Products not showing on cart and getting these errors in log
Post by: lsdace60601 on August 18, 2015, 01:17:41 PM
Hi, I am getting warning below and my products are not showing in storefront.  Can you help?

2015-08-18 15:37:34 - warning: AbanteCart core v.1.2.3 include(admin/view/default//template/common/voice_controls.tpl) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in <b>/home/myusername/public_html/mydomain.com/admin/view/default/template/common/header.tpl</b> on line <b>212</b>

2015-08-18 15:37:34 - warning: AbanteCart core v.1.2.3 include() [<a href='function.include'>function.include</a>]: Failed opening 'admin/view/default//template/common/voice_controls.tpl' for inclusion (include_path=':/usr/local/php52/lib/php') in <b>/home/myusername/public_html/mydomain.com/admin/view/default/template/common/header.tpl</b> on line <b>212</b>
Title: Re: Products not showing on cart and getting these errors in log
Post by: abolabo on August 18, 2015, 04:22:44 PM
just check are that tpl-files present on your host and it's readable.
If not present you can download it from our github repository  (https://github.com/abantecart/abantecart-src/tree/master/public_html)
Title: Re: Products not showing on cart and getting these errors in log
Post by: ggrutman on August 25, 2015, 08:53:57 PM
Hi, I have same issue. Product are not showing at all with similar errors. Some tpl file are missing. I did check. The files are there and they are readable.

Please help.

2015-08-26 0:01:02 - warning: AbanteCart core v.1.2.3 include(storefront/view/default/template/responses/checkout/cart_details.tpl) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in <b>/home/ggrutman/public_html/galitstreatswithlove.com/gr/storefront/view/default/template/blocks/cart_top.tpl</b> on line <b>9</b>
Title: Re: Products not showing on cart and getting these errors in log
Post by: twilson on September 01, 2015, 05:54:33 PM
Hi guys, I'm getting the same error. Site worked fine until maybe 1-2 weeks ago. Now I'm on a fresh install, no changes and the errors are there. Any help is greatly appreciated. I've confirmed the .tpl files are there. Thanks!

2::warning
   include(admin/view/default//template/common/summary.tpl) [function.include]: failed to open stream: No such file or directory in /home/yessssss/public_html/admin/view/default/template/common/header.tpl on line 38
2::warning
   include(admin/view/default//template/common/summary.tpl) [function.include]: failed to open stream: No such file or directory in /home/yessssss/public_html/admin/view/default/template/common/header.tpl on line 38
Title: Re: Products not showing on cart and getting these errors in log
Post by: twilson on September 01, 2015, 05:58:41 PM
Sorry, in my last post I said I was getting the same error. Really I get these erros (slightly different versions) on every page. Admin as well as site.
Title: Re: Products not showing on cart and getting these errors in log
Post by: webdevmerc on September 01, 2015, 06:34:57 PM
Hi guys, I'm getting the same error. Site worked fine until maybe 1-2 weeks ago. Now I'm on a fresh install, no changes and the errors are there. Any help is greatly appreciated. I've confirmed the .tpl files are there. Thanks!

2::warning
   include(admin/view/default//template/common/summary.tpl) [function.include]: failed to open stream: No such file or directory in /home/yessssss/public_html/admin/view/default/template/common/header.tpl on line 38
2::warning
   include(admin/view/default//template/common/summary.tpl) [function.include]: failed to open stream: No such file or directory in /home/yessssss/public_html/admin/view/default/template/common/header.tpl on line 38


The quick error I see from the error log is there are 2 "//" directory symbols in the filepath...between default and template

default//template


Title: Re: Products not showing on cart and getting these errors in log
Post by: twilson on September 02, 2015, 10:52:28 AM
Can't believe I missed that! Where would that configuration file be? Or rather is there some kind of  main_path = /home/etc config file?
Title: Re: Products not showing on cart and getting these errors in log
Post by: webdevmerc on September 02, 2015, 11:12:17 AM
I looked around in my environment, but couldn't find anything though.  My guess is there is something in your default admin view and you have a trailing "default/" putting the double // there.

Title: Re: Products not showing on cart and getting these errors in log
Post by: twilson on September 02, 2015, 07:32:57 PM
Ok, thanks! I'll take a look. Otherwise I might try a different host and see if that changes anything. Right now I'm with Arvixe..