Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: It stopped working, help  (Read 5186 times)

0 Members and 1 Guest are viewing this topic.

noeliakaos

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
It stopped working, help
« on: March 01, 2006, 02:09:23 pm »

This is my site: http://gconline.gc.funpic.de

When i go to the home page i get this: While executing query "SELECT * FROM cpg140_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 10" on 0

mySQL error: Got error 28 from table handler


And this:


USER:
------------------
Array
(
    [ID] => 5350a46749eacebc64f930596b259e69
    [am] => 1
    [lang] => spanish
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => Noix
    [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] => 10
    [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 cpg140_filetypes; (0.044s)
  • [1] => select * from cpg140_plugins order by priority asc; (0s)
        [2] => delete from `gconline`.cpg140_sessions where time<1141214829 and remember=0; (0.01s)
        [3] => delete from `gconline`.cpg140_sessions where time<1140008829; (0.001s)
        [4] => select user_id from `gconline`.cpg140_sessions where session_id=md5("b32ddb2ef0eb29b36480262ea6417c6500da356ddcfaf7861aee6636e9aa08fa"); (0.001s)
        [5] => select user_id as id, user_password as password from `gconline`.cpg140_users where user_id=1 (0.001s)
        [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 `gconline`.cpg140_users AS u INNER JOIN `gconline`.cpg140_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
        [7] => SELECT user_group_list FROM `gconline`.cpg140_users AS u WHERE user_id='1' and user_group_list <> ''; (0.001s)
        [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 cpg140_usergroups WHERE group_id in (1) (0.001s)
        [9] => SELECT group_name FROM  cpg140_usergroups WHERE group_id= 1 (0s)
        [10] => update `gconline`.cpg140_sessions set time='1141218429' where session_id=md5('b32ddb2ef0eb29b36480262ea6417c6500da356ddcfaf7861aee6636e9aa08fa'); (0s)
        [11] => SELECT user_favpics FROM cpg140_favpics WHERE user_id = 1 (0.024s)
        [12] => DELETE FROM cpg140_banned WHERE expiry < '2006-03-01 13:07:09' (0.014s)
        [13] => SELECT * FROM cpg140_banned WHERE (ip_addr='200.122.51.89' OR ip_addr='200.122.51.89' OR user_id=1) AND brute_force=0 (0s)
        [14] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = ''  ORDER BY pos (0s)
        [15] => SELECT aid FROM cpg140_albums WHERE category = 2 (0s)
        [16] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 2 (0.001s)
        [17] => SELECT count(*) FROM cpg140_albums as a WHERE category = '2' (0s)
        [18] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg140_albums as a LEFT JOIN cpg140_pictures as p ON a.thumb=p.pid WHERE category=2 ORDER BY a.pos LIMIT 0,6 (0.001s)
        [19] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg140_albums AS a  LEFT JOIN cpg140_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (20, 21, 22, 23, 24, 25)GROUP BY a.aid (0.008s)
        [20] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '2'  ORDER BY pos (0s)
        [21] => SELECT aid FROM cpg140_albums as a WHERE category>=10000 (0s)
        [22] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category >= 10000 (0s)
        [23] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '1'  ORDER BY pos (0s)
        [24] => SELECT aid FROM cpg140_albums WHERE category = 8 (0s)
        [25] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 8 (0s)
        [26] => SELECT count(*) FROM cpg140_albums as a WHERE category = '8' (0s)
        [27] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg140_albums as a LEFT JOIN cpg140_pictures as p ON a.thumb=p.pid WHERE category=8 ORDER BY a.pos LIMIT 0,2 (0s)
        [28] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg140_albums AS a  LEFT JOIN cpg140_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (18, 19)GROUP BY a.aid (0.001s)
        [29] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg140_pictures WHERE pid='147' (0s)
        [30] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '8'  ORDER BY pos (0s)
        [31] => SELECT aid FROM cpg140_albums WHERE category = 3 (0s)
        [32] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 3 (0s)
        [33] => SELECT count(*) FROM cpg140_albums as a WHERE category = '3' (0.002s)
        [34] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg140_albums as a LEFT JOIN cpg140_pictures as p ON a.thumb=p.pid WHERE category=3 ORDER BY a.pos LIMIT 0,1 (0.001s)
        [35] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg140_albums AS a  LEFT JOIN cpg140_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (26)GROUP BY a.aid (0s)
        [36] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg140_pictures WHERE pid='262' (0s)
        [37] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '3'  ORDER BY pos (0s)
        [38] => SELECT aid FROM cpg140_albums WHERE category = 4 (0s)
        [39] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 4 (0.001s)
        [40] => SELECT count(*) FROM cpg140_albums as a WHERE category = '4' (0s)
        [41] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg140_albums as a LEFT JOIN cpg140_pictures as p ON a.thumb=p.pid WHERE category=4 ORDER BY a.pos LIMIT 0,12 (0.001s)
        [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 cpg140_albums AS a  LEFT JOIN cpg140_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (48, 47, 46, 45, 44, 42, 39, 40, 41, 38, 36, 37)GROUP BY a.aid (0.002s)
        [43] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg140_pictures WHERE pid='1157' (0.025s)
        [44] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg140_pictures WHERE pid='1150' (0s)
        [45] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg140_pictures WHERE pid='1106' (0s)
        [46] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg140_pictures WHERE pid='1074' (0s)
        [47] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg140_pictures WHERE pid='1000' (0s)
        [48] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg140_pictures WHERE pid='1032' (0s)
        [49] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg140_pictures WHERE pid='1030' (0s)
        [50] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg140_pictures WHERE pid='993' (0s)
        [51] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg140_pictures WHERE pid='990' (0s)
        [52] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg140_pictures WHERE pid='723' (0s)
        [53] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '4'  ORDER BY pos (0s)
        [54] => SELECT aid FROM cpg140_albums WHERE category = 6 (0s)
        [55] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 6 (0s)
        [56] => SELECT count(*) FROM cpg140_albums as a WHERE category = '6' (0.002s)
        [57] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg140_albums as a LEFT JOIN cpg140_pictures as p ON a.thumb=p.pid WHERE category=6 ORDER BY a.pos LIMIT 0,5 (0.001s)
        [58] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg140_albums AS a  LEFT JOIN cpg140_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (1, 2, 3, 5, 4)GROUP BY a.aid (0.001s)
        [59] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg140_pictures WHERE pid='9' (0s)
        [60] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg140_pictures WHERE pid='14' (0s)
        [61] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '6'  ORDER BY pos (0s)
        [62] => SELECT aid FROM cpg140_albums WHERE category = 9 (0s)
        [63] => SELECT count(*) FROM cpg140_pictures as p, cpg140_albums as a WHERE p.aid = a.aid AND category = 9 (0s)
        [64] => SELECT count(*) FROM cpg140_albums as a WHERE category = '9' (0s)
        [65] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg140_albums as a LEFT JOIN cpg140_pictures as p ON a.thumb=p.pid WHERE category=9 ORDER BY a.pos LIMIT 0,1 (0s)
        [66] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg140_albums AS a  LEFT JOIN cpg140_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (43)GROUP BY a.aid (0s)
        [67] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg140_pictures WHERE pid='1067' (0s)
        [68] => SELECT cid, name, description, thumb FROM cpg140_categories WHERE parent = '9'  ORDER BY pos (0s)
        [69] => SELECT aid FROM cpg140_albums as a WHERE category = '0' (0s)
        [70] => SELECT count(*) FROM cpg140_albums as a WHERE 1 (0s)
        [71] => SELECT count(*) FROM cpg140_pictures as p LEFT JOIN cpg140_albums as a ON a.aid=p.aid WHERE 1 (0.001s)
        [72] => SELECT count(*) FROM cpg140_comments as c LEFT JOIN cpg140_pictures as p ON c.pid=p.pid LEFT JOIN cpg140_albums as a ON a.aid=p.aid WHERE 1 (0.019s)
        [73] => SELECT count(*) FROM cpg140_categories WHERE 1 (0s)
        [74] => SELECT sum(hits) FROM cpg140_pictures as p LEFT JOIN cpg140_albums as a ON p.aid=a.aid WHERE 1 (0.005s)
        [75] => SELECT COUNT(*) FROM cpg140_pictures WHERE approved = 'NO' (0.001s)
        [76] => SELECT count(*) FROM cpg140_albums as a WHERE category = '0' (0s)
        [77] => SELECT COUNT(*) from cpg140_pictures WHERE approved = 'YES'  (0.001s)
        [78] => SELECT * FROM cpg140_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 10 (0.006s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.1 - OK
    ------------------
    mySQL version: 4.0.26-standard-log
    ------------------
    Coppermine version: 1.4.2(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: 1

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    Client API version 4.0.26
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /tmp/mysql.sock
    MYSQL_INCLUDE -I/usr/local/mysql/include
    MYSQL_LIBS -L/usr/local/mysql/lib -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.2.2.2
    Linked Version 1.2.2.2
    ==========================
    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 | fsockopen,pfsockopen,proc_open,proc_nice,proc_terminate,proc_close,proc_get_status,shell_exec,exec,passthru,system,popen,highlight_file,diskfreespace,disk_free_space,disk_total_space,show_source,php_uname,ini_alter,ini_restore,ini_set,getrusage,get_current_user,set_time_limit,getmyuid,getmypid,dl,leak | fsockopen,pfsockopen,proc_open,proc_nice,proc_terminate,proc_close,proc_get_status,shell_exec,exec,passthru,system,popen,highlight_file,diskfreespace,disk_free_space,disk_total_space,show_source,php_uname,ini_alter,ini_restore,ini_set,getrusage,get_current_user,set_time_limit,getmyuid,getmypid,dl,leak
    file_uploads | On | On
    include_path | .: | .: |  |
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value |  |  |  |  |  |  |  |
    ==========================
    Size and Time
    ------------------
    Directive | Local Value | Master Value
    max_execution_time | 10 | 10
    max_input_time | 30 | 30
    upload_max_filesize | 1550K | 1550K
    post_max_size | 1550K | 1550K
    ==========================
    Page generated in 0.371 seconds - 79 queries in 0.178 seconds - Album set : ; Meta set: ;
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.