Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Template Error after Upgrading  (Read 3416 times)

0 Members and 1 Guest are viewing this topic.

Rami

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 4
  • ChristinaAguilera.com.pl
Template Error after Upgrading
« on: February 07, 2011, 01:23:50 am »

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

Quote
Template 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.
Logged

Rami

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 4
  • ChristinaAguilera.com.pl
Re: Template Error after Upgrading
« Reply #1 on: February 07, 2011, 01:34:57 am »

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

Now i have:
Quote
Template 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>
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: Template Error after Upgrading
« Reply #2 on: February 07, 2011, 12:35:36 pm »

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

Page created in 0.016 seconds with 20 queries.