AbanteCart Community
AbanteCart Development => Customization help => Topic started by: DarkWarder 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
-
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.
-
What this mean and why get this message?
check this link.
http://amarantti.com/amarantti.jpg
-
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'];
}
-
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
-
Hello can someone tell me that how fix this if i want use this slideshow2?
-
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?
-
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
-
so.. did you renamed tpl as i wrote above?
-
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
-
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.
-
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
-
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.
-
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
-
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).
-
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).
Yes and i do this already but get that error message still
-
Can you give more details how I can fix this error
-
Can you give more details how I can fix this error
this message coming index page there down when that slideshow2 is on
9101::App Warning
Extension slideshow2 overrides core template with blocks/slideshow2.tpl in /home/corason/public_html/core/engine/view.php on line 279
and i want that warning not show there.