Failed to find block 'ecard_button' error once upgraded Failed to find block 'ecard_button' error once upgraded
 

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

Failed to find block 'ecard_button' error once upgraded

Started by mp2006, February 15, 2006, 07:04:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mp2006

Hello all. This is my first post. I've been using the CPG for a while now and just now ran across an issue (which I think is a mistake I made on my part, not CPG's).
I upgraded last night using my Fantastico system, then I re-uploaded my old style.css, modified images, theme.php, and template.html files since those were the ones I used in order to customize the look of my gallery.
Everything looks fine when you go to the gallery, but as soon as you click on a photo, it gives this error:
QuoteTemplate 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="themes/hardwired/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/hardwired/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/hardwired/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/hardwired/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/hardwired/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/hardwired/images/nextimg.gif" width="18" height="15" border="0" align="absmiddle" alt="{NEXT_TITLE}" /></a>
                </td>
        </tr>


I'm assuming that when I reuploaded either my old theme.php or template.html file, I accidentally wrote over some sort of newly added code in the upgraded version, so i'm trying to figure out which file exactly is this so I can do it over and fix it.
Thanks!


mp2006

ugh... so much to change! I liked it the way it was before... wish I hadn't even done the upgrade now  :-\

mp2006

Well I got everything changed except now I can't seem to place my neat logo at the top and whenever I log in, it logs me back out (and yes, i've checked my cookies and cahce and everything) *sigh*

Joachim Müller

then post a link for a start, and zip up your custom theme and attach it to your reply