forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: Irena on January 15, 2016, 02:34:21 pm

Title: Critical error
Post by: Irena on January 15, 2016, 02:34:21 pm
Can you help me?
My Coppermine  page http://www.galerie.chenoaweb.org/ (http://www.galerie.chenoaweb.org/) report an Critical error
An error occurred while processing a database query.
In the database, I found the wrong table an error:

http://tinypic.com/m/j8mq28/2 (http://tinypic.com/m/j8mq28/2)

I do not know what to do. :(
Title: Re: Critical error
Post by: gmc on January 15, 2016, 02:51:19 pm
Please attach pictures rather than link to sites like tinypic... These links often become invalid over time - and thus unable to assist others having same issue...

Typically to address a Critical Error - you need to turn on DEBUG mode (since site can't be accessed - would need to be done manually thru phpMyAdmin or another tool as described in docs...)
http://documentation.coppermine-gallery.net/en/errors.htm (http://documentation.coppermine-gallery.net/en/errors.htm)

But since you already see the crashed table message (I've attached the pic) - you have a good idea of the problem.

This isn't caused by Coppermine - likely your sites MySQL server crashed - and left your table in a state requiring repair.  This is simple to fix from phpMyAdmin.  Issue this SQL while connected to your database:
Code: [Select]
REPAIR TABLE `cpg15x_pictures`;
The manual recommends a backup before repair - but that may not be possible...
Title: Re: Critical error
Post by: Irena on January 15, 2016, 03:16:27 pm
Thank you very much.  My gallery is operational again :D
Title: Re: Critical error
Post by: gmc on January 15, 2016, 03:53:03 pm
You're welcome... Please mark your topic as 'Solved' - button at bottom of page.