Advanced search  

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

Pages: [1]   Go Down

Author Topic: Template error: "Failed to find block 'ecard_button ..."  (Read 6672 times)

0 Members and 1 Guest are viewing this topic.

hasemann

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 44
Template error: "Failed to find block 'ecard_button ..."
« on: December 02, 2005, 09:15:17 pm »

Hey! I just installed cpg1.4 succesfully and I replaced uploaded my old theme files because they are very customized. Everything works well except for when I try to click on a thumbnail in my gallery (viewing it in full size) I get this error:
Code: [Select]
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>
What can I do? I don't want to customize my whole template again :(
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Template error: "Failed to find block 'ecard_button ..."
« Reply #1 on: December 02, 2005, 10:54:36 pm »

1.3.x themes do not work with 1.4.  You must upgrade your theme to 1.4.  Look in the docs for instructions.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

Swede

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Template error: "Failed to find block 'ecard_button ..."
« Reply #3 on: December 15, 2005, 06:14:01 pm »

I don't know if this is the exact same thing, but I keep getting this error when I click on a thumbnail in my gallery:

Code: [Select]
Template error
Failed to find block 'report_file_button'(#(<!-- BEGIN report_file_button -->)(.*?)(<!-- END report_file_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>


And I think I alredy have 1.4. Can someone please help me!
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Template error: "Failed to find block 'ecard_button ..."
« Reply #4 on: December 16, 2005, 04:30:06 am »

Yes, it's the same thing with the same solution posted above.
Logged

Swede

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Template error: "Failed to find block 'ecard_button ..."
« Reply #5 on: December 16, 2005, 03:06:47 pm »

But I alredy have Coppermine 1.4.2
Do I need to get 1.4.1 anyway?

Another question (which doesn't really belong here, and it might sound stupid) but my Configuration button is gone!  ???  What can I do to get it back?
« Last Edit: December 16, 2005, 03:21:38 pm by Swede »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Template error: "Failed to find block 'ecard_button ..."
« Reply #6 on: December 16, 2005, 04:31:29 pm »

You need to update your custom theme.
Logged

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: Template error: "Failed to find block 'ecard_button ..."
« Reply #7 on: December 17, 2005, 05:55:49 am »

But I alredy have Coppermine 1.4.2
Do I need to get 1.4.1 anyway?

Another question (which doesn't really belong here, and it might sound stupid) but my Configuration button is gone!  ???  What can I do to get it back?

The config button being gone is usually attributed to an incomplete language file, switch to english and retest.  If you are willing to fix that language file, there are a couple of posts that deal with doing language interpretation and how to re-submit them to us.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.