coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: hyppie on June 12, 2008, 03:45:48 PM

Title: ERROR in template
Post by: hyppie on June 12, 2008, 03:45:48 PM
what do I need to do to fix this, whenever i tried to open my Gallery, it give me this error, please  help!!!!



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>

Title: Re: ERROR in template
Post by: steveeh131047 on June 12, 2008, 04:15:09 PM
Looks like you may have copied something from themes/sample/theme.php into themes/mytheme/theme.php and lost some comment lines. It's important you keep the comment lines in!
Title: Re: ERROR in template
Post by: Nibbler on June 12, 2008, 04:18:11 PM
Enable debug mode

http://coppermine-gallery.net/tutorial/debug_mode.php
Title: Re: ERROR in template
Post by: hyppie on June 13, 2008, 10:34:10 AM
 :-\ i have do the rebug_mod as in the tutorial, but when i return back to my Gallery, it's still show me the same error screen as i posted above ...  ???  ???

steveeh131047 .. I didn't do anything or fix anything in the Gallery since installation, .. you know how i can add those lost comment lines back ?
Title: Re: ERROR in template
Post by: steveeh131047 on June 13, 2008, 12:48:46 PM
I guessed you might have copied some themes/sample/theme.php code into a theme of your own, and that you had edited it - obviously I was WRONG!

Ignore my suggestion and follow Nibbler's advice.
Title: Re: ERROR in template
Post by: Stramm on June 13, 2008, 02:47:54 PM
... and post a link to your site
Title: Re: ERROR in template
Post by: hyppie on June 19, 2008, 11:40:19 AM
http://www.elvinakong.com/gallery/index.php

:-\  ???  :-\
Title: Re: ERROR in template
Post by: Nibbler on June 19, 2008, 11:50:55 AM
Try to repair the table (http://forum.coppermine-gallery.net/index.php/topic,10409.0.html). If that doesn't work then ask your host. If they can't help you might need to restore from a backup.