forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: strokesfan on February 11, 2005, 02:45:10 am

Title: Gallery not working
Post by: strokesfan on February 11, 2005, 02:45:10 am
I hadn't been to my gallery in weeks and I finally go to it and it says:

There was an error while processing a database query.

Then I put it in debug mode and it said this:
While executing query "SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND category >= 10000" on 0

mySQL error: Can't open file: 'cpg_pictures.MYI'. (errno: 145)

Can anyone help? Thanks :)
Title: Re: Gallery not working
Post by: Tranz on February 11, 2005, 02:52:26 am
http://forum.coppermine-gallery.net/index.php?topic=10409.0

For future reference, plase search on error messages as it is likely others have encountered the same thing.
Title: Re: Gallery not working
Post by: strokesfan on February 11, 2005, 03:29:27 am
how do I know what my table name is?
Title: Re: Gallery not working
Post by: Tranz on February 11, 2005, 03:38:08 am
from your error message: cpg_pictures

Hope that helps.
Title: Re: Gallery not working
Post by: strokesfan on February 11, 2005, 03:57:13 am
thanks it worked!
Title: Re: Gallery not working
Post by: Tranz on February 11, 2005, 04:04:43 am
Good to hear. Thanks for letting us know.