[Solved]: Template error Failed to find block 'ecard_button' [Solved]: Template error Failed to find block 'ecard_button'
 

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]

Main Menu

[Solved]: Template error Failed to find block 'ecard_button'

Started by Magnus Lonnegren, March 03, 2008, 05:54:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Magnus Lonnegren

Hi!

I updated to the latest Coppermine this weekend, and I receive this message when trying to click any thumbnail:

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

        <tr>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <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" width="48">
                        <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" width="48">
                        <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" witdh="100%">
                        {PIC_POS}
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <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" width="48">
                        <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" width="48">
                        <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>

the gallery is available at http://solsjo.com/coppermine

I have tried looking into some forum posts but not really found more than this: http://coppermine-gallery.net/demo/cpg14x/docs/theme/index.html
But I don't know where to begin to fix my problem in that guide. I hope I don't have to expect new failures after fixing this one specific problem, so I have to go through all those given steps?

Thanks for any helpful help! :)

Nibbler

Your theme looks fairly standard. It's probably easier to revert to the standard water_drop theme and re-apply your modifications.

Magnus Lonnegren

Okey... Well, I did my modifications a couple of years ago so I can't really remember how much worrk I did in the template, but the things I did was mostly related to the menu, what users logged in/not logged in could do and not. So what you are saying is that there is probably more work to try to adjust my existing theme to 1.4 than the other way? Thanks, I'll try that

Magnus Lonnegren

It seems to work with the new theme, now I have some config to do, hope I remember the most things :P Thanks again!