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
(
- => 255
[1] => 253
[2] => 251
[3] => 277
[4] => 307
)
)
==========================
USER DATA:
------------------
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
(
- => 1
[1] => 3
[2] => 4
[3] => 2
)
)
==========================
Queries:
------------------
Array
(
- => SELECT extension, mime, content FROM cpg132_filetypes;
[1] => SELECT * FROM cpg132_users WHERE user_id='2'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = 'e10adc3949ba59abbe56e057f20f883e'
[2] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as priv_upl_need_approval FROM cpg132_usergroups WHERE group_id in (1,3,4,2)
[3] => SELECT group_name FROM cpg132_usergroups WHERE group_id= 2
[4] => DELETE FROM cpg132_banned WHERE expiry < 1144766082
[5] => SELECT * FROM cpg132_banned WHERE ip_addr='86.198.48.25' OR ip_addr='86.198.48.25' OR user_id=2
[6] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = '' ORDER BY pos
[7] => SELECT aid FROM cpg132_albums WHERE category = 4
[8] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 4
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version: 4.3.10 - OK
------------------
mySQL version: 5.0.19
------------------
Coppermine version: 1.3.2
==========================
Module: gd
------------------
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
==========================
Module: mysql
------------------
Active Links 1
Client API version 5.0.19
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/mysql/include/mysql
MYSQL_LIBS -L/usr/mysql/lib/mysql -lmysqlclient
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | On | On
disable_functions | no value | no value
file_uploads | On | On
include_path | /var/www/free.fr/6/4/bbtc/include:. | .
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 2M | 2M
==========================
Page generated in 0.951 seconds - 9 queries in 0.065 seconds - Album set :
Repair the table as suggested, use phpmyadmin.
escuse i don't kown repair the table
how do i do?
http://dev.mysql.com/doc/refman/5.1/en/repair.html
sorry i'm new i don't find the table in my gallery
didn't find "cpg132_pictures" ?
non i don't
non i don't
are there a people speak french??
If you need support in french then use the french support board.
http://forum.coppermine-gallery.net/index.php?board=38.0
thanks