forum.coppermine-gallery.net

Support => Older/other versions => cpg1.3.x Support => Topic started by: heyyoukidd on November 07, 2005, 01:59:14 pm

Title: Critical error
Post by: heyyoukidd on November 07, 2005, 01:59:14 pm
For the last 4 days all the databases under my hosts account have been down and I think it did something to my gallery because now all I see is "Critical error" where the album list should be. I read in another post to put it on debug mode and I got this message:

There was an error while processing a database query.
While executing query "SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg135_pictures WHERE aid IN (23) AND approved = 'YES' GROUP BY aid" on 0

mySQL error: Got error 127 from table handler

And then another message saying to post this if I was going to ask for help on the forums:
USER:
------------------
Array
(
    [ID] => 6f24d00df379fa46aa3b9d9fc4153f9f
    [am] => 1
    [liv] => Array
        (
            [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => jenniffer
    [user_password] => ********
    [user_lastvisit] => 2005-10-31 18:22:15
    [user_regdate] => 2005-09-30 22:46:51
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [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
Post by: Nibbler on November 07, 2005, 02:01:11 pm
It's a problem with your database. Run a repair using phpmyadmin or contact your host.
Title: Re: Critical error
Post by: heyyoukidd on November 07, 2005, 02:03:13 pm
What do I do in php admin?
Title: Re: Critical error
Post by: heyyoukidd on November 07, 2005, 02:11:49 pm
Nevermind it's fixed now