forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upgrading => Topic started by: moonflower102 on May 28, 2013, 03:30:19 pm

Title: Coppermine gallery not running after debug
Post by: moonflower102 on May 28, 2013, 03:30:19 pm
My gallery is http://showbizpak.com/gallery/

I m getting this error after doing debug... I have changed the setting from 1 to 0 but still get this message.. I have reinstalled the gallery but still getting this error. please help before doing the debug I was getting database error

Template error
Failed to find block 'file_line' (#<!-- BEGIN file_line -->(.*?)<!-- END file_line -->#s) in :
                    <div class="{CSS_CLASS}">
                        <h2>{HEADER_TXT}</h2>
                        <span class="cpg_user_message">{MESSAGE}</span>


                        <br /><br />
                    </div>
Title: Re: Coppermine gallery not running after debug
Post by: phill104 on May 28, 2013, 04:05:44 pm
All I am seeing on your site at the moment is a database error. Can you enable debug so we can see the error you are getting.
Title: Re: Re: Coppermine gallery not running after debug
Post by: moonflower102 on May 28, 2013, 04:31:45 pm
All I am seeing on your site at the moment is a database error. Can you enable debug so we can see the error you are getting.

ok i have enabled the debug mode
Title: Re: Coppermine gallery not running after debug
Post by: phill104 on May 28, 2013, 04:58:20 pm
From your debug output

Code: [Select]
mySQL error: Table './showbizp_copp1/cpg_pictures' is marked as crashed and should be repaired

Which means you need to either fix that table or restore it from a backup.
Title: Re: Re: Coppermine gallery not running after debug
Post by: moonflower102 on May 28, 2013, 05:21:15 pm
From your debug output

Code: [Select]
mySQL error: Table './showbizp_copp1/cpg_pictures' is marked as crashed and should be repaired

Which means you need to either fix that table or restore it from a backup.

How do I fix this table.. I don't think i have backup
Title: Re: Coppermine gallery not running after debug
Post by: phill104 on May 28, 2013, 08:43:36 pm
If you have phpmyadmin then there is a repair option which may or may not work. Please take a backup of your database before you do any work on it.