template error, template error,
 

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

template error,

Started by sicily18, February 16, 2006, 08:05:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sicily18

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.... :-\

QuoteTemplate 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 -->

Nibbler

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

sicily18

Quote from: Nibbler 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.

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

thanks in advance


Joachim Müller

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

sicily18

Quote from: GauGau 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.

thanks nibbler and gaugau

furiofan

I'm getting the same error, out of nowhere and I haven't changed a thing. It was working for months. And this morning...
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>