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: TEMPLATE ERROR: Failed to find block 'breadcrumb'  (Read 3204 times)

0 Members and 1 Guest are viewing this topic.

frankyknife

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
TEMPLATE ERROR: Failed to find block 'breadcrumb'
« on: October 19, 2004, 08:37:56 am »

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

Code: [Select]
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:

Code: [Select]
// 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
« Last Edit: October 23, 2004, 06:38:26 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: Failed to find block 'breadcrumb'
« Reply #1 on: October 19, 2004, 10:15:23 am »

please post a link.

Joachim
Logged

frankyknife

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: TEMPLATE ERROR: Failed to find block 'breadcrumb'
« Reply #2 on: October 23, 2004, 03:37:09 am »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 19 queries.