Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Template Error after Upgrading  (Read 4232 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: 15764
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.022 seconds with 19 queries.