ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

No Channel Closing Tag Warning

January 24, 2011 6:14pm

Subscribe [3]
  • #1 / Jan 24, 2011 6:14pm

    koko.pelli

    176 posts

    I’m doing something wrong, but I can’t work out what :/

    I am getting the following error on saving the template:

    The following tags raised warnings.
    {exp:channel …

    * No closing tag found. Note: some tags do not require closing.
    * Please consult the module's documentation if you experience problems.

    To my eyes all the channel tags have closing tags. Am I missing one?

    All on the page is working fine, except the first 'qanda' entry isn't appearing (entry_id 22)

    {exp:channel:entries channel="pages" entry_id="8" disable="pagination" limit="1"}
    {embed="includes/doctype"}
    <title>{seotitle}</title>
    {if seodescription}<meta name="description" content="{seodescription}">{/if}
    {embed="includes/head"}
    <body>
    
    <div id="wrap">
        <div id="wrap-inner">
            <div id="header">
                <a href="/">/images/site/logos/logo-ate.png</a>
            </div><!--header-->
            <div id="feature-ate"><!--CHANGE TO FEATURE HOME-->
                {embed="includes/primarynav"}
                {if tagline}<div id="tagline"><span>"{tagline}"</span></div>{/if}
            </div><!--feature-ate-->
            
            <div id="int2col-rsidebar">
                <div id="leftmain">
                    <ul id="breadcrumb" class="bc-purple">
                        <li><a href="#tab1">What is ATE</a></li>
                        <li><a href="#tab2">Our Advice & Support</a></li>
                        <li><a href="#tab3">Areas of Law</a></li>
                        <li><a href="#tab4">Premium Recoverability</a></li>
                    </ul>    
                    <div id="content">
                        {article}
                    <!--content--></div>        
                </div><!--leftmain-->
                
                <div id="rightsidebar">
                    <div id="qa-ate">
                        <div id="sidebar-offset-left"></div>
                        <h2>Q and A</h2>
    <p>                    <div class="qa-accordion" id="list1b"><br />
                            {exp:channel:entries channel="qanda" entry_id="22" disable="pagination" limit="1"}<br />
                            <a>{question}</a><br />
                            <div class="qa-content"><br />
                                {answer}<br />
                            </div><!--qa-content--><br />
                            {/exp:channel:entries}</p>
    
    <p>                        {exp:channel:entries channel="qanda" entry_id="23" disable="pagination" limit="1"}<br />
                            <a>{question}</a><br />
                            <div class="qa-content"><br />
                                {answer}<br />
                            </div><!--qa-content--><br />
                            {/exp:channel:entries}</p>
    
    <p>                        {exp:channel:entries channel="qanda" entry_id="24" disable="pagination" limit="1"}<br />
                            <a>{question}</a><br />
                            <div class="qa-content"><br />
                                {answer}<br />
                            </div><!--qa-content--><br />
                            {/exp:channel:entries}</p>
    
    <p>                        {exp:channel:entries channel="qanda" entry_id="25" disable="pagination" limit="1"}<br />
                            <a>{question}</a><br />
                            <div class="qa-content"><br />
                                {answer}<br />
                            </div><!--qa-content--><br />
                            {/exp:channel:entries}</p>
    
    <p>                    </div><!--basic-->    <br />
                    </div><!--qa-ate--></p>
    
    <p>            </div><!--rightsidebar--><br />
                <br />
                <br class="clear" ><br />
            </div><!--int2col--><br />
        </div><!--wrap-inner--><br />
        {embed="includes/footer"}<br />
    </div><!--wrap--><br />
    </body><br />
    </html><br />
    {/exp:channel:entries}

    IF anyone could take I look i’d be so grateful.

    Thanks
    Si

  • #2 / Jan 24, 2011 6:15pm

    koko.pelli

    176 posts

    Ahh I take it you can’t open a channel tag when another is already open?

  • #3 / Jan 24, 2011 8:21pm

    narration

    773 posts

    Try the solution here, koko.pelli: http://ellislab.com/forums/viewthread/178302/.

    Like the name. Did you get it via Tony Hillerman?

    Regards,
    Clive

  • #4 / Jan 25, 2011 1:07pm

    koko.pelli

    176 posts

    Thanks Clive,

    koko.pelli? It’s from the American Indian symbol - Kokopelli 😊

  • #5 / Jan 25, 2011 3:13pm

    Ingmar

    29245 posts

    So, did that help? You’re good?

  • #6 / Jan 25, 2011 3:14pm

    narration

    773 posts

    😉 yes, I know…Watersprinkler, making fertility for many things.

    Kokopelli showed up in Tony Hillerman’s novel, A Thief of Time. It’s one of his better ones, I think - a good story, and well-written.

    I will listen for the flute…

    Regards,
    Clive

  • #7 / Jan 25, 2011 3:20pm

    Lisa Wess

    20502 posts

    I added some information to that other thread, in this post that you should read in regards to nesting channel entries tags.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases