Template unable to find module, but it is active

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
akipt
New Member
New Member
Posts: 3
Joined: Fri Feb 17, 2017 4:27 pm

Template unable to find module, but it is active

Post by akipt »

Hello,

first of all, I know this is not the place for external module support, but I guess it is a core problem. I think...

I just try to update a CMSMS v1.10.3 to v1.11.3 (it was 1.0.8 before and should get the actual version). The system works well with version 1.10.3

After the update process (upgrade-script and module check) I try to load the front-end and it raises the error:

Code: Select all

Error: at line 1 in file /mydocumentpath/lib/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php:

Message:

Syntax error in template "content:content_en"  on line 1 "

{news}

" unknown tag "news"
But the News module is loaded, up-to date (2.15) and active. I also checked the syntax/spelling a few times, but the tag is 1:1 as written in the News-module documentation.

If I use the {cms_module module='news'} tag instead, the page is shown but the news area is empty and inside the html there is the following comment: <!-- news is not a plugin module -->

So what can it be? Maybe module-core incompatibility?

I appreciate any help!
Julius
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1974
Joined: Mon Jan 29, 2007 4:47 pm

Re: Template unable to find module, but it is active

Post by Jo Morg »

Smarty is case sensitive from a few versions back already so you'll need to replace all occurrences {news} with {News}.
"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!
akipt
New Member
New Member
Posts: 3
Joined: Fri Feb 17, 2017 4:27 pm

Re: Template unable to find module, but it is active

Post by akipt »

Thanks for your answer Jo,

still raises the same error: " unknown tag "News""

???
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1974
Joined: Mon Jan 29, 2007 4:47 pm

Re: Template unable to find module, but it is active

Post by Jo Morg »

Ok, we'll need the system info, copy it from the backend of CMSMS and post it here.
In the mean time, try to clear the cache and see if that solves it; check if News did complete the upgrade (if not it should show the link to the upgrade action iirc...). Also check if News menu entries on the backend are visible and work.
"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!
scooper
Forum Members
Forum Members
Posts: 242
Joined: Fri Dec 09, 2005 12:36 pm

Re: Template unable to find module, but it is active

Post by scooper »

Try using the longer version of the module tag as well ... I have a vague recollection of needing to do that when upgrading an old site a while back..

So.

{cms_module module="News"}

rather than

{News}

s.
akipt
New Member
New Member
Posts: 3
Joined: Fri Feb 17, 2017 4:27 pm

Re: Template unable to find module, but it is active

Post by akipt »

scooper wrote:
...
{cms_module module="News"}

rather than

{News}
...
Thats it! Thank you very much scooper and Jo Morg!

Only three more updates to 2.1.x :)

PS: Can some admin add [Solved] to the title. Didn't find the modify button.
Post Reply

Return to “The Lounge”