Getting error in my theme Getting error in my theme
 

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

Getting error in my theme

Started by lizh, June 18, 2007, 04:32:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lizh

Since I have upgraded I get this error in my customized theme but not if I use the old classic theme  ...however I'm stumped to where in the code to find the problem.

Here is the error :  (It occurs when I click on a thumbnail to see the larger image.)

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="{THUMB_TGT}" class="navmenu_pic" title="{THUMB_TITLE}">Return to Thumbnails</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" width="48">

                        <a href="{SLIDESHOW_TGT}" title="{SLIDESHOW_TITLE}">View as Slideshow</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}" />--><nobr> << Previous </nobr></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}" />--><nobr> Next >> </nobr></a>

                </td>

        </tr>


[Edited By Sami]
added code block

Sami

‍I don't answer to PM with support question
Please post your issue to related board