Forum

Thread tagged as: Problem, Error, Configuration

Template allowed items to be added then next time in Error Template tag ID conta...

PHP 5.4.45 version is okay, but a little out of date. Consider updating soon. MySQL 5.6.36-cll-lve is up to date Image processing available Summary information

Perch: 3.0.9, PHP: 5.4.45, MySQL: 5.6.36, with PDO Server OS: Linux, cgi-fcgi Installed apps: content (3.0.9), assets (3.0.9), categories (3.0.9), perch_events (1.9.5) App runtimes: <?php $apps_list = [ 'perch_events', ]; PERCH_LOGINPATH: /calendar_only PERCH_PATH: /home/g70r57e28/public_html/calendar_only PERCH_CORE: /home/g70r57e28/public_html/calendar_only/core PERCH_RESFILEPATH: /home/g70r57e28/public_html/calendar_only/resources Image manipulation: GD Imagick PHP limits: Max upload 256M, Max POST 8M, Memory: 256M, Total max file upload: 8M F1: 3b606135b33e6a102526838f4152a807 Resource folder writeable: Yes SCRIPT_NAME: /calendar_only/core/settings/diagnostics/index.php REQUEST_URI: /calendar_only/core/settings/diagnostics/ DOCUMENT_ROOT: /home/g70r57e28/public_html HTTP_HOST: visitfairfieldcountyoh.org

Template tag ID ‘’ contains disallowed characters Template tag ID ‘’ contains disallowed characters Template tag ID ‘’ contains disallowed characters Template tag ID ‘’ contains disallowed characters Template tag ID ‘’ contains disallowed characters Template tag ID ‘’ contains disallowed characters Template tag ID ‘’ contains disallowed characters Template tag ID ‘’ contains disallowed characters Template tag ID ‘’ contains disallowed characters Template tag ID ‘’ contains disallowed characters Template below: only thing that is in the id is a unique number that was working up to 10 minutes ago and then is throwing out errors above. Items are still listed and working.

<perch:if exists="address1"><perch:before><dl></perch:before><dt><perch:content exists="image1"><img src="<perch:content type="image" id="image1" label="Image" width="200" />" alt="<perch:content type="text" id="alt1" label="Description" required="false" help="e.g. Photo of MD John Smith with his best wig on" title="true" />" /><br /></perch:if>
<perch:if exists="link1"><a href="<perch:content id="link1" type="text" label="Link" />"></perch:if><perch:content id="name1" type="text" label="Name" /><perch:if exists="link1"></a></perch:if></dt>
<dd ><perch:content id="address1" type="text" label="Address" /><br /><a href="tel:<perch:content id="phone1" type="text" label="Phone" />"><perch:content id="phone1" type="text" label="Phone" /></a>
<p><a data-open="exampleModal11">Map</a></p><perch:content id="textb1" type="textarea" label="Paragraph Description" html="true" editor="ckeditor" imagewidth="640" imageheight="480" />
<div class="reveal" id="exampleModal11" data-reveal> <a href="https://www.google.com/maps/place/'<perch:content id="address1" type="text" Label="Address" />'">MAP HERE</a> 
 <button class="close-button" data-close aria-label="Close reveal" type="button">    <span aria-hidden="true">×</span>   </button></div> <br /> </dd> <perch:after></dl></perch:after></perch:if>

 <perch:if exists="address2">
 <perch:before><dl></perch:before>
<dt><perch:content exists="image2"><img src="<perch:content type="image" id="image2" label="Image" width="200" />" alt="<perch:content type="text" id="alt2" label="Description" required="false" help="e.g. Photo of MD John Smith with his best wig on" title="true" />" />
<br /></perch:if><perch:if exists="link2"><a href="<perch:content id="link2" type="text" label="Link" />"></perch:if>
<perch:content id="name2" type="text" label="Name" /><perch:if exists="link2"></a></perch:if></dt>
<dd><perch:content id="address2" type="text" label="Address" /><br /><a href="tel:<perch:content id="phone2" type="text" label="Phone" />"><perch:content id="phone2" type="text" label="Phone" /></a>
<p><a data-open="exampleModal12">Map</a></p><perch:content id="textb2" type="textarea" label="Paragraph Description" html="true" editor="ckeditor" imagewidth="640" imageheight="480" />
<div class="reveal" id="exampleModal12" data-reveal> <a href="https://www.google.com/maps/place/'<perch:content id="address2" type="text" Label="Address2" />'">MAP HERE</a>  
<button class="close-button" data-close aria-label="Close reveal" type="button"> <span aria-hidden="true">×</span>  </button></div> <br /></dd> <perch:after></dl></perch:after></perch:if>

<perch:if exists="address3"><perch:before><dl></perch:before><dt>
<perch:content exists="image3"><img src="<perch:content type="image" id="image3" label="Image" width="200" />" alt="<perch:content type="text" id="alt3" label="Description" required="false" help="e.g. Photo of MD John Smith with his best wig on" title="true" />" /><br />
</perch:if><perch:if exists="link3"><a href="<perch:content id="link3" type="text" label="Link" />"></perch:if><perch:content id="name3" type="text" label="Name" /><perch:if exists="link3"></a></perch:if></dt>
<dd ><perch:content id="address3" type="text" label="Address" /><br /><a href="tel:<perch:content id="phone3" type="text" label="Phone" />"><perch:content id="phone3" type="text" label="Phone" /></a>
<p><a data-open="exampleModal13">Map</a></p><perch:content id="textb3" type="textarea" label="Paragraph Description" html="true" editor="ckeditor" imagewidth="640" imageheight="480" />
<div class="reveal" id="exampleModal13" data-reveal> <a href="https://www.google.com/maps/place/'<perch:content id="address3" type="text" Label="Address" />'">MAP HERE</a> 
 <button class="close-button" data-close aria-label="Close reveal" type="button">    <span aria-hidden="true">×</span>   </button></div> <br /> </dd> <perch:after></dl></perch:after></perch:if>

 <perch:if exists="address4">
 <perch:before><dl></perch:before>
<dt><perch:content exists="image4"><img src="<perch:content type="image" id="image4" label="Image" width="200" />" alt="<perch:content type="text" id="alt4" label="Description" required="false" help="e.g. Photo of MD John Smith with his best wig on" title="true" />" />
<br /></perch:if><perch:if exists="link4"><a href="<perch:content id="link4" type="text" label="Link" />"></perch:if>
<perch:content id="name4" type="text" label="Name" /><perch:if exists="link4"></a></perch:if></dt>
<dd><perch:content id="address4" type="text" label="Address" /><br /><a href="tel:<perch:content id="phone4" type="text" label="Phone" />"><perch:content id="phone4" type="text" label="Phone" /></a>
<p><a data-open="exampleModal14">Map</a></p><perch:content id="textb4" type="textarea" label="Paragraph Description" html="true" editor="ckeditor" imagewidth="640" imageheight="480" />
<div class="reveal" id="exampleModal14" data-reveal> <a href="https://www.google.com/maps/place/'<perch:content id="address4" type="text" Label="Address2" />'">MAP HERE</a>  
<button class="close-button" data-close aria-label="Close reveal" type="button"> <span aria-hidden="true">×</span>  </button></div> <br /></dd> <perch:after></dl></perch:after></perch:if>

<perch:if exists="address5"><perch:before><dl></perch:before><dt><perch:content exists="image5"><img src="<perch:content type="image" id="image5" label="Image" width="200" />" alt="<perch:content type="text" id="alt5" label="Description" required="false" help="e.g. Photo of MD John Smith with his best wig on" title="true" />" /><br />
</perch:if><perch:if exists="link5"><a href="<perch:content id="link5" type="text" label="Link" />"></perch:if><perch:content id="name5" type="text" label="Name" /><perch:if exists="link5"></a></perch:if></dt>
<dd ><perch:content id="address5" type="text" label="Address" /><br /><a href="tel:<perch:content id="phone5" type="text" label="Phone" />"><perch:content id="phone5" type="text" label="Phone" /></a>
<p><a data-open="exampleModal15">Map</a></p><perch:content id="textb5" type="textarea" label="Paragraph Description" html="true" editor="ckeditor" imagewidth="640" imageheight="480" />
<div class="reveal" id="exampleModal15" data-reveal> <a href="https://www.google.com/maps/place/'<perch:content id="address5" type="text" Label="Address" />'">MAP HERE</a> 
 <button class="close-button" data-close aria-label="Close reveal" type="button">    <span aria-hidden="true">×</span>   </button></div> <br /></dd><perch:after></dl></perch:after></perch:if>

 <perch:if exists="address6">
 <perch:before><dl></perch:before>
<dt><perch:content exists="image6"><img src="<perch:content type="image" id="image6" label="Image" width="200" />" alt="<perch:content type="text" id="alt6" label="Description" required="false" help="e.g. Photo of MD John Smith with his best wig on" title="true" />" />
<br /></perch:if><perch:if exists="link6"><a href="<perch:content id="link6" type="text" label="Link" />"></perch:if>
<perch:content id="name6" type="text" label="Name" /><perch:if exists="link6"></a></perch:if></dt>
<dd><perch:content id="address6" type="text" label="Address" /><br /><a href="tel:<perch:content id="phone6" type="text" label="Phone" />"><perch:content id="phone6" type="text" label="Phone" /></a>
<p><a data-open="exampleModal16">Map</a></p><perch:content id="textb6" type="textarea" label="Paragraph Description" html="true" editor="ckeditor" imagewidth="640" imageheight="480" />
<div class="reveal" id="exampleModal16" data-reveal> <a href="https://www.google.com/maps/place/'<perch:content id="address6" type="text" Label="Address6" />'">MAP HERE</a>  
<button class="close-button" data-close aria-label="Close reveal" type="button"> <span aria-hidden="true">×</span>  </button></div> <br /></dd> <perch:after></dl></perch:after></perch:if>

<perch:if exists="address7"><perch:before><dl></perch:before><dt><perch:content exists="image7"><img src="<perch:content type="image" id="image7" label="Image" width="200" />" alt="<perch:content type="text" id="alt7" label="Description" required="false" help="e.g. Photo of MD John Smith with his best wig on" title="true" />" /><br />
</perch:if><perch:if exists="link7"><a href="<perch:content id="link7" type="text" label="Link" />"></perch:if><perch:content id="name7" type="text" label="Name" /><perch:if exists="link7"></a></perch:if></dt>
<dd ><perch:content id="address7" type="text" label="Address" /><br /><a href="tel:<perch:content id="phone7" type="text" label="Phone" />"><perch:content id="phone7" type="text" label="Phone" /></a>
<p><a data-open="exampleModal17">Map</a></p><perch:content id="textb7" type="textarea" label="Paragraph Description" html="true" editor="ckeditor" imagewidth="640" imageheight="480" />
<div class="reveal" id="exampleModal17" data-reveal> <a href="https://www.google.com/maps/place/'<perch:content id="address7" type="text" Label="Address" />'">MAP HERE</a> 
 <button class="close-button" data-close aria-label="Close reveal" type="button">    <span aria-hidden="true">×</span>   </button></div> <br /> </dd> <perch:after></dl></perch:after></perch:if>

 <perch:if exists="address8">
 <perch:before><dl></perch:before>
<dt><perch:content exists="image8"><img src="<perch:content type="image" id="image8" label="Image" width="200" />" alt="<perch:content type="text" id="alt8" label="Description" required="false" help="e.g. Photo of MD John Smith with his best wig on" title="true" />" />
<br /></perch:if><perch:if exists="link8"><a href="<perch:content id="link8" type="text" label="Link" />"></perch:if>
<perch:content id="name8" type="text" label="Name" /><perch:if exists="link4"></a></perch:if></dt>
<dd><perch:content id="address8" type="text" label="Address" /><br /><a href="tel:<perch:content id="phone8" type="text" label="Phone" />"><perch:content id="phone8" type="text" label="Phone" /></a>
<p><a data-open="exampleModal18">Map</a></p><perch:content id="textb8" type="textarea" label="Paragraph Description" html="true" editor="ckeditor" imagewidth="640" imageheight="480" />
<div class="reveal" id="exampleModal18" data-reveal> <a href="https://www.google.com/maps/place/'<perch:content id="address8" type="text" Label="Address2" />'">MAP HERE</a>  
<button class="close-button" data-close aria-label="Close reveal" type="button"> <span aria-hidden="true">×</span>  </button></div> <br /></dd> <perch:after></dl></perch:after></perch:if>
Carol Swinehart

Carol Swinehart 0 points

  • 3 years ago
Duncan Revell

Duncan Revell 78 points
Registered Developer

How many of those items have been filled out - all 8? If one (or more) is empty, it could throw that error - you're wrapping ids with an if statement that checks for one of the wrapped ids... The template parser might be getting a bit confused by that.

But the coding is actually correct and should be working?

Drew McLellan

Drew McLellan 2638 points
Perch Support

The error is caused by:

<perch:content exists="image1">

Was that supposed to be a perch:if tag?