News-related errors after upgrade from 1.0.2 to 1.2.3

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Zevv
New Member
New Member
Posts: 5
Joined: Sun Oct 29, 2006 11:42 am

News-related errors after upgrade from 1.0.2 to 1.2.3

Post 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,
alby

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

Post 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
Zevv
New Member
New Member
Posts: 5
Joined: Sun Oct 29, 2006 11:42 am

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

Post by Zevv »

Ok, thank you for having the patience to point that out to me  : )
Zevv
New Member
New Member
Posts: 5
Joined: Sun Oct 29, 2006 11:42 am

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

Post 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,
alby

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

Post 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
Locked

Return to “[locked] Installation, Setup and Upgrade”