Problems on gallery - template error Problems on gallery - template error
 

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]

Main Menu

Problems on gallery - template error

Started by SeveFanClub, December 09, 2008, 10:24:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SeveFanClub

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/

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

Fabricio Ferrero

Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Nibbler

Enable debug mode and set the gallery online. Can't see anything otherwise.

SeveFanClub

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?


SeveFanClub

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

SeveFanClub

btw. i managed too see gallery (not that annoying code) and logged in, but after "continue" browser opened that code on blank screen again:
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>



François Keller

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?
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

SeveFanClub

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

SeveFanClub

and please tell me how to upgrade since i've heard you don't like it when it's done over fantastico

François Keller

Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

SeveFanClub

tnx, but how can i upgrade and not lose design of gallery?

François Keller

it's in the doc. Don't erase and update your theme files
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Hein Traag

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.

SeveFanClub

Quote from: François Keller on December 10, 2008, 12:01:19 PM
it's in the doc. Don't erase and update your theme files

what about themes folder?

phill104

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.
It is a mistake to think you can solve any major problems just with potatoes.

SeveFanClub

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?

SeveFanClub

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

François Keller

if you do exactly as decribe in the docs, there is no risk to loose your desing.
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog