I have a few CPG installs that desperately need upgrading from 1.4 to the latest version. I have backed up all files and databases for them and started to upgrade this one:
http://www.oldalbatross.com/gallery/ however, there seems to be an issue with it that I would want to correct as I did try to upgrade it and it failed so I restored it completely from backup files. The issue is this:
When you click on an album (for example: 'Photo of the Day' =
http://www.oldalbatross.com/gallery/index.php?cat=120 Then click on a sub folder within that album (for example: 'New Friends') =
http://www.oldalbatross.com/gallery/thumbnails.php?album=329 and then click on ANY PHOTO within any album or subfolder (for example: 'Multnomah Friends' = IT GOES TO A LOGIN SCREEN !!!!!!! =
http://www.oldalbatross.com/gallery/login.php?force_login=1&referer=displayimage.php%3Falbum%3D329%26pid%3D1178#top_display_media !!!!!!
Anytime you click on ANY image thumbnail in ANY album to make it go from thumbnail to the larger image, it defaults to a login screen !!!
IF I login using the correct login username and password,, it goes to the dreaded error page =
http://www.oldalbatross.com/gallery/displayimage.php?album=329&pid=1178&message_id=06ac51dd010855b3e639c48fff31ed92&message_icon=success#cpgMessageBlock that displays the following:
englishTemplate error
Failed to find block 'login_to_comment' (#<!-- BEGIN login_to_comment -->(.*?)<!-- END login_to_comment -->#s) in :
<form method="post" name="post" action="db_input.php">
<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="1">
<table width="100%" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><input type="hidden" name="msg_author" value="oldgoat" /></td>
<!-- BEGIN input_box_smilies -->
<td class="tableb_compact">
{COMMENT}
</td>
<td width="100%" class="tableb_compact">
<input type="text" 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%;" />
</td>
<!-- END input_box_smilies -->
<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>
</td>
</tr>
<!-- BEGIN smilies -->
<tr>
<td width="100%" class="tableb_compact">
{SMILIES}
</td>
</tr>
<!-- END smilies -->
</table>
</form>
From that point on, when you 'go back' and try to click ANY album or image ANYwhere in the gallery you will then get this error:
englishTemplate error
Failed to find block 'view_log_files' (#<!-- BEGIN view_log_files -->(.*?)<!-- END view_log_files -->#s) in :
<h2>Admin Menu</h2>
<ul>
<li><a href="admin.php" title="{ADMIN_TITLE}">{ADMIN_LNK}</a></li>
<li><a href="catmgr.php" title="{CATEGORIES_TITLE}">{CATEGORIES_LNK}</a></li>
<li><a href="albmgr.php{CATL}" title="{ALBUMS_TITLE}">{ALBUMS_LNK}</a></li>
<li><a href="groupmgr.php" title="{GROUPS_TITLE}">{GROUPS_LNK}</a></li>
<li><a href="usermgr.php" title="{USERS_TITLE}">{USERS_LNK}</a></li>
<li><a href="banning.php" title="{BAN_TITLE}">{BAN_LNK}</a></li>
<li><a href="reviewcom.php" title="{COMMENTS_TITLE}">{COMMENTS_LNK}</a></li>
<li><a href="picmgr.php" title="{PICTURES_TITLE}">{PICTURES_LNK}</a></li>
<li><a href="searchnew.php" title="{SEARCHNEW_TITLE}">{SEARCHNEW_LNK}</a></li>
<li><a href="util.php" title="{UTIL_TITLE}">{UTIL_LNK}</a></td>
<li><a href="profile.php?op=edit_profile" title="{MY_PROF_TITLE}">{MY_PROF_LNK}</a></li>
<!-- BEGIN documentation -->
<li><a href="{DOCUMENTATION_HREF}" title="{DOCUMENTATION_TITLE}" target="cpg_documentation">{DOCUMENTATION_LNK}</a></li>
<!-- END documentation -->
</ul>
PLEASE PLEASE someone help me fix this so I can get this and my other galleries upgraded to the latest version asap as I am in a deadline to do this before the PHP 5.6 is discontinued on my server by my hosting provider as I must get these to work with the 7+ versions. Also, the latest version I downloaded from Coppermine website was 15x and mine are all 14x so other than the templates may not work in 1.5 I should be able to smoothly go from 1.4 to 15 correct ?? I appreciate any and all help on this.
Note: I searched forums and web for hours for these errors and although I found some other similar errors I found none specifically for these two I am getting hence I could not find the way to correct them. Thanks again,,,