[SOLVED] Can't call my module - smarty error - unrecognised tag

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
turniphead
Forum Members
Forum Members
Posts: 40
Joined: Thu Jul 31, 2008 12:16 pm

[SOLVED] Can't call my module - smarty error - unrecognised tag

Post by turniphead »

I developed a module on xampp locally, but when I deployed it to a server I am seeing a problem. The module is called by putting a tag in a page as follows:

{cms_module='Mymodule' gallery='test'}

This works locally, but yields a smarty error when hosted

string(154) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: cms_module='Mymodule' gallery='test' (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"

There are some differences between the test install and the server install, so I'm not sure where to start looking. I had a quick look in Smarty_Compiler.class.php, but couldn't figure it out.

Is there something obvious that might cause this issue?

I'm running v 1.4.1 on linux php 5, mysql 5.

Thanks for reading.
Last edited by turniphead on Mon Oct 13, 2008 3:39 pm, edited 1 time in total.
turniphead
Forum Members
Forum Members
Posts: 40
Joined: Thu Jul 31, 2008 12:16 pm

Re: Can't call my module - smarty error - unrecognised tag

Post by turniphead »

Fixed. Silly error on my part - sorry.
Post Reply

Return to “Developers Discussion”