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 Leto1281, March 25, 2006, 05:04:00 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Leto1281

Ok, I previously had Coppemine up and running perfectly. We then moved the site, so I followed your instructions and copied everything over to the new site and did a database dump and once again everything was working just fine. Recently we had an issue with our server and all the files were deleted. I tried just uploading Coppermine and editing the  config.inc.php file, but that didn't work. For some reason it wouldn't recognize the database. So I did a fresh install of Coppermine which works just fine. I then went in and edited the  config.inc.php file to reflect the old database information. It seemed to be working, it let me login and the old header appeared, but after it recognized my login and I hit the continue button this appears on a white screen:

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 suggestions? Here's the link to my site: http://www.laneandkent.foreverwentworth.org/Coppermine/index.php

Thanks for your time
Renee

Joachim Müller

when accessing your site I get the error message
QuoteThere was an error while processing a database query 
Fix that first.

Leto1281

Quote from: GauGau on March 26, 2006, 12:18:13 PM
when accessing your site I get the error messageFix that first.

Not to be impertinent, but how do I fix that?


Joachim Müller

enable debug_mode to find out. If you can't access coppermine's config user interface, use a third party tool like phpMyAdmin, browse coppermine's config table, set "debug_mode" from "0" to "1". Paste the error message you get (not the debug_output) into your posting. Has been asked before many times already, please search before asking questions in the future.

Leto1281

Quote from: GauGau on March 27, 2006, 07:15:06 AM
enable debug_mode to find out. If you can't access coppermine's config user interface, use a third party tool like phpMyAdmin, browse coppermine's config table, set "debug_mode" from "0" to "1". Paste the error message you get (not the debug_output) into your posting. Has been asked before many times already, please search before asking questions in the future.

No I cannot get to the config user interface. Sorry I had been through the posts and I had seen this debug_mode mentioned before, but I didn't understand what it meant until just now. Sorry I can be kind of thick sometimes.

This is the new error message I'm getting:

Template error
Failed to find block 'output_buffer'(#(<!-- BEGIN output_buffer -->)(.*?)(<!-- END output_buffer -->)#s) in :

        <tr>
                <td class="tableb" align="center">
                        <font size="3"><b>{MESSAGE}</b></font>
<!-- BEGIN file_line -->
                        <br />
                        <br />
                        {FILE_TXT}{FILE} - {LINE_TXT}{LINE}
<!-- END file_line -->

                        <br /><br />
                </td>
        </tr>

Joachim Müller

fix your custom theme then, or temporarily use one that comes with cpg1.4.x

Leto1281

That makes sense, I was using a custom theme before we lost everything. How do I change it to one of the standard themes if I can't get into Coppermine to configure anything? Are there files in Coppermine that I can alter, that would do the same thing? Thanks so far for all your help!

Nibbler

Append ?theme=classic to your url to temp switch for you. You current error is

mySQL error: Can't open file: 'Copperminepictures.MYI' (errno: 144)

MySQL error code 144: Table is crashed and last repair failed

I suggest you contact your webhost for support.

Leto1281

Quote from: Nibbler on March 28, 2006, 09:24:04 PM
Append ?theme=classic to your url to temp switch for you. You current error is

mySQL error: Can't open file: 'Copperminepictures.MYI' (errno: 144)

MySQL error code 144: Table is crashed and last repair failed

I suggest you contact your webhost for support.

Thank you everyone for your efforts, however I'm throwing in the towel. As far as I can see there isn't anything wrong with the database or its tables. I've switched it back to the new database, it's not the end of the world. Once again thank you for your time!

Renee :)