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.......Failed to find block 'file_line'  (Read 3255 times)

0 Members and 1 Guest are viewing this topic.

l810th

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Template error.......Failed to find block 'file_line'
« on: February 09, 2007, 03:47:16 pm »

I hope I have posted this properly as it is my first call for Help!
Trying to logon to http://lenz-frienz.freehostia.com/coppermine/ I get this message:

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

        <tr>
                <td class="tableb" align="center">
                        <font size="3"><b>{MESSAGE}</b></font>


                        <br /><br />
                </td>
        </tr>

I have restored the style.cc (igames) to the original just in case but no luck. I have also removed the Custom menu link URL which is to Yahoo Groups, as YG is down at present. A total beginner at this, but the site has been running very well for two months after my slight editing to the style.cc
Thanking You in anticipation!
Mike.
« Last Edit: February 12, 2007, 07:54:34 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 'file_line'
« Reply #1 on: February 09, 2007, 05:05:00 pm »

Usually happens when upgrading from older versions. Did you perform an upgrade? If yes: did you read the upgrading docs?
Logged

l810th

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Template error.......Failed to find block 'file_line'
« Reply #2 on: February 09, 2007, 05:55:33 pm »

No this was a first time install and I simply edited the style.css file to remove the boarders around the lightbox images by reducing them to zero's. No other changes were made and the template worked fine for two months.
Mike.
Logged

l810th

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Template error.......Failed to find block 'file_line'
« Reply #3 on: February 10, 2007, 01:15:55 am »

Thank You for your help!

It has been sorted. I found an error in  Mysql/cpg144_pictures and ran a Query which seemed to have sorted it out. I had switched off all plugins earlier to try and sort the fault out but to no avail. Once the Query had worked I switched on Multiline Comments 1.1 plugin and the critical error returned but I was able to recover from it. I will have to find an update for this useful plugin, as a single comment line is terrible to work with. Still not sure what the fault was though.

Mike.
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 'file_line'
« Reply #4 on: February 12, 2007, 07:54:19 am »

Afaik the mod you refer to has been made for cpg1.3.x, so it won't work for cpg1.4.x and subsequently return an error message.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.