Template error.......Failed to find block 'file_line' Template error.......Failed to find block 'file_line'
 

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 'file_line'

Started by l810th, February 09, 2007, 03:47:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

l810th

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.

Joachim Müller

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

l810th

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.

l810th

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.

Joachim Müller

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.