coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: DMXiNc on August 31, 2004, 10:19:55 PM

Title: There was an error while processing a database query
Post by: DMXiNc on August 31, 2004, 10:19:55 PM
I keep getting this message after uploading & I also get Cannot write to write file.

Can anybody help me? :)
Title: Re: There was an error while processing a database query
Post by: Joachim Müller on August 31, 2004, 11:22:35 PM
To solve the issue with the database query error, enable debug_mode in coppermine config, replicate the error and post what query actually fails. Also, post a link to your page, together with more details: when exactly do you get what errors, what version of coppermine, php, webserver, operating system do you use etc.?

Joachim
Title: Re: There was an error while processing a database query
Post by: DMXiNc on September 01, 2004, 12:25:58 PM
I fixed it it seems having the ftp open at the same time caused a glitch for some strange reason...
The error kept coming when I chose which album & added the details of the pic then clicked continue it would say either of those 2...
Title: Re: There was an error while processing a database query
Post by: Joachim Müller on September 02, 2004, 06:21:11 AM
I haven't tested this, but maybe the operating system of your webserver does lock the file when you access it with your ftp app, so this sounds logical to me.

Joachim
Title: Re: There was an error while processing a database query
Post by: sandralipham on September 29, 2004, 02:39:05 AM
 I also experienced the same error message today. I batch upload at the beginning of a main album which has 6-7 sub albums.  It batched all the old pix in there too and then it froze.  I have checked all my permissions in that section. My entire web gallery is not visiible anymore.

My link is here:

http://www.jordanchan.org/photos/jewels_of_asia/index.php

Thank in advance for any help.


While executing query "SELECT filepath, filename FROM cpg131_pictures WHERE filepath LIKE 'hongkong-china/male/daniel_wu/danielwu_films/film_oneniteinmongkok%'" on 0

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



USER:
------------------
Array
(
    [ID] => d8a4d9cc12d410426f5708d5dd380e7b
    [am] => 1
    [liv] => Array
        (
           
Title: Re: There was an error while processing a database query
Post by: kegobeer on September 29, 2004, 02:42:18 AM
Your MySQL table "cpg131_pictures" is corrupted.  Do a repair of the table using your Control Panel application or using phpMyAdmin and executing the following sql command: repair table cpg131_pictures
Title: Re: There was an error while processing a database query
Post by: sandralipham on September 29, 2004, 03:32:46 AM
Thank you!!!

Got it fixed.