Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: ERROR in template  (Read 3518 times)

0 Members and 1 Guest are viewing this topic.

hyppie

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
ERROR in template
« 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>

Logged

steveeh131047

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Posts: 217
Re: ERROR in template
« Reply #1 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!
Logged

Nibbler

  • Guest
Re: ERROR in template
« Reply #2 on: June 12, 2008, 04:18:11 pm »

Logged

hyppie

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: ERROR in template
« Reply #3 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 ?
Logged

steveeh131047

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Posts: 217
Re: ERROR in template
« Reply #4 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.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: ERROR in template
« Reply #5 on: June 13, 2008, 02:47:54 pm »

... and post a link to your site

hyppie

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: ERROR in template
« Reply #6 on: June 19, 2008, 11:40:19 am »

Logged

Nibbler

  • Guest
Re: ERROR in template
« Reply #7 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.