coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: yeppe on February 20, 2007, 10:56:26 PM

Title: Template error - 'file_line'
Post by: yeppe on February 20, 2007, 10:56:26 PM
Suddenly, without any changes from med, I got this message when I try to watch my gallery.
How do I fix this?

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>



I have tried to search for a sulution....
Title: Re: Template error - 'file_line'
Post by: yeppe on February 20, 2007, 11:14:16 PM
I missed som information (can't see any "edit"-button?)...

The CPG is bridged to phpBB2. If I log out from phpBB2 i can see the startpage of CPG. It says there is a critical error connecting to database. No albums/pircures etc. If I log in at phpBB2 I get the message in my earlier post.
Title: Re: Template error - 'file_line'
Post by: Joachim Müller on February 22, 2007, 08:10:56 AM
Post a link to your gallery for a start.
Title: Re: Template error - 'file_line'
Post by: yeppe on February 22, 2007, 10:53:02 AM
Of course!
http://www.geckoguiden.com/pics/

If ou need it, link to the forum is:
http://www.geckoguiden.com/phpBB2/
Title: Re: Template error - 'file_line'
Post by: Nibbler on February 22, 2007, 12:22:53 PM
You are using 1.4.4 - update!
Title: Re: Template error - 'file_line'
Post by: yeppe on March 19, 2007, 06:44:40 PM
Quote from: Nibbler on February 22, 2007, 12:22:53 PM
You are using 1.4.4 - update!
Done!
Byt same error  :( More ideas?
Title: Re: Template error - 'file_line'
Post by: Joachim Müller on March 19, 2007, 07:07:34 PM
No, a different error - it says
QuoteThere was an error while processing a database query
. Enable debug_mode and post the actual error message (not the debug_output) here. If you can't get into coppermine's config to enable debug_mode there, do as suggested in http://coppermine-gallery.net/tutorial/debug_mode.php
Title: Re: Template error - 'file_line'
Post by: yeppe on March 28, 2007, 09:20:44 PM
I have now enabled the debug mode. http://www.geckoguiden.com/pics/
I don't understand what you mean by "post the actual error message", so please explain. Thanks!
Title: Re: Template error - 'file_line'
Post by: Nibbler on March 28, 2007, 10:41:48 PM
The actual error message is


While executing query "SELECT count(*) FROM pics_pictures as p, pics_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000" on 0

mySQL error: Can't open file: 'pics_pictures.MYI' (errno: 145)


http://forum.coppermine-gallery.net/index.php?topic=10409.0
Title: Re: Template error - 'file_line'
Post by: yeppe on March 28, 2007, 11:53:03 PM
Thanks!
Looks like it works now!