forum.coppermine-gallery.net

Support => Older/other versions => cpg1.3.x Support => Topic started by: bbtc on April 11, 2006, 04:37:45 pm

Title: There was an error while processing a database query.
Post by: bbtc on April 11, 2006, 04:37:45 pm
escuse me for my english i'm bad
i have a problem with my gallery

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

mySQL error: Table './bbtc/cpg132_pictures' is marked as crashed and should be repaired



Fichier: /var/www/free.fr/6/4/bbtc/nouveau_site/site/cpg/include/functions.inc.php - Ligne: 105



(
    [ID] => a2f0584090366ab7b5c8a003e1aef618
    [am] => 1
    [liv] => Array
        (
            [user_id] => 2
    [user_group] => 2
    [user_active] => YES
    [user_name] => bbtc
    [user_password] => ********
    [user_lastvisit] => 2006-04-11 15:38:04
    [user_regdate] => 2005-05-30 17:55:58
    [user_group_list] => 1,3,4
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [disk_max] => 1024
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 0
    [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] => 1
    [group_name] => Registered
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 2
    [groups] => Array
        (
           
Title: Re: There was an error while processing a database query.
Post by: Nibbler on April 11, 2006, 05:27:14 pm
Repair the table as suggested, use phpmyadmin.
Title: Re: There was an error while processing a database query.
Post by: bbtc on April 11, 2006, 11:53:01 pm
escuse i don't kown repair the table
how do i do?
Title: Re: There was an error while processing a database query.
Post by: Joachim Müller on April 12, 2006, 07:49:00 am
http://dev.mysql.com/doc/refman/5.1/en/repair.html
Title: Re: There was an error while processing a database query.
Post by: bbtc on April 12, 2006, 10:33:45 am
sorry i'm new i don't find the table in my gallery
Title: Re: There was an error while processing a database query.
Post by: Sami on April 12, 2006, 10:37:58 am
didn't find "cpg132_pictures" ?
Title: Re: There was an error while processing a database query.
Post by: bbtc on April 12, 2006, 11:33:24 am
non i don't
Title: Re: There was an error while processing a database query.
Post by: bbtc on April 12, 2006, 12:18:16 pm
non i don't
are there a people speak french??
Title: Re: There was an error while processing a database query.
Post by: Nibbler on April 12, 2006, 03:44:27 pm
If you need support in french then use the french support board.

http://forum.coppermine-gallery.net/index.php?board=38.0
Title: Re: There was an error while processing a database query.
Post by: bbtc on April 12, 2006, 03:51:08 pm
thanks