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

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

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!