ERROR in template ERROR in template
 

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

ERROR in template

Started by hyppie, June 12, 2008, 03:45:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hyppie

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>


steveeh131047

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!


hyppie

 :-\ 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 ?

steveeh131047

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.

Stramm

... and post a link to your site


Nibbler

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.