- Moderated by:
- Support Team
-
- rank:
-
Professional
- registered:
- June 2003
- Status:
- offline
- last visit:
- 27.08.08
- Posts:
- 1147
I'm trying my hand at converting my new xMollioC theme to .80 to see how it works. I'm getting the following error and I don't understand...
Code
Fatal error: Smarty error: [in nav.htm line 42]: syntax error: unclosed tag {pnsecauthaction} (opened line 3). (Smarty_Compiler.class.php, line 317) in /home/soundwe/site_items/pn8lab/includes/classes/Smarty/Smarty.class.php on line 1095
the offending line is:
Code
(line 3)<!--[ pnsecauthaction realm="0" comp="::" inst="::" level="ACCESS_ADMIN" assign="admin" ]-->
(line 42) <li<!--[checkactive check="Downloads" actual=$loc]-->><a href="modules.php?op=modload&name=Downloads&file=index">Downloads</a>
line 42 is similar in structure to many other lines in the template, so I'm pretty sure that's really not the issue.
Apparently pnsecauthaction requires some sort of previously unused closing tag?
any help is appreciated. -
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- offline
- last visit:
- 09.11.08
- Posts:
- 13413
pnsectauthaction can be used as a block (enclosing the stuff you want to restrict like an IF tag) in .8 - but the previous function is also there. I haven't had a chance to examine this yet, but it's possibly an oversight that both files exist.
Anyway, try using it as though it's an IF statement.
--
Regards,
Simon
itbegins.co.uk - Zikula Consulting
Please read the Support Guide
