Author Topic: Products not showing on cart and getting these errors in log  (Read 7222 times)

Offline lsdace60601

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Products not showing on cart and getting these errors in log
« 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>

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2049
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Products not showing on cart and getting these errors in log
« Reply #1 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
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline ggrutman

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Products not showing on cart and getting these errors in log
« Reply #2 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>

Offline twilson

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Products not showing on cart and getting these errors in log
« Reply #3 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

Offline twilson

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Products not showing on cart and getting these errors in log
« Reply #4 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.

Offline webdevmerc

  • Full Member
  • ***
  • Posts: 172
  • Karma: +32/-1
    • View Profile
Re: Products not showing on cart and getting these errors in log
« Reply #5 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



Offline twilson

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Products not showing on cart and getting these errors in log
« Reply #6 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?

Offline webdevmerc

  • Full Member
  • ***
  • Posts: 172
  • Karma: +32/-1
    • View Profile
Re: Products not showing on cart and getting these errors in log
« Reply #7 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.


Offline twilson

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Products not showing on cart and getting these errors in log
« Reply #8 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..

 

Powered by SMFPacks Social Login Mod