Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: 9101::App Warning  (Read 14688 times)

Offline DarkWarder

  • Jr. Member
  • **
  • Posts: 65
  • Karma: +1/-1
    • View Profile
    • MyyntiNurkka, MeetingMeToday
9101::App Warning
« on: April 04, 2014, 06:16:40 PM »
this message show my indes page there down, all works fine but still this message is there.

9101::App Warning
Extension slideshow2 overrides core template with blocks/slideshow2.tpl in /home/corason/public_html/core/engine/view.php on line 279

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: 9101::App Warning
« Reply #1 on: April 04, 2014, 09:01:16 PM »
This a warning not an error. There is no harm. You can remove blocks/slideshow2.tpl from template or core, and kepp the other whatever you need to be used.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline DarkWarder

  • Jr. Member
  • **
  • Posts: 65
  • Karma: +1/-1
    • View Profile
    • MyyntiNurkka, MeetingMeToday
Re: 9101::App Warning
« Reply #2 on: April 05, 2014, 06:43:04 AM »
What this mean and why get this message?
check this link.

http://amarantti.com/amarantti.jpg

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: 9101::App Warning
« Reply #3 on: April 05, 2014, 04:34:10 PM »
I will try to explain again.

Every template file that is used in the extension that is overriding functionality of core template file will cause this warning.
We think of this as a small precaution to notify the user of this.   

You can check part of core code in view.php class that does this check :

Code: [Select]
        if ( $this->has_extensions && $result = $this->extensions->isExtensionResource('T', $filename) ) {
            if ( is_file($file) ) {
                $warning = new AWarning("Extension <b>".$result['extension']."</b> overrides core template with <b>".$filename."</b>" );
                $warning->toDebug();
            }
            $file = $result['file'];
        }
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline DarkWarder

  • Jr. Member
  • **
  • Posts: 65
  • Karma: +1/-1
    • View Profile
    • MyyntiNurkka, MeetingMeToday
Re: 9101::App Warning
« Reply #4 on: April 06, 2014, 07:08:24 AM »
This a warning not an error. There is no harm. You can remove blocks/slideshow2.tpl from template or core, and kepp the other whatever you need to be used.

 so if i want use this slideshow2 so how this warning can fix so that is not show index page? Thank you

Offline DarkWarder

  • Jr. Member
  • **
  • Posts: 65
  • Karma: +1/-1
    • View Profile
    • MyyntiNurkka, MeetingMeToday
Re: 9101::App Warning
« Reply #5 on: April 07, 2014, 05:40:25 PM »
Hello can someone tell me that how fix this if i want use this slideshow2?

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: 9101::App Warning
« Reply #6 on: April 08, 2014, 09:17:55 AM »
Hello can someone tell me that how fix this if i want use this slideshow2?

i guess you can just rename file extensions/slideshow2/storefront/view/template/default_html5/blocks/slideshow2.tpl to your specific name to prevent this warning.  + rename it in database table block_templates and clear cache.
But i do not understand where you store second slideshow2.tpl.. what template do you use?
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline DarkWarder

  • Jr. Member
  • **
  • Posts: 65
  • Karma: +1/-1
    • View Profile
    • MyyntiNurkka, MeetingMeToday
Re: 9101::App Warning
« Reply #7 on: April 09, 2014, 01:36:51 PM »
Hello can someone tell me that how fix this if i want use this slideshow2?

i guess you can just rename file extensions/slideshow2/storefront/view/template/default_html5/blocks/slideshow2.tpl to your specific name to prevent this warning.  + rename it in database table block_templates and clear cache.
But i do not understand where you store second slideshow2.tpl.. what template do you use?

I use default template
http://myyntinurkka.com/template.jpg

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: 9101::App Warning
« Reply #8 on: April 10, 2014, 06:32:34 AM »
so.. did you renamed tpl as i wrote above?
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline DarkWarder

  • Jr. Member
  • **
  • Posts: 65
  • Karma: +1/-1
    • View Profile
    • MyyntiNurkka, MeetingMeToday
Re: 9101::App Warning
« Reply #9 on: April 23, 2014, 09:46:02 AM »
so.. did you renamed tpl as i wrote above?

yes i rtename that slideshow but then i get this error message

Error: Could not load template blocks/slideshow2.tpl! in /home/corason/public_html/core/engine/view.php on line 302

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: 9101::App Warning
« Reply #10 on: April 24, 2014, 07:11:16 PM »
so.. did you renamed tpl as i wrote above?

yes i rtename that slideshow but then i get this error message

Error: Could not load template blocks/slideshow2.tpl! in /home/corason/public_html/core/engine/view.php on line 302

inside extension "directory" or "storefront"? you have two tpls and you should define what you want to use.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline DarkWarder

  • Jr. Member
  • **
  • Posts: 65
  • Karma: +1/-1
    • View Profile
    • MyyntiNurkka, MeetingMeToday
Re: 9101::App Warning
« Reply #11 on: April 25, 2014, 06:38:47 PM »
so.. did you renamed tpl as i wrote above?

yes i rtename that slideshow but then i get this error message

Error: Could not load template blocks/slideshow2.tpl! in /home/corason/public_html/core/engine/view.php on line 302


inside extension "directory" or "storefront"? you have two tpls and you should define what you want to use.

This error is storefont there down

Name                      Info
10002::load error      Error: Could not load template blocks/slideshow2.tpl! in /home/corason/public_html/core/engine/view.php on line 302

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: 9101::App Warning
« Reply #12 on: April 25, 2014, 06:45:39 PM »
if you want to get help, please answer the question. :-\
what tpl did you renamed, inside "extension" directory or inside "storefront"?
you have two tpls and you should define what you want to use, tpl of extension or tpl of default template.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline DarkWarder

  • Jr. Member
  • **
  • Posts: 65
  • Karma: +1/-1
    • View Profile
    • MyyntiNurkka, MeetingMeToday
Re: 9101::App Warning
« Reply #13 on: April 27, 2014, 07:28:12 AM »
if you want to get help, please answer the question. :-\
what tpl did you renamed, inside "extension" directory or inside "storefront"?
you have two tpls and you should define what you want to use, tpl of extension or tpl of default template.

 there    extensions/slideshow2/storefront/view/template/default_html5/blocks/slideshow2.tpl
« Last Edit: April 27, 2014, 12:20:49 PM by DarkWarder »

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: 9101::App Warning
« Reply #14 on: April 28, 2014, 06:37:13 AM »
so... to prevent warning you should to rename this file to new name and rename it's in the database table "block_templates".
You can to define what block_id do you use in template debug mode (see settings->system).
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

 

Powered by SMFPacks Social Login Mod