News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

9101::App Warning

Started by DarkWarder, April 04, 2014, 06:16:40 PM

Previous topic - Next topic

DarkWarder

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

abantecart

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

DarkWarder

What this mean and why get this message?
check this link.

http://amarantti.com/amarantti.jpg

abantecart

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 :


        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

DarkWarder

Quote from: abantecart 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.

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

DarkWarder

Hello can someone tell me that how fix this if i want use this slideshow2?

abolabo

Quote from: DarkWarder on April 07, 2014, 05:40:25 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?
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

DarkWarder

Quote from: abolabo on April 08, 2014, 09:17:55 AM
Quote from: DarkWarder on April 07, 2014, 05:40:25 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

abolabo

so.. did you renamed tpl as i wrote above?
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

DarkWarder

Quote from: abolabo on April 10, 2014, 06:32:34 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

abolabo

Quote from: DarkWarder on April 23, 2014, 09:46:02 AM
Quote from: abolabo on April 10, 2014, 06:32:34 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

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

DarkWarder

Quote from: abolabo on April 24, 2014, 07:11:16 PM
Quote from: DarkWarder on April 23, 2014, 09:46:02 AM
Quote from: abolabo on April 10, 2014, 06:32:34 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


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

abolabo

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

DarkWarder

#13
Quote from: abolabo 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.

there    extensions/slideshow2/storefront/view/template/default_html5/blocks/slideshow2.tpl

abolabo

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

Forum Rules Code of conduct
AbanteCart.com 2010 -