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

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

TEMPLATE ERROR: Failed to find block 'breadcrumb'

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

Previous topic - Next topic

0 Members and 2 Guests 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