Failed to find block 'ecard_button' Failed to find block 'ecard_button'
 

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]

Main Menu

Failed to find block 'ecard_button'

Started by onyx, June 01, 2006, 12:09:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

onyx

Hi, I have the Coppermine Gallery installed (1.4.6) at http://www.thedogtricks.com/gallery/.

I have a huge problem,

If an anonymous user (not logged in) tries to look at my pictures in the gallery I receive 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="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="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" 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}" /></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}" /></a>
                </td>
        </tr>

But if I am logged in, I get no problem whatsoever.

Anybody can help?

Thank you.
JC

Nibbler

You're probably using a 1.3 theme with a 1.4 gallery. You need to use a theme that was made for 1.4 or update your theme following the instructions in the docs.

onyx

Hi,

Thanks for the reply.

I think I am using a 1.3 theme, I've tried to update it but I got completely lost when I was trying to update the theme.php, it seems like I have to re-write it all.

My question is this though, my theme works perfectly when I'm logged in, is there just something in the code I could change that would fix my problem for unlogged users?

Thanks,
JC

onyx

I fixed it by modifing themes.inc.php

Thanks

Joachim Müller

Undo your changes. You mustn't modify themes.inc.php! Zip your custom theme and attach it to your posting (using "additional options" when composing your message).