forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: SeveFanClub on December 09, 2008, 10:24:57 am

Title: Problems on gallery - template error
Post by: SeveFanClub on December 09, 2008, 10:24:57 am
Hy, I invite you to be so generous and help me asap,

i have coppermine gallery at

when loading site i get this message: http://foto.sevefanclub.com/

Code: [Select]
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>

i cant make backups, so please, does anybody know how to solve this problem, and get my gallery back to visible

i think i didn't mess anything with gallery code when problem occured, (only i have put gallery on appear offline) but when i did so last year, i didnt have problem like this
Title: Re: Problems on gallery - template error
Post by: Fabricio Ferrero on December 09, 2008, 12:04:13 pm
Common policies: Don't double-post/cross-post  (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270632.html#msg270632)

There is no need to post the same topic twice.
Title: Re: Problems on gallery - template error
Post by: Nibbler on December 09, 2008, 03:08:13 pm
Enable debug mode and set the gallery online. Can't see anything otherwise.
Title: Re: Problems on gallery - template error
Post by: SeveFanClub on December 09, 2008, 04:25:44 pm
That is the main problem. How can i enter admin part of gallery or anything if i only see that code posted above when opening gallery?
Title: Re: Problems on gallery - template error
Post by: Nibbler on December 09, 2008, 04:54:49 pm
http://coppermine-gallery.net/tutorial/debug_mode.php
Title: Re: Problems on gallery - template error
Post by: SeveFanClub on December 10, 2008, 09:59:35 am
thank you for wishing me to help

i've put it on value "1" meaning ive set up debug mode on

what to do now??

this is link to gallery

foto.sevefanclub.com or www.sevefanclub.com/foto
Title: Re: Problems on gallery - template error
Post by: SeveFanClub on December 10, 2008, 10:01:44 am
btw. i managed too see gallery (not that annoying code) and logged in, but after "continue" browser opened that code on blank screen again:
Code: [Select]
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>

Title: Re: Problems on gallery - template error
Post by: François Keller on December 10, 2008, 10:07:21 am
from the source of your page:
Quote
<!--Coppermine Photo Gallery 1.4.12 (stable)-->
update to cpg1.4.19 for a start.
Do you have plufgins or mods on your gallery?
Title: Re: Problems on gallery - template error
Post by: SeveFanClub on December 10, 2008, 10:08:35 am
I have altered design for my gallery? background, icons, logo at the top (header) etc.

how can i spare it from erasing when upgrading to higher version??
Title: Re: Problems on gallery - template error
Post by: SeveFanClub on December 10, 2008, 10:09:26 am
and please tell me how to upgrade since i've heard you don't like it when it's done over fantastico
Title: Re: Problems on gallery - template error
Post by: François Keller on December 10, 2008, 10:23:31 am
read the doc http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upgrade (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upgrade)
Title: Re: Problems on gallery - template error
Post by: SeveFanClub on December 10, 2008, 11:57:50 am
tnx, but how can i upgrade and not lose design of gallery?
Title: Re: Problems on gallery - template error
Post by: François Keller on December 10, 2008, 12:01:19 pm
it's in the doc. Don't erase and update your theme files
Title: Re: Problems on gallery - template error
Post by: Hein Traag on December 10, 2008, 12:56:16 pm
The reason (most likely) for you being behind on version is Fantastico. It is not all that fantasico as it says it is. Better to manually manage your cpg instead of through a automated option.
Title: Re: Problems on gallery - template error
Post by: SeveFanClub on December 11, 2008, 10:13:22 am
it's in the doc. Don't erase and update your theme files

what about themes folder?
Title: Re: Problems on gallery - template error
Post by: phill104 on December 11, 2008, 10:32:11 am
You can keep the folder and remove any themes you are not using. Make sure your custom theme has it's own unique name so as not to be overwritten by the new files.
Title: Re: Problems on gallery - template error
Post by: SeveFanClub on December 11, 2008, 10:37:13 am
i didnt make my custom theme (my designer, that is now not avalieble)

just for curiousity, if i dont erase themes folder, and theme folder in docs, how can it be overwritten?
Title: Re: Problems on gallery - template error
Post by: SeveFanClub on December 11, 2008, 12:01:37 pm
guys at my hosting firm found out the problem was in cpg_pictures table

now is everything fixed
still im afraid of doing upgrade so i don't loose my design cos my designer doesn't have time to do it one more time
Title: Re: Problems on gallery - template error
Post by: François Keller on December 11, 2008, 01:07:12 pm
if you do exactly as decribe in the docs, there is no risk to loose your desing.