Advanced search  

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

Pages: [1]   Go Down

Author Topic: Template error, like everyone else!  (Read 6519 times)

0 Members and 1 Guest are viewing this topic.

alexanbob

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Template error, like everyone else!
« on: July 11, 2007, 02:58:44 am »

Hi! First time posting here but I've been visiting for a while..just haven't had the need to post until now. Like many others I've gotten this error after upgrading:

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

        <tr width="100%">
                <td align="center" valign="middle" class="navmenu" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='F2EBE0';"onmouseout="this.style.backgroundColor='F4E7C1';">
                        <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" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='F2EBE0';"onmouseout="this.style.backgroundColor='F4E7C1';">
                        <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" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='F2EBE0';"onmouseout="this.style.backgroundColor='F4E7C1';">
                        <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">
                        {PIC_POS}
                </td>
                <td align="center" valign="middle" class="navmenu" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='F2EBE0';"onmouseout="this.style.backgroundColor='F4E7C1';">
                        <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" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='F2EBE0';"onmouseout="this.style.backgroundColor='F4E7C1';">
                        <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}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='F2EBE0';"onmouseout="this.style.backgroundColor='F4E7C1';">
                        <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}" /></a>
                </td>
        </tr>

I've tried to fix it myself by following the help guides but I just end up getting so confused.

My gallery is located here: http://www.kat-media.net/graphics/

I've attached my theme so maybe someone could possibly upgrade it for me?  :-[

Thank you to anyone who can help <3
« Last Edit: July 12, 2007, 09:53:46 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Template error, like everyone else!
« Reply #1 on: July 11, 2007, 06:53:47 pm »

If you are aware that others got the same error that you have, why don't you do as supporters suggested in those other threads? They told users to do exactly as suggested in the theme upgrade guide. Searching the forum for the word "sapprckt" might have helped as well.
Logged

alexanbob

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Template error, like everyone else!
« Reply #2 on: July 11, 2007, 08:23:06 pm »

If you are aware that others got the same error that you have, why don't you do as supporters suggested in those other threads? They told users to do exactly as suggested in the theme upgrade guide. Searching the forum for the word "sapprckt" might have helped as well.

I tried following the theme upgrade guide and got really confused and ended up just messing it up more. And I did search the forum for sapprckt and didn't find what I was lookking for :-\
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Template error, like everyone else!
« Reply #3 on: July 12, 2007, 09:07:47 am »

I tried following the theme upgrade guide and got really confused and ended up just messing it up more.
You should have undone this and restarted. Don't expect to be spoon-fed!
Replacing the file theme.php within your custom theme with the corresponding file of the classic theme should do the trick.

Use the theme I attached and modify it further to fit your needs.
Logged

alexanbob

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Template error, like everyone else!
« Reply #4 on: July 12, 2007, 09:51:26 am »

Thank you SO much! I really do appreciate you helping me. I've been trying to fix this on and off for months, and I'm so grateful for this to finally be fixed.
Logged
Pages: [1]   Go Up
 

Page created in 0.03 seconds with 19 queries.