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: template error,  (Read 3823 times)

0 Members and 1 Guest are viewing this topic.

sicily18

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 62
  • are you ready for whats next..?
template error,
« on: February 16, 2006, 08:05:40 pm »

this is the third time this comes up with this sorta error, i think their is something wrong with my theme.php , is there an easy way to fix the complete theme.php, or do i need to rebuild my layout from scratch.... :-\

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

<!-- BEGIN report_file_button -->
        <tr>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{THUMB_TGT}" class="navmenu_pic" title="{THUMB_TITLE}"><img src="themes/boyz/images/back.gif" width="21" height="15" 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="themes/boyz/images/info.gif" width="18" height="15" 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="themes/boyz/images/slideshow.gif" width="21" height="15" 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="themes/boyz/images/ecard.gif" width="21" height="15" 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="themes/boyz/images/previmg.gif" width="18" height="15" 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="themes/boyz/images/nextimg.gif" width="18" height="15" border="0" align="absmiddle" alt="{NEXT_TITLE}" /></a>
                </td>
        </tr>
<!-- END report_file_button -->
« Last Edit: February 17, 2006, 09:06:29 am by GauGau »
Logged

Nibbler

  • Guest
Re: template error,
« Reply #1 on: February 16, 2006, 08:07:06 pm »

Follow the theme update guide in the docs. Judging by that error you have not followed it correctly.
Logged

sicily18

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 62
  • are you ready for whats next..?
Re: template error,
« Reply #2 on: February 16, 2006, 08:08:01 pm »

Follow the theme update guide in the docs. Judging by that error you have not followed it correctly.

thnx for the quik answer, one more question, where can i find that?

thanks in advance
Logged

Nibbler

  • Guest
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: template error,
« Reply #4 on: February 17, 2006, 07:05:49 am »

it also comes with your coppermine package, and reference to it can be found in the docs. Searching is an option as well.
Logged

sicily18

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 62
  • are you ready for whats next..?
Re: template error,
« Reply #5 on: February 17, 2006, 09:03:33 am »

it also comes with your coppermine package, and reference to it can be found in the docs. Searching is an option as well.

thanks nibbler and gaugau
Logged

furiofan

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: template error,
« Reply #6 on: March 22, 2006, 03:55:23 pm »

I'm getting the same error, out of nowhere and I haven't changed a thing. It was working for months. And this morning...
Code: [Select]
Template error
Failed to find block 'ecard_button'(#(<!-- BEGIN ecard_button -->)(.*?)(<!-- END ecard_button -->)#s) in :
<tr>
<td align="left" style="padding-top:20px;">&laquo; <a href="{PREV_TGT}" title="{PREV_TITLE}">Previous Photo</a></td>
<td align="right" style="padding-top:20px;"><a href="{NEXT_TGT}" title="{NEXT_TITLE}">Next Photo</a> &raquo;</td>
</tr>
<tr.>
<td colspan="2">
<BR>
<p class="postmetadata graybox">
<small>
You are currently viewing {PIC_POS}.  You can review additional <a href="javascript:;" onClick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}">details</a> about this photo, enjoy a <a href="{SLIDESHOW_TGT}" title="{SLIDESHOW_TITLE}">slideshow </a>of all photos in <a href="{THUMB_TGT}" title="{THUMB_TITLE}">this album</a>, send an <a href="{ECARD_TGT}" title="{ECARD_TITLE}">eCard</a> to someone based on this photo, or you can <a href="#respond">leave comments</a> about this photo.
</small>
</p>
</td>
</tr>
Logged
Pages: [1]   Go Up
 

Page created in 0.031 seconds with 15 queries.