coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: Bry5012 on April 27, 2009, 03:14:30 AM

Title: Critical Error - while doing a batch upload
Post by: Bry5012 on April 27, 2009, 03:14:30 AM
i searched a little for this and could not find anything that answered my question...so I am posting here.

I was doing a batch upload from my FTP to the gallery and ended up getting this critical error:

"While executing query "SELECT * FROM cpg14x_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 8" on 0

mySQL error: Incorrect key file for table '/tmp/#sql_53a6_1.MYI'; try to repair it"




what do I need to do to fix this and not lose any info from the gallery?
Title: Re: Critical Error - while doing a batch upload
Post by: Fabricio Ferrero on April 27, 2009, 04:12:33 AM
Try to repare the table usgin phpMyAdmin as the error suggested.
Title: Re: Critical Error - while doing a batch upload
Post by: Bry5012 on April 27, 2009, 05:15:41 AM
umm....I honestly don't know how to do that, is there someone that could assist me, please....
Title: Re: Critical Error - while doing a batch upload
Post by: Hein Traag on April 27, 2009, 07:25:26 AM
Ask the hosting company where your site is hosted.
Title: Re: Critical Error - while doing a batch upload
Post by: Bry5012 on April 27, 2009, 04:15:32 PM
sorry to ask this....but why would I ask my hosting company if this is a Coppermine program issue?
Title: Re: Critical Error - while doing a batch upload
Post by: Fabricio Ferrero on April 27, 2009, 04:28:52 PM
Do as suggested please. It's due to a DB problem, so it's not a CPG issue but a Hosting one.
Title: Re: Critical Error - while doing a batch upload
Post by: Hein Traag on April 27, 2009, 04:45:10 PM
As Fabri already explains this concerns a mysql error.. not a coppermine error.

Quote"mySQL error: Incorrect key file for table '/tmp/#sql_53a6_1.MYI'; try to repair it"

Hence you have to either repair it yourself using phpmyadmin or have your host do it.

Cheers
Hein
Title: Re: Critical Error - while doing a batch upload
Post by: Bry5012 on April 27, 2009, 04:51:21 PM
ok...thank you.
Title: Re: Critical Error - while doing a batch upload
Post by: Nibbler on April 27, 2009, 06:09:31 PM
You can't repair it yourself since it's a temporary table. Best you can do is disable the random files block in config.