forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upgrading => Topic started by: Chunky C on August 25, 2011, 03:13:59 am

Title: Template error Failed to find block 'comment_captcha'
Post by: Chunky C on August 25, 2011, 03:13:59 am
I upgraded my CPG tonight from 1.4.x to cpg1.5.14.  Now when I click on a thumbnail I get

Code: [Select]
Template error
Failed to find block 'comment_captcha' (#<!-- BEGIN comment_captcha -->(.*?)<!-- END comment_captcha -->#s) in :

<table align="center" width="{WIDTH}" cellspacing="1" cellpadding="0" class="maintable">
        <tr>
                <td width="100%" class="tableh2_compact"><b>{ADD_YOUR_COMMENT}</b></td>
        </tr>
        <tr>
                <td colspan="3">
                <form method="post" name="post" action="db_input.php">
                        <table width="100%" cellpadding="0" cellspacing="0">

<tr><td colspan="2"><input type="hidden" name="msg_author" value="ChunkyC" /></td>
<!-- BEGIN input_box_smilies -->
                                <td class="tableb_compact">
                                {COMMENT} </td>
                                <td width="100%" class="tableb_compact">
                                <textarea class="textinput" id="message" name="msg_body" onselect="storeCaret_post(this);" onclick="storeCaret_post(this);" onkeyup="storeCaret_post(this);" maxlength="{MAX_COM_LENGTH}" style="width: 100%;" rows="2"></textarea>
                                        <!-- END input_box_smilies -->

                                </td>
                                <td class="tableb_compact">
                                <input type="hidden" name="event" value="comment" />
                                <input type="hidden" name="pid" value="{PIC_ID}" />
                                <input type="submit" class="comment_button" name="submit" value="{OK}" />
                                </td></tr>
                        </table>
                </form>
                </td>
        </tr>
<!-- BEGIN smilies -->
        <tr>
                <td width="100%" class="tableb_compact">
                        {SMILIES}
                </td>
        </tr>
</table>
<!-- END smilies -->

Can anyone point me in the direction of a fix?


Thanks

Title: Re: Template error Failed to find block 'comment_captcha'
Post by: Chunky C on August 25, 2011, 03:16:24 am
I should have added that it only shows when I'm logged in as Admin.  I don't get the message when signed in as guest.


Title: Re: Template error Failed to find block 'comment_captcha'
Post by: Chunky C on August 26, 2011, 03:07:41 am
Anyone have any thoughts?
Title: Re: Template error Failed to find block 'comment_captcha'
Post by: Chunky C on August 26, 2011, 06:50:21 pm
I sure would appreciate a little help with this problem.

I've checked to sure that I'm using a v1.5 theme and I still get the same error.  I've tried different themes and still the error.

Title: Re: Template error Failed to find block 'comment_captcha'
Post by: Αndré on August 26, 2011, 08:32:43 pm
I'm quite sure it's a theme issue. Please post a link to your gallery. Additionally you should try what happens when you disable the plugin engine and use the theme 'curve'.