Failed to find block 'file_line'? Failed to find block 'file_line'?
 

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

Main Menu

Failed to find block 'file_line'?

Started by Linz05, August 14, 2006, 11:30:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Linz05

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/. It just started this today and hasn't done it before. Could someone please help me figure out how to fix it?

Joachim Müller

#1
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.

Linz05

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.

Joachim Müller

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).