Page 1 of 1

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

Posted: Mon Oct 13, 2008 3:08 pm
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.

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

Posted: Mon Oct 13, 2008 3:38 pm
by turniphead
Fixed. Silly error on my part - sorry.