Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Upgraded last week NO PROBLEMS - suddenly TODAY havnig problems!  (Read 4326 times)

0 Members and 1 Guest are viewing this topic.

weinman

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33

Upgraded to 1.4.4 last week, no problems until TODAY.  The gallery starts with an error:
        There was an error while processing a database query.
        While executing query "SELECT * FROM cpg132_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 10" on 0
mySQL error: Got error 28 from table handler

If I choose "last uploads" or any of the other links, the album appears to work fine, but just the "main menu" (/index.php) seems to be giving me trouble.

I ran the "repair" utility on my server's control panel, although there did not appear to be any problems there (just in case) and everything is reported as OK.

Any suggestions???
Pete

The complete debug message follows:

USER:
------------------
Array
(
    [ID] => ce3b6394df3921afe73f390d41e6f66d
    [am] => 1
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => Pete
    [groups] => Array
        (
           
  • => 1

        )

    [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
)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM cpg132_filetypes; (0.001s)

    [1] => select * from cpg132_plugins order by priority asc; (0.001s)
    [2] => delete from `scalesof_album`.cpg132_sessions where time<1142275384 and remember=0; (0.001s)
    [3] => delete from `scalesof_album`.cpg132_sessions where time<1141069384; (0s)
    [4] => select user_id from `scalesof_album`.cpg132_sessions where session_id=md5("5caa51f930416180e79346b9943633711834a0968b3160d23604bf5976eec222"); (0.003s)
    [5] => select user_id as id, user_password as password from `scalesof_album`.cpg132_users where user_id=1 (0s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `scalesof_album`.cpg132_users AS u INNER JOIN `scalesof_album`.cpg132_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `scalesof_album`.cpg132_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
    [8] => 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) (0s)
    [9] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 1 (0s)
    [10] => update `scalesof_album`.cpg132_sessions set time='1142278984' where session_id=md5('5caa51f930416180e79346b9943633711834a0968b3160d23604bf5976eec222'); (0s)
    [11] => SELECT user_favpics FROM cpg132_favpics WHERE user_id = 1 (0.001s)
    [12] => DELETE FROM cpg132_banned WHERE expiry < '2006-03-13 14:43:04' (0s)
    [13] => SELECT * FROM cpg132_banned WHERE (ip_addr='24.136.123.204' OR ip_addr='24.136.123.204' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = ''  ORDER BY pos (0.001s)
    [15] => SELECT aid FROM cpg132_albums as a WHERE category>=10000 (0s)
    [16] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category >= 10000 (0.001s)
    [17] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = '1'  ORDER BY pos (0s)
    [18] => SELECT aid FROM cpg132_albums WHERE category = 20 (0s)
    [19] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 20 (0s)
    [20] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = '20'  ORDER BY pos (0s)
    [21] => SELECT aid FROM cpg132_albums WHERE category = 21 (0s)
    [22] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 21 (0s)
    [23] => SELECT aid FROM cpg132_albums WHERE category = 14 (0s)
    [24] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 14 (0.001s)
    [25] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='3595' (0s)
    [26] => SELECT aid FROM cpg132_albums WHERE category = 13 (0s)
    [27] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 13 (0.001s)
    [28] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='2046' (0s)
    [29] => SELECT aid FROM cpg132_albums WHERE category = 6 (0s)
    [30] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 6 (0s)
    [31] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = '6'  ORDER BY pos (0s)
    [32] => SELECT aid FROM cpg132_albums WHERE category = 15 (0s)
    [33] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 15 (0s)
    [34] => SELECT aid FROM cpg132_albums WHERE category = 16 (0s)
    [35] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 16 (0.001s)
    [36] => SELECT aid FROM cpg132_albums WHERE category = 17 (0s)
    [37] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 17 (0s)
    [38] => SELECT aid FROM cpg132_albums WHERE category = 4 (0s)
    [39] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 4 (0.001s)
    [40] => SELECT count(*) FROM cpg132_albums as a WHERE category = '4' (0s)
    [41] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg132_albums as a LEFT JOIN cpg132_pictures as p ON a.thumb=p.pid WHERE category=4 ORDER BY a.pos LIMIT 0,5 (0s)
    [42] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg132_albums AS a  LEFT JOIN cpg132_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (77, 21, 20, 18, 19)GROUP BY a.aid (0.003s)
    [43] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='4233' (0s)
    [44] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='1089' (0s)
    [45] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='539' (0s)
    [46] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='271' (0s)
    [47] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='290' (0s)
    [48] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = '4'  ORDER BY pos (0s)
    [49] => SELECT aid FROM cpg132_albums WHERE category = 7 (0s)
    [50] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 7 (0.001s)
    [51] => SELECT count(*) FROM cpg132_albums as a WHERE category = '7' (0s)
    [52] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg132_albums as a LEFT JOIN cpg132_pictures as p ON a.thumb=p.pid WHERE category=7 ORDER BY a.pos LIMIT 0,9 (0s)
    [53] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg132_albums AS a  LEFT JOIN cpg132_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (8, 12, 15, 29, 34, 35, 36, 40, 41)GROUP BY a.aid (0.003s)
    [54] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='1443' (0s)
    [55] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='3982' (0s)
    [56] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='103' (0s)
    [57] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='393' (0s)
    [58] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='422' (0s)
    [59] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='456' (0s)
    [60] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='611' (0s)
    [61] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='915' (0s)
    [62] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = '7'  ORDER BY pos (0s)
    [63] => SELECT aid FROM cpg132_albums WHERE category = 9 (0s)
    [64] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 9 (0s)
    [65] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = '9'  ORDER BY pos (0.005s)
    [66] => SELECT aid FROM cpg132_albums as a WHERE category = '0' (0s)
    [67] => SELECT count(*) FROM cpg132_albums as a WHERE 1 (0s)
    [68] => SELECT count(*) FROM cpg132_pictures as p LEFT JOIN cpg132_albums as a ON a.aid=p.aid WHERE 1 (0.004s)
    [69] => SELECT count(*) FROM cpg132_comments as c LEFT JOIN cpg132_pictures as p ON c.pid=p.pid LEFT JOIN cpg132_albums as a ON a.aid=p.aid WHERE 1 (0.004s)
    [70] => SELECT count(*) FROM cpg132_categories WHERE 1 (0s)
    [71] => SELECT sum(hits) FROM cpg132_pictures as p LEFT JOIN cpg132_albums as a ON p.aid=a.aid WHERE 1 (0.015s)
    [72] => SELECT COUNT(*) FROM cpg132_pictures WHERE approved = 'NO' (0.004s)
    [73] => SELECT count(*) FROM cpg132_albums as a WHERE category = '0' (0s)
    [74] => SELECT COUNT(*) from cpg132_pictures WHERE approved = 'YES'  (0.003s)
    [75] => SELECT * FROM cpg132_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 10 (0.001s)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.10 - OK
------------------
mySQL version: 4.0.25-standard
------------------
Coppermine version: 1.4.4(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.0.25
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
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 | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
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 | -1 | -1
upload_max_filesize | 2M | 2M
post_max_size | 55M | 55M
==========================
Page generated in 0.181 seconds - 76 queries in 0.056 seconds - Album set : ; Meta set: ;
Logged

Nibbler

  • Guest
Re: Upgraded last week NO PROBLEMS - suddenly TODAY havnig problems!
« Reply #1 on: March 13, 2006, 09:05:47 pm »

Contact your host, error code 28 indicates a lack of disk space.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.