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: Failed to find block 'ecard_button' error once upgraded  (Read 4293 times)

0 Members and 1 Guest are viewing this topic.

mp2006

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Failed to find block 'ecard_button' error once upgraded
« on: February 15, 2006, 07:04:56 pm »

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:
Quote
Template 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!
Logged

Nibbler

  • Guest
Re: Failed to find block 'ecard_button' error once upgraded
« Reply #1 on: February 15, 2006, 07:07:37 pm »

You need to update your old theme, the theme system is all changed.

http://coppermine-gallery.net/demo/cpg14x/docs/theme/index.html
Logged

mp2006

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Failed to find block 'ecard_button' error once upgraded
« Reply #2 on: February 15, 2006, 07:20:36 pm »

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

mp2006

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Failed to find block 'ecard_button' error once upgraded
« Reply #3 on: February 15, 2006, 09:22:14 pm »

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*
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Failed to find block 'ecard_button' error once upgraded
« Reply #4 on: February 16, 2006, 09:11:18 am »

then post a link for a start, and zip up your custom theme and attach it to your reply
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.