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: Coppermine Gallery is Template Error  (Read 5048 times)

0 Members and 1 Guest are viewing this topic.

bibijee

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Coppermine Gallery is Template Error
« on: August 21, 2007, 08:41:30 am »

Hi

My coppermine gallery has been running fine for the last year and a half, but today whenever I try to open the web page ( http://photos.raniasplace.com/gallery/ ) it just gives this message:

-------------
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 haven't made any changes to the files. Yesterday I tried to delete a photo from the front end for the first time, it failed to do so and gave the same message as above. But after reloading the page everything was fine again (the photo did not get deleted, though).

My error log is not showing anything.

I have no idea what to do to fix this problem. I would appreciate some help.

Thanks.


Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Coppermine Gallery is Template Error
« Reply #1 on: August 21, 2007, 08:55:29 am »

One (or more) of your files got corrupted. You appear to be running cpg1.4.3, while the most recent version currently is cpg1.4.12, so you're running 9 (!) versions behind. It is absolutely mandatory to upgrade. This may (or may not) solve your issue. If it doesn't, reply after upgrading.
Logged

bibijee

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Coppermine Gallery is Template Error
« Reply #2 on: August 21, 2007, 12:45:23 pm »

Thanks Gau Gau

I have upgraded to 1.4.12cpg but nothing has changed.

My webhosts has recently upgraded from MySQL 4.1 to MySQL 5. Could that have caused the problem?

Anything else I can try to fix the problem?
Logged

Nibbler

  • Guest
Re: Coppermine Gallery is Template Error
« Reply #3 on: August 21, 2007, 03:56:41 pm »

You haven't updated properly. The themes are still 1.4.3 versions.
Logged

bibijee

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Coppermine Gallery gives Template Error
« Reply #4 on: August 21, 2007, 08:10:41 pm »

Sorry, my dumb ops panel always warns while uploading files that files of the same name will be overwritten, but never does.
I will repeat the process after deleting the files first and then let you how it goes.
Thanks.
Logged

bibijee

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Coppermine Gallery gives Template Error
« Reply #5 on: August 21, 2007, 09:10:19 pm »

I did all the right things this time and my coppermine should be updated now.  http://photos.raniasplace.com/gallery/

But it still is not working. The error message has changed and now it says:

-------
Critical error
There was an error while processing a database query
-------

What should I do now?
Thanks.

Logged

Nibbler

  • Guest
Logged

bibijee

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Coppermine Gallery is Template Error
« Reply #7 on: August 21, 2007, 11:30:04 pm »

Thanks Nibbler

The debug mode says:

mySQL error: Table './raniasplacec_coppermine2/cpg_pictures' is marked as crashed and should be repaired


How do I repair that? Thanks.
Logged

Nibbler

  • Guest
Re: Coppermine Gallery is Template Error
« Reply #8 on: August 21, 2007, 11:32:29 pm »

Logged

bibijee

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Coppermine Gallery is Template Error
« Reply #9 on: August 22, 2007, 12:10:43 am »

After running the query I got:

--------------
Error
SQL query: 

SELECT `cpg_pictures`. *
FROM cpg_pictures
LIMIT 0 , 30

MySQL said: 

#145 - Table './raniasplacec_coppermine2/cpg_pictures' is marked as crashed and should be repaired


--------------

What does that mean?
Logged

Nibbler

  • Guest
Re: Coppermine Gallery is Template Error
« Reply #10 on: August 22, 2007, 12:33:46 am »

Just run the query I posted. If you can't fix it yourself then contact your host. It's not a Coppermine issue.
Logged

bibijee

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Coppermine Gallery is Template Error
« Reply #11 on: August 22, 2007, 07:47:41 am »

I will.

Thanks for your help, Nibbler.

Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.