Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Solved]: Template error Failed to find block 'ecard_button'  (Read 5206 times)

0 Members and 1 Guest are viewing this topic.

Magnus Lonnegren

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
[Solved]: Template error Failed to find block 'ecard_button'
« on: March 03, 2008, 05:54:51 pm »

Hi!

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

Quote
Template 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! :)
« Last Edit: March 03, 2008, 06:48:03 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Template error Failed to find block 'ecard_button'
« Reply #1 on: March 03, 2008, 05:58:44 pm »

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

Magnus Lonnegren

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Template error Failed to find block 'ecard_button'
« Reply #2 on: March 03, 2008, 06:07:05 pm »

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
Logged

Magnus Lonnegren

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Template error Failed to find block 'ecard_button'
« Reply #3 on: March 03, 2008, 06:15:04 pm »

It seems to work with the new theme, now I have some config to do, hope I remember the most things :P Thanks again!
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.