forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: Dima on February 05, 2018, 01:40:33 pm

Title: Critical Error. An error occurred while accessing the database
Post by: Dima on February 05, 2018, 01:40:33 pm
Hello!

Yesterday, i was workin in my gallery (ladygaga.ru/gallery) and everything was fine, today there is an error "Critical Error. An error occurred while accessing the database". Why? How can i fix this?
Title: Re: Critical Error. An error occurred while accessing the database
Post by: gmc on February 09, 2018, 03:16:25 pm
Your gallery appears to be working - so I assume you found/fixed the issue...
For 'next time' - follow the instructions here to enable debug:
http://documentation.coppermine-gallery.net/en/errors.htm#errors_fatal (http://documentation.coppermine-gallery.net/en/errors.htm#errors_fatal)

With debug on - CPG provides more detailed error messages that will point you to the issue.  Table needing repair is an example that can result in this - but let the message guide you.
The above instructions include how to turn on debug manually (outside of CPG dialogs) - as the dialog may not be available to you as result of the error.