TEMPLATE ERROR: Failed to find block 'breadcrumb' TEMPLATE ERROR: Failed to find block 'breadcrumb'
 

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

TEMPLATE ERROR: Failed to find block 'breadcrumb'

Started by frankyknife, October 19, 2004, 08:37:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

frankyknife

Hi!
i got following error output of my CPG 1.3.1 (only if i click on a category link):


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

<!-- BEGIN breadcrumb_user_gal -->
        <tr>
                <td colspan="3" class="tableh1">
                <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                        <td><span class="statlink"><b>{BREADCRUMB}</b></span></td>
                        <td align="right"><span class="statlink"><b>{STATISTICS}</b></span></td>
                </tr>
                </table>
                </td>
        </tr>
<!-- END breadcrumb_user_gal -->



-> my main page layout in config looks like this: breadcrumb/catlist/alblist
(if i remove 'alblist' the main page is OK (also showing the category and the albums) and the error disappears if i click on the category link. but unfortunately it is empty!)

-> on the main page i see on the top the category, below my albums (the albums are 'childs' of the category = category is 'parent'). normally i should see the albums again if click on the category, right!?

-> changing to another theme is causing exactly the same error!

-> if i setup a new category and add a new album there i get the same error if click it, too!


my theme.php looks like that at this part:


// HTML template for the breadcrumb
$template_breadcrumb = <<<EOT
<!-- BEGIN breadcrumb -->
        <tr>
                <td height="26" colspan="3" class="tableh1"><span class="mainlink"><b><a href="http://www.mydomain.com/home.html">HOME</a> - {BREADCRUMB}</b></span></td>
        </tr>
<!-- END breadcrumb -->
<!-- BEGIN breadcrumb_user_gal -->
        <tr>
                <td colspan="3" class="tableh1">
                <table height="26" width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                        <td><span class="mainlink"><b>{BREADCRUMB}</b></span></td>
                        <td align="right"><span class="stats">{STATISTICS}</span></td>
                </tr>
                </table>
                </td>
        </tr>
<!-- END breadcrumb_user_gal -->

EOT;



can anyone help?

thx, franky

Joachim Müller


frankyknife

i think there was an error in my database... i dont know why.

i tested it on a new CPG 1.3.2 installation. there it works normally! so i re-installed my old gallery, too.
=> everything OK!

sorry to bother you  :P
Franky