Page 1 of 1

Issue With "{*" and CMSMS 1.3

Posted: Tue Jun 24, 2008 9:58 pm
by SheehanMay
Just thought it might be good idea to note this for others that may run into this issue:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/httpd/vhosts/kifitnessequipment.com/httpdocs/cms/lib/smarty/Smarty_Compiler.class.php(270) : regexp code on line 2

If you are seeing this issue it seems as though the commenting style used by the metadata tag and in other places (like search results) is the cause of the parsing issue.

Anywhere I have found this "{*" my template dies because php cannot parse it, as soon as I take it out everything is fine.

Re: Issue With "{*" and CMSMS 1.3

Posted: Tue Jun 24, 2008 10:06 pm
by calguy1000
anything between {* and *} is a smarty comment

so if you're expreiencing problems with this, it's probably something else, as this has worked in CMS forever.

Re: Issue With "{*" and CMSMS 1.3

Posted: Tue Jun 24, 2008 10:12 pm
by SheehanMay
calguy1000 wrote: anything between {* and *} is a smarty comment

so if you're expreiencing problems with this, it's probably something else, as this has worked in CMS forever.
No it is not anything else I just removed them and everything is fine now. It may be issue with my servers php settings but just in case someone else runs into the same error they can at least try it as a fix.