Strange Smarty error

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Strange Smarty error

Post by jmcgin51 »

CMSMS v.13 Canary

Here's the error:

When I try to view the page called "Cables", I see the header, menu, and footer ok.  But the following error is where the content should be:

Fatal error: Smarty error: [in content:content_en line 4]: syntax error: expecting '=' after attribute name 'Combine' (Smarty_Compiler.class.php, line 1541) in E:\html\domains\katahdindesigns.com\wwwroot\cnh\cms\lib\smarty\Smarty.class.php on line 1095


Here's the code that's apparently causing the error.  This is the only code in the content section of that page.  Why is it throwing an error.  None of my other pages have errors...    ???????

{cms_selflink page="midrange_gps_install_cables" text="Midrange Combine GPS Installation Cables"}

{cms_selflink page="accuguide_cables" text="AFS AccuGuide Cables"}

{cms_selflink page="afx_gps_install_cables" text="AFX Combine GPS Installation Cables"}

{cms_selflink page="gps_antenna_cables" text="GPS Antenna Cables"}

{cms_selflink page="ezg+_cables" text="EZ-Guide Plus Specialty Cables"}

{cms_selflink page="misc_cables" text="Miscellaneous Cables"}

{cms_selflink page="gps_power_cables" text="Power & Power/Data Cables"}

{cms_selflink page="pinouts" text="Specialty Cable Pinouts"}
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Strange Smarty error

Post by jmcgin51 »

Well, I removed all but the first two lines of code, and the error remains.

If I remove the first line (so that only the second line remains), the error moves; it references expecting a '=' after GPS, instead of after Series.

If I remove the second line and leave only the first, the error remains and references expecting a '=' after Series, as it does if all the links are in place.

What on earth is the problem?  I tried rewording and retyping the entire first link, with no change in the error...
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Strange Smarty error

Post by jmcgin51 »

If I reword the link as follows (and remove all the other links), the page loads without errors, but nothing displays in the content.  It's just blank.  So, no errors, but no content either.  Progress??? ;-)

{cms_selflink page="midrange_gps_install_cables" text='Midrange Series Combine GPS Install Cables'}
Post Reply

Return to “CMSMS Core”