Advanced search  

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

Pages: [1]   Go Down

Author Topic: Failed to find block 'file_line'  (Read 5054 times)

0 Members and 1 Guest are viewing this topic.

Leto1281

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Failed to find block 'file_line'
« on: March 25, 2006, 05:04:00 pm »

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
« Last Edit: March 29, 2006, 08:24:28 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Failed to find block 'file_line'
« Reply #1 on: March 26, 2006, 12:18:13 pm »

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

Leto1281

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Failed to find block 'file_line'
« Reply #2 on: March 26, 2006, 09:37:34 pm »

when accessing your site I get the error messageFix that first.

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

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Failed to find block 'file_line'
« Reply #3 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.
Logged

Leto1281

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Failed to find block 'file_line'
« Reply #4 on: March 27, 2006, 07:28:25 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>
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Failed to find block 'file_line'
« Reply #5 on: March 27, 2006, 07:31:22 am »

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

Leto1281

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Failed to find block 'file_line'
« Reply #6 on: March 28, 2006, 09:21:09 pm »

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!
Logged

Nibbler

  • Guest
Re: Failed to find block 'file_line'
« Reply #7 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.
Logged

Leto1281

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Failed to find block 'file_line'
« Reply #8 on: March 29, 2006, 05:38:10 am »

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 :)
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.