coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Fabiocoelho on February 25, 2006, 02:00:59 PM

Title: Error msg (Failed to find block 'file_line'(#(<!-- BEGIN file_line -->)(.*?)...
Post by: Fabiocoelho on February 25, 2006, 02:00:59 PM
Hi,
My webserver did a hardware change and after that my CPG 1.4.2 is giving an error msg when you try to access (http://www.fabiocoelho.com.br/fotos/):

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>

Any help will be very appreciated.
Thanks
Title: Re: Error msg (Failed to find block 'file_line'(#(<!-- BEGIN file_line -->)(.*?)...
Post by: Tranz on February 25, 2006, 06:11:42 PM
Download a fresh copy from our site and upload the files that apparently got corrupted. If your current version is older than 1.4.3, then run update.php and do an upgrade while you're at it.
Title: Re: Error msg (Failed to find block 'file_line'(#(<!-- BEGIN file_line -->)(.*?)
Post by: Fabiocoelho on February 25, 2006, 07:28:31 PM
Quote from: TranzNDance on February 25, 2006, 06:11:42 PM
Download a fresh copy from our site and upload the files that apparently got corrupted. If your current version is older than 1.4.3, then run update.php and do an upgrade while you're at it.

Thanks for the help. Here's what i've done:
1 - Backup my DB.
2 - Deleted all files, except for albums dir and subdirs and includes/config.inc.php.
3 - Uploaded all cpg 1.4.3 files.
4 - Execute http://www.fabiocoelho.com.br/fotos/update.php.

After that the error continues. What could be happening ?

Thanks again.
Title: Re: Error msg (Failed to find block 'file_line'(#(<!-- BEGIN file_line -->)(.*?)...
Post by: Tranz on February 25, 2006, 07:38:03 PM
It looks like the database is messed up, too. A couple of other threads with the same error message:
http://forum.coppermine-gallery.net/index.php?topic=27740.0
http://forum.coppermine-gallery.net/index.php?topic=27858.0