coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: GuusQu on March 03, 2006, 05:58:28 PM

Title: Need some Help with database error!!
Post by: GuusQu on March 03, 2006, 05:58:28 PM
There is some problem with my database. When someone is trying to look at my pictures the following message appeared:
"There was an error while processing a database query " This appeared for every user and when I am not logged in!
Only when I log in with an administrator account everything is OK.

What did I wrong. Nothing has changed. I only uploaded some pictures today. When I checked it, I had this error.
My version of coppermine is 1.4.4,
my database is at: fotobase.quaedvlieg.net

Please help ...
Title: Re: Need some Help with database error!!
Post by: Nibbler on March 03, 2006, 06:55:59 PM
Enable debug mode and post the mysql error message you receive.
Title: Re: Need some Help with database error!!
Post by: GuusQu on March 03, 2006, 07:04:39 PM
This is the message:

While executing query "INSERT INTO cpg11d_hit_stats
                          SET
                            pid = 1402,
                            search_phrase = '',
                            Ip   = '80.126.120.61',
                            sdate = '1141409020',
                            referer='http://fotobase.quaedvlieg.net/index.php',
                            browser = 'Microsoft Internet Explorer 6.0',
                            os = 'Windows XP'" on 0

mySQL error: Can't open file: 'cpg11d_hit_stats.MYD'. (errno: 145)
Title: Re: Need some Help with database error!!
Post by: GuusQu on March 03, 2006, 07:36:22 PM
Quote from: GuusQu on March 03, 2006, 07:04:39 PM
This is the message:

While executing query "INSERT INTO cpg11d_hit_stats
                          SET
                            pid = 1402,
                            search_phrase = '',
                            Ip   = '80.126.120.61',
                            sdate = '1141409020',
                            referer='http://fotobase.quaedvlieg.net/index.php',
                            browser = 'Microsoft Internet Explorer 6.0',
                            os = 'Windows XP'" on 0

mySQL error: Can't open file: 'cpg11d_hit_stats.MYD'. (errno: 145)


When I look in the database it says: "file in use". How can I unlock it?

Title: Re: Need some Help with database error!!
Post by: Nibbler on March 03, 2006, 07:46:11 PM
http://forum.coppermine-gallery.net/index.php?topic=10409.0
Title: Re: Need some Help with database error!!
Post by: GuusQu on March 03, 2006, 08:11:10 PM
Thanks! Problem solved!!