forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 upgrading => Topic started by: Rami 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
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.
-
After fix: http://forum.coppermine-gallery.net/index.php/topic,62835.0.html
Now i have: 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>
-
Probably your theme isn't compatible to cpg1.5.x. Try if it works with that link: http://christinaaguilera.com.pl/photos/?theme=curve