coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: jb31dtr on August 31, 2007, 05:10:39 AM

Title: Coppermine working fine for months and then just went haywire
Post by: jb31dtr on August 31, 2007, 05:10:39 AM
Starting getting this error last night after months of working great.

"There was an error while processing a database query"

Any help would be greatly appriciated.


USER:
------------------
Array
(
    [ID] => 9e72c60061c45a15be5703919d1e0823
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => jb31dtr
    [groups] => Array
        (
           
Title: Re: Coppermine working fine for months and then just went haywire
Post by: Nibbler on August 31, 2007, 05:12:00 AM
Post the actual MySQL error message.
Title: Re: Coppermine working fine for months and then just went haywire
Post by: jb31dtr on August 31, 2007, 05:20:35 AM
While executing query "SELECT * FROM cpg1411_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 8" on 0

mySQL error: Can't create/write to file '/tmp/#sql_3a2a_0.MYI' (Errcode: 30)
Title: Re: Coppermine working fine for months and then just went haywire
Post by: Nibbler on August 31, 2007, 05:24:25 AM
You'll need to ask your webhost to fix that. As a workaround disable the random pictures section in config ('content of the main page' setting).
Title: Re: Coppermine working fine for months and then just went haywire
Post by: jb31dtr on August 31, 2007, 05:35:17 AM
That sounds like the problem as it occurs as soon as I readd more than one photo.  But under which tab in the config setting can I disable the random photos.
Title: Re: Coppermine working fine for months and then just went haywire
Post by: jb31dtr on August 31, 2007, 05:49:19 AM
Sorry I just looked up on search how to do that and found my answer.  Thanks alot for your help.  I just wish I knew why webhost changed something that affected it.  I was never big on the random photos anyway so will just leave it that way.  Again thanks for the help.