forum.coppermine-gallery.net

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
        (
           
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
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.