coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Linz05 on August 14, 2006, 11:30:18 PM

Title: Failed to find block 'file_line'?
Post by: Linz05 on August 14, 2006, 11:30:18 PM
I've searched and read over a few topics and didn't see how I could fix the gallery on my site. Here's a link http://www.geriworld.com/gallery2/ (http://www.geriworld.com/gallery2/). It just started this today and hasn't done it before. Could someone please help me figure out how to fix it?
Title: Re: Failed to find block 'file_line'?
Post by: Joachim Müller on August 15, 2006, 12:08:14 AM
Error message is
QuoteTemplate 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>

Possible reason is a corrupted file. Re-upload. As you're using the totally outdated cpg1.4.2, you should upgrade to the most recent stable (currently cpg1.4.8). As a side effect, the error message should go away.
Title: Re: Failed to find block 'file_line'?
Post by: Linz05 on August 15, 2006, 02:42:52 AM
I tried doing that a couple times and it goes back to doing exactly what it was. The first time I did it, it went back to the layout and said 'There was an error while processing a database query'. Then as soon as I go to do something it goes straight back to the other page.
Title: Re: Failed to find block 'file_line'?
Post by: Joachim Müller on August 15, 2006, 07:47:38 AM
Sounds hard to believe. Blind guess is that you're not performing the upgrade properly. Do exactly as suggested in the upgrading section of the docs. If you subsequently get an error message, post it here, with debug_mode turned on (but don't post the debug_output - we only need the error message you get).