SQL Error / Template Error? SQL Error / 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

SQL Error / Template Error?

Started by duffbuffvick, June 19, 2007, 07:57:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

duffbuffvick

I'm having problems with my Coppermine gallery 1.4.x. No files were altered, the database username/hostname/password is all in place, and nothing was even touched (except images added, which were working fine too).

All of a sudden, I get various errors, sometimes different when I go on to the URL. It either gives:

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>



Or a Critical Database error. I know there is a sticky for the block error, but it isn't helping since I can't find BLOCK_ID in the theme and template I am currently using. I don't know if it is a server problem because other galleries on the same server seem to be working fine. I downloaded the template/theme and then re-uploaded it then it gave me a Critical Database error.

Here is the URL if anyone wants to see the problem live: http://hduffworld.com/gallery

Could someone please explain to me how to fix this problem?

Sami

First of all you should enable debug mode
‍I don't answer to PM with support question
Please post your issue to related board

duffbuffvick

^ I can't do that since, I can't even view the gallery. I go to the URL and just get the template error. I don't see anything else. I'm sorry for being a total newbie, but is there a way to enable debug mode without logging in as an admin then? Because, I can't even view the gallery.

Sami

‍I don't answer to PM with support question
Please post your issue to related board

duffbuffvick

Okay, so I repaired all the tables in the database and now the gallery is working fine, except when I log in as an administrator, it still gives me the same "template error" (though I can't find anything wrong with the template).

Sami

Check theme-upgrade doc since you have custom theme and you said (by PM) that you've upgraded from very old version
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

...and don't PM devs/supporters in the future, but post publicly! >:(