Page 1 of 1

News-related errors after upgrade from 1.0.2 to 1.2.3

Posted: Mon Feb 18, 2008 9:12 am
by Zevv
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,

Re: News-related errors after upgrade from 1.0.2 to 1.2.3

Posted: Mon Feb 18, 2008 9:14 am
by alby
Zevv wrote: - The  {news} tag generates an error : string(67) "Smarty error: unable to read resource: "module_db_tpl:News;summary""
From 1.1 News template are in DB only.
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

Posted: Mon Feb 18, 2008 9:43 am
by Zevv
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

Posted: Mon Feb 18, 2008 10:01 am
by Zevv
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,

Re: News-related errors after upgrade from 1.0.2 to 1.2.3

Posted: Mon Feb 18, 2008 11:06 am
by alby
Zevv wrote:   string(67) "Smarty error: unable to read resource: "module_db_tpl:News;summary""
Check the default Summary template, your template is "summary"

Alby