Hello,
Just upgraded from 1.0.2 to 1.2.3. Upgrade went mostly smooth, apart from some errors which now seem to pop up in the news-related parts.
- The {news} tag generates an error : string(67) "Smarty error: unable to read resource: "module_db_tpl:News;summary""
- In the top of the news-editing page, the message:
Warning: Invalid argument supplied for foreach() in /(path to my install)/modules/News/action.editarticle.php on line 360
is shown
Any ideas or references to previous threads with a solution ?
Thank you very much,
News-related errors after upgrade from 1.0.2 to 1.2.3
Re: News-related errors after upgrade from 1.0.2 to 1.2.3
From 1.1 News template are in DB only.Zevv wrote: - The {news} tag generates an error : string(67) "Smarty error: unable to read resource: "module_db_tpl:News;summary""
Read help of News module for porting your template in DB.
Alby
Re: News-related errors after upgrade from 1.0.2 to 1.2.3
Ok, thank you for having the patience to point that out to me : )
Re: News-related errors after upgrade from 1.0.2 to 1.2.3
Ok, I'm on my way to getting things to work, but not quite there yet:
I've sucessfully imported my own templates, and I'm able to use those. The problem still persists, though, when not specifying a template
at all. So when using just the
{news}
tag, I still get the following error :
string(67) "Smarty error: unable to read resource: "module_db_tpl:News;summary""
Could this be caused by a missing template in the database which is not created during the upgrade ?
Thank you,
I've sucessfully imported my own templates, and I'm able to use those. The problem still persists, though, when not specifying a template
at all. So when using just the
{news}
tag, I still get the following error :
string(67) "Smarty error: unable to read resource: "module_db_tpl:News;summary""
Could this be caused by a missing template in the database which is not created during the upgrade ?
Thank you,
Re: News-related errors after upgrade from 1.0.2 to 1.2.3
Check the default Summary template, your template is "summary"Zevv wrote: string(67) "Smarty error: unable to read resource: "module_db_tpl:News;summary""
Alby