forum.coppermine-gallery.net

Support => Older/other versions => cpg1.3.x Support => Topic started by: amaninneed on March 22, 2005, 09:41:32 pm

Title: CRITICAL ERROR Message
Post by: amaninneed on March 22, 2005, 09:41:32 pm
On all of the pages in my gallery containing images or thumbnails this is the message that I get "There was an error while processing a database query ". How can this be fixed?
Title: Re: CRITICAL ERROR Message
Post by: kegobeer on March 22, 2005, 10:10:42 pm
Enable debug output, then post the actual error message.
Title: Re: CRITICAL ERROR Message
Post by: Lammert on March 23, 2005, 12:21:43 am
Hi there, i've got the same problem on my hands, here's the output of the debug:

USER:
------------------
Array
(
    [ID] => dc54675fdbbc5ff8096b2b5f7c419649
    [am] => 1
    [liv] => Array
        (
            [name] => Sandman
    [search] => ###nathalie
    [lap] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => Sandman
    [user_password] => ********
    [user_lastvisit] => 2005-03-23 00:12:33
    [user_regdate] => 2004-12-08 22:46:51
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [user_favpics] =>
    [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
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
Title: Re: CRITICAL ERROR Message
Post by: kegobeer on March 23, 2005, 01:08:59 am
Post the acutal error message, not the debug output.
Title: Re: CRITICAL ERROR Message
Post by: Lammert on March 23, 2005, 06:10:45 pm
ok, sorry about that, then you must meen this:

While executing query "SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category >= 10000" on 0

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

Title: Re: CRITICAL ERROR Message
Post by: Nibbler on March 23, 2005, 07:43:19 pm
http://forum.coppermine-gallery.net/index.php?topic=10409.0