We get a fatal error about once every two days. A repair of the table (cpq45_sessions) fixes it immediately, but its annoying. I'm new to this so no idea what's going on. Here is some info from debug. Any ideas?
USER:
------------------
Array
(
[ID] => 8ac9d1d2e52d7ec5cf7395a57e20b099
[am] => 1
[lang] => english
[liv] => Array
(
)
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 11
[user_name] => coulsoj
[groups] => Array
(
- => 1
)
[disk_max] => 2147483647
[disk_min] => 2147483647
[can_rate_pictures] => 0
[can_send_ecards] => 1
[ufc_max] => 0
[ufc_min] => 0
[custom_user_upload] => 0
[num_file_upload] => 1
[num_URI_upload] => 0
[can_post_comments] => 0
[can_upload_pictures] => 1
[can_create_albums] => 0
[has_admin_access] => 1
[pub_upl_need_approval] => 0
[priv_upl_need_approval] => 0
[group_name] => Administrators
[upload_form_config] => 0
[group_quota] => 2147483647
[can_see_all_albums] => 1
[group_id] => 1
)
==========================
Queries:
------------------
Array
(
- => SELECT extension, mime, content, player FROM cpg145_filetypes; (0.024s)
[1] => select * from cpg145_plugins order by priority asc; (0.005s)
[2] => SELECT * FROM cpg145_bridge (0.002s)
[3] => delete from `imagelib`.cpg145_sessions where time<1249905295 and remember=0; (0.017s)
[4] => delete from `imagelib`.cpg145_sessions where time<1248699295; (0.019s)
[5] => select user_id from `imagelib`.cpg145_sessions where session_id=md5("17a3205b4b01a42101b311bf3561f8e699154fdf6fa11de947d8e7af9661d71e"); (0.001s)
[6] => select user_id as id, user_password as password from `imagelib`.cpg145_users where user_id=11 (0.001s)
[7] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `imagelib`.cpg145_users AS u INNER JOIN `imagelib`.cpg145_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='11' (0.007s)
[8] => SELECT user_group_list FROM `imagelib`.cpg145_users AS u WHERE user_id='11' and user_group_list <> ''; (0.004s)
[9] => 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 cpg145_usergroups WHERE group_id in (1) (0.002s)
[10] => SELECT group_name FROM cpg145_usergroups WHERE group_id= 1 (0.001s)
[11] => update `imagelib`.cpg145_sessions set time='1249908895' where session_id=md5('17a3205b4b01a42101b311bf3561f8e699154fdf6fa11de947d8e7af9661d71e'); (0.001s)
[12] => SELECT user_favpics FROM cpg145_favpics WHERE user_id = 11 (0.001s)
[13] => DELETE FROM cpg145_banned WHERE expiry < '2009-08-10 08:54:55' (0.001s)
[14] => SELECT * FROM cpg145_banned WHERE (ip_addr='137.141.8.14' OR ip_addr='137.141.8.14' OR user_id=11) AND brute_force=0 (0.001s)
[15] => SELECT COUNT(*) FROM cpg145_pictures WHERE approved = 'NO' (0.012s)
[16] => SELECT user_name AS user_name, aid, a.title
FROM cpg145_albums AS a
LEFT JOIN `imagelib`.cpg145_users AS u
ON (category - 10000) = user_id
WHERE category > 10000 (0.018s)
[17] => SELECT aid, title, name FROM cpg145_albums LEFT JOIN cpg145_categories ON cid = category WHERE category < 10000 ORDER BY title (0.004s)
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version: 5.1.4 - OK
------------------
mySQL version: 5.0.22-community-nt
------------------
Coppermine version: 1.4.25(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support:
XBM Support: 1
JIS-mapped Japanese Font Support:
==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.22
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
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 | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .;C:\php5\pear | .;C:\php5\pear
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | no value | no value
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 | 20M | 20M
post_max_size | 10M | 10M
==========================
Page generated in 0.383 seconds - 18 queries in 0.121 seconds - Album set : ; Meta set: ;
Nobody asked for your debug output. You need to talk to your host about the stability of the MySQL server.
sorry I asked. I'll look elsewhere for help.
Yeah, that's what I suggested you to do. It's not a Coppermine issue.