Template Error after Upgrading Template Error after Upgrading
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Template Error after Upgrading

Started by Rami, February 07, 2011, 01:23:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rami

I've just done the upgrade at http://christinaaguilera.com.pl/photos/
I ran the update.php file and it said everything was ok. Now I can't view the gallery and get this error message if I display photos at the albums:

http://christinaaguilera.com.pl/photos/displayimage.php?album=2214&pid=41763#top_display_media
http://christinaaguilera.com.pl/photos/displayimage.php?album=2213&pid=41762#top_display_media

QuoteTemplate error
Failed to find block 'login_to_comment' (#<!-- BEGIN login_to_comment -->(.*?)<!-- END login_to_comment -->#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="Rami" /></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 -->

Please, help me.

Rami

After fix: http://forum.coppermine-gallery.net/index.php/topic,62835.0.html

Now i have:
QuoteTemplate error
Failed to find block 'login_to_comment' (#<!-- BEGIN login_to_comment -->(.*?)<!-- END login_to_comment -->#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="Rami" /></td>

<!-- BEGIN input_box_no_smilies -->
                                <td class="tableb_compact">
                                <textarea class="textinput" id="message" name="msg_body"  maxlength="{MAX_COM_LENGTH}" style="width: 100%;" rows="2"></textarea>
<!-- END input_box_no_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>

ΑndrĂ©

Probably your theme isn't compatible to cpg1.5.x. Try if it works with that link: http://christinaaguilera.com.pl/photos/?theme=curve