coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: l810th on February 09, 2007, 03:47:16 PM

Title: Template error.......Failed to find block 'file_line'
Post by: l810th 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/ (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.
Title: Re: Template error.......Failed to find block 'file_line'
Post by: Joachim Müller 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?
Title: Re: Template error.......Failed to find block 'file_line'
Post by: l810th 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.
Title: Re: Template error.......Failed to find block 'file_line'
Post by: l810th 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.
Title: Re: Template error.......Failed to find block 'file_line'
Post by: Joachim Müller 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.