Unable to load template module_db_tpl 'News;summary'

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
giapippo
Forum Members
Forum Members
Posts: 176
Joined: Tue Feb 28, 2012 1:24 pm

Unable to load template module_db_tpl 'News;summary'

Post by giapippo »

hello to all
when the load on a news site should be in the database error and the site crashes
with this error: ????


CMS Made Simple
Oops!
Sorry, it looks like something went wrong and an error has occurred.
Don’t worry, it can happen to any of us.
ERROR: at line 127 in file /mounted-storage/home130/sub003/sc86204-UJOC/maxoro.it/lib/smarty/sysplugins/smarty_internal_templatebase.php:

Message:

Unable to load template module_db_tpl 'News;summary'
View Full Trace ↓
giapippo
Forum Members
Forum Members
Posts: 176
Joined: Tue Feb 28, 2012 1:24 pm

Re: Unable to load template module_db_tpl 'News;summary'

Post by giapippo »

this is the summary news template

{$firstpage} {$prevpage} 
{/if}
{$pagetext} {$pagenumber} {$oftext} {$pagecount}
{if $pagenumber < $pagecount}
&nbsp;{$nextpage}&nbsp;{$lastpage}
{/if}
</p>
{/if}
{foreach from=$items item=entry}

{if $entry->postdate}{/if}

<div class="col-sm-4 col-xs-6 item">
<a href="{$entry->moreurl}" title="{$entry->title|cms_escape:htmlall}">
<img src="{$entry->file_location}/{$entry->fieldsbyname.immagine->value}" alt=""/ width="100%">
<div class="item-desc">
<h4>{$entry->title|cms_escape}</h4>

</div></a>

</div>

{/foreach}
<!-- End News Display Template -->
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1978
Joined: Mon Jan 29, 2007 4:47 pm

Re: Unable to load template module_db_tpl 'News;summary'

Post by Jo Morg »

There is an {if ...} missing at the very beginning... :)
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
giapippo
Forum Members
Forum Members
Posts: 176
Joined: Tue Feb 28, 2012 1:24 pm

Re: Unable to load template module_db_tpl 'News;summary'

Post by giapippo »

sorry wrong copy and paste:


{if $pagecount > 10000}
<p>
{if $pagenumber > 1}
{$firstpage}&nbsp;{$prevpage}&nbsp;
{/if}
{$pagetext}&nbsp;{$pagenumber}&nbsp;{$oftext}&nbsp;{$pagecount}
{if $pagenumber < $pagecount}
&nbsp;{$nextpage}&nbsp;{$lastpage}
{/if}
</p>
{/if}

{foreach from=$items item=entry}

{if $entry->postdate}{/if}

<div class="col-sm-4 col-xs-6 item">
<a href="{$entry->moreurl}" title="{$entry->title|cms_escape:htmlall}">
<img src="{$entry->file_location}/{$entry->fieldsbyname.immagine->value}" alt=""/ width="100%">
<div class="item-desc">
<h4>{$entry->title|cms_escape}</h4>

</div></a>

</div>

{/foreach}
<!-- End News Display Template -->
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1978
Joined: Mon Jan 29, 2007 4:47 pm

Re: Unable to load template module_db_tpl 'News;summary'

Post by Jo Morg »

giapippo wrote: ...wrong copy and paste...
I though as much :) .
giapippo wrote:Unable to load template module_db_tpl 'News;summary'
Are you sure that you are calling the template by the correct name? It seems like the template has been renamed, or that you may have a typo on the template name...
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
giapippo
Forum Members
Forum Members
Posts: 176
Joined: Tue Feb 28, 2012 1:24 pm

Re: Unable to load template module_db_tpl 'News;summary'

Post by giapippo »

hello, I wrote to the provider, and now it works

the template has changed its name but it 'as the default

the site works www.maxoro.it but occasionally slows and crashes
Post Reply

Return to “Modules/Add-Ons”