forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: Julez1054 on November 27, 2005, 03:25:58 am

Title: Error when clicking on Photos
Post by: Julez1054 on November 27, 2005, 03:25:58 am
After my update, I'm now getting this error that appears anytime someone wants to view a photo. The photo will appear when I'm in Admin mode, but as soon as I log out, as for anyone else who's viewing the photos I keep getting this error...Can anyone help me out?

Template error
Failed to find block 'ecard_button'(#(<!-- BEGIN ecard_button -->)(.*?)(<!-- END ecard_button -->)#s) in :

        <tr width="100%">
                <td align="center" valign="middle" class="navmenu" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='DFDEDC';"onmouseout="this.style.backgroundColor='FFFFFF';">
                        <a href="{THUMB_TGT}" class="navmenu_pic" title="{THUMB_TITLE}"><img src="images/folder.gif" width="16" height="16" align="absmiddle" border="0" alt="{THUMB_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='DFDEDC';"onmouseout="this.style.backgroundColor='FFFFFF';">
                        <a href="javascript:;" onClick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="images/info.gif" width="16" height="16" border="0" align="absmiddle" alt="{PIC_INFO_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='DFDEDC';"onmouseout="this.style.backgroundColor='FFFFFF';">
                        <a href="{SLIDESHOW_TGT}" title="{SLIDESHOW_TITLE}"><img src="images/slideshow.gif" width="16" height="16" border="0" align="absmiddle" alt="{SLIDESHOW_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu">
                        {PIC_POS}
                </td>
                <td align="center" valign="middle" class="navmenu" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='DFDEDC';"onmouseout="this.style.backgroundColor='FFFFFF';">
                        <a href="{ECARD_TGT}" title="{ECARD_TITLE}"><img src="images/ecard.gif" width="16" height="16" border="0" align="absmiddle" alt="{ECARD_TITLE}"></a>
                </td>
                <td align="center" valign="middle" class="navmenu" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='DFDEDC';"onmouseout="this.style.backgroundColor='FFFFFF';">
                        <a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="images/prev.gif" width="16" height="16" border="0" align="absmiddle" alt="{PREV_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='DFDEDC';"onmouseout="this.style.backgroundColor='FFFFFF';">
                        <a href="{NEXT_TGT}" class="navmenu_pic" title="{NEXT_TITLE}"><img src="images/next.gif" width="16" height="16" border="0" align="absmiddle" alt="{NEXT_TITLE}" /></a>
                </td>
        </tr>

Title: Re: Error when clicking on Photos
Post by: Nibbler on November 27, 2005, 03:28:17 am
Have you properly updated your custom theme ?
Title: Re: Error when clicking on Photos
Post by: Julez1054 on November 27, 2005, 03:35:25 am
Have you properly updated your custom theme ?

How would you go about doing so? I'm not quite good at this coppermine php stuff.....
Title: Re: Error when clicking on Photos
Post by: Nibbler on November 27, 2005, 03:41:09 am
There are instructions - http://coppermine-gallery.net/demo/cpg14x/docs/theme/index.html
Title: Re: Error when clicking on Photos
Post by: Julez1054 on November 27, 2005, 04:16:23 am
There are instructions - http://coppermine-gallery.net/demo/cpg14x/docs/theme/index.html

I'm so confused.....I can't seem to figure this out....Do you have AOL or MSN where I could talk to you? I really need some help :(
Title: Re: Error when clicking on Photos
Post by: artistsinhawaii on November 27, 2005, 06:06:10 am
jules,
when you updated did you upload the themes that came with coppermine as well?

If so, open your broswer and type in:

Http://www.yourwebsite.com/coppermine_folder/index.php?theme=classic

See how it behaves using coppermine's default theme. 

If it looks like it is working properly without you loggin in, then log in, go to your config menu, and select the classic theme as your default theme until you properly update your preferred website's theme.

Dennis