Issue With "{*" and CMSMS 1.3

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
SheehanMay
Forum Members
Forum Members
Posts: 13
Joined: Tue Jun 24, 2008 5:52 pm

Issue With "{*" and CMSMS 1.3

Post 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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Issue With "{*" and CMSMS 1.3

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
SheehanMay
Forum Members
Forum Members
Posts: 13
Joined: Tue Jun 24, 2008 5:52 pm

Re: Issue With "{*" and CMSMS 1.3

Post 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.
Locked

Return to “[locked] Installation, Setup and Upgrade”