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'(#(<!-- BEGIN ecard_button --  (Read 6361 times)

0 Members and 1 Guest are viewing this topic.

itisonlyatest

  • Coppermine newbie
  • Offline Offline
  • Posts: 18

After editing my template, I get this:
Code: [Select]
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='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <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='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <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='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <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='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <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='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <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='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <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>

Whenever I try and view an image. The rest of the site works except that.

Can anyone please help? Thanks!
« Last Edit: March 26, 2006, 02:47:02 am by GauGau »
Logged

itisonlyatest

  • Coppermine newbie
  • Offline Offline
  • Posts: 18

I followed the instructions from another thread, and copied my /themes/classic/theme.php file to my customized theme directory, and everything works fine, except now it just says:
{MAIN_MENU}

where the menu used to be.

The site is:
http://drake.fan-source.com/gallery/

If anyone could help it would be greatly appreciated!
Logged

itisonlyatest

  • Coppermine newbie
  • Offline Offline
  • Posts: 18

Nevermind, I removed the classic theme.php file because it was deleted the custom greeting message and everything.

If anyone could take a look at my edited custom theme.php located at:
http://drake.fan-source.com/gallery/themes/sapprckt/theme.php

and tell me what my error is, I would greatly appreciate it.

Thanks so much,
Chris.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

Joachim Müller

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

itisonlyatest

  • Coppermine newbie
  • Offline Offline
  • Posts: 18

Fixed that, now I get this:
Code: [Select]
Template error
Failed to find block 'report_file_button'(#(<!-- BEGIN report_file_button -->)(.*?)(<!-- END report_file_button -->)#s) in :

        <tr width="100%">
                <td align="center" valign="middle" class="navmenu" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <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='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <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='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <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='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <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='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <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>
Logged

Joachim Müller

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

you've already been told what to do: search for the error message you get.
Logged

itisonlyatest

  • Coppermine newbie
  • Offline Offline
  • Posts: 18

I searched and fixed it, thanks!
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 20 queries.