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: Hubo un error al procesar la consulta (Ayuda por favor)  (Read 3403 times)

0 Members and 1 Guest are viewing this topic.

soblue

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Hubo un error al procesar la consulta (Ayuda por favor)
« on: February 12, 2010, 07:15:33 am »

Hola mi galeria ha estado funcionando muy bien desde el 2006, hoy entre y me salio este mensaje de error: HUBO UN ERROR AL PROCESAR LA CONSULTA
mi galeria es esta: http://www.princesadelpop.com/gallery espero que me puedan ayudar

Ya hice lo del debug mode y esto es lo que me sale:
USER:
------------------
Array
(
    [ID] => fbb1e7cd4c9396ca36999aea12e213cc
    [am] => 1
    [lang] => spanish
    [liv] => Array
        (
           
  • => 963
  • [1] => 2674
                [2] => 3124
                [3] => 3119
                [4] => 2499
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
       
[user_id] => 0
    [user_name] => Guest
    [groups] => Array
        (
           
  • => 3

        )

    [group_quota] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [can_post_comments] => 0
    [can_upload_pictures] => 0
    [can_create_albums] => 0
    [pub_upl_need_approval] => 1
    [priv_upl_need_approval] => 1
    [upload_form_config] => 3
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [custom_user_upload] => 0
    [disk_max] => 0
    [disk_min] => 0
    [ufc_max] => 3
    [ufc_min] => 3
    [has_admin_access] => 0
    [group_name] => Guests
    [can_see_all_albums] => 0
    [group_id] => 3
)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM cpg_filetypes; (0s)
  • [1] => select * from cpg_plugins order by priority asc; (0s)
        [2] => delete from `princesa_copp1`.cpg_sessions where time<1265951336 and remember=0; (0.047s)
        [3] => delete from `princesa_copp1`.cpg_sessions where time<1264745336; (0s)
        [4] => select user_id from `princesa_copp1`.cpg_sessions where session_id=md5("685443e4337dc2424fe5e544f26bfa2c930d7f6e4e550f4f026a265e05044995"); (0s)
        [5] => select user_id as id, user_password as password from `princesa_copp1`.cpg_users where user_id=0 (0s)
        [6] => 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 cpg_usergroups WHERE group_id in (3) (0s)
        [7] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 3 (0s)
        [8] => update `princesa_copp1`.cpg_sessions set time='1265954936' where session_id=md5('685443e4337dc2424fe5e544f26bfa2c930d7f6e4e550f4f026a265e05044995'); (0s)
        [9] => DELETE FROM cpg_banned WHERE expiry < '2010-02-12 06:08:57' (0s)
        [10] => SELECT * FROM cpg_banned WHERE (ip_addr='190.41.208.136' OR ip_addr='190.41.208.136' OR user_id=0) AND brute_force=0 (0s)
        [11] => SELECT aid FROM cpg_albums WHERE visibility != '0' AND visibility !='10000' AND visibility NOT IN (3) (0s)
        [12] => SELECT aid FROM cpg_albums (0s)
        [13] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = ''  ORDER BY name (0.021s)
        [14] => SELECT aid FROM cpg_albums WHERE category = 4 (0s)
        [15] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 4 (0.001s)
        [16] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='1528' (0.013s)
        [17] => SELECT count(*) FROM cpg_albums as a WHERE category = '4' (0s)
        [18] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg_albums as a LEFT JOIN cpg_pictures as p ON a.thumb=p.pid WHERE category=4 ORDER BY a.pos LIMIT 0,17 (0.081s)
        [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 cpg_albums AS a  LEFT JOIN cpg_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (228, 208, 219, 203, 196, 183, 158, 155, 141, 124, 84, 16, 17, 80, 15, 14, 79)GROUP BY a.aid (0.042s)
        [20] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='3039' (0s)
        [21] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='2885' (0s)
        [22] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='3005' (0s)
        [23] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='2653' (0.001s)
        [24] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='2342' (0s)
        [25] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='2333' (0s)
        [26] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='1923' (0s)
        [27] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='353' (0s)
        [28] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='367' (0s)
        [29] => SELECT aid FROM cpg_albums WHERE category = 11 (0s)
        [30] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 11 (0s)
        [31] => SELECT aid FROM cpg_albums WHERE category = 26 (0s)
        [32] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 26 (0s)
        [33] => SELECT aid FROM cpg_albums WHERE category = 38 (0s)
        [34] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 38 (0s)
        [35] => SELECT aid FROM cpg_albums WHERE category = 12 (0s)
        [36] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 12 (0s)
        [37] => SELECT aid FROM cpg_albums WHERE category = 3 (0s)
        [38] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 3 (0s)
        [39] => SELECT aid FROM cpg_albums WHERE category = 24 (0s)
        [40] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 24 (0s)
        [41] => SELECT aid FROM cpg_albums as a WHERE category>=10000 (0s)
        [42] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0s)
        [43] => SELECT aid FROM cpg_albums WHERE category = 2 (0s)
        [44] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 2 (0.001s)
        [45] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='2300' (0.022s)
        [46] => SELECT count(*) FROM cpg_albums as a WHERE category = '2' (0s)
        [47] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg_albums as a LEFT JOIN cpg_pictures as p ON a.thumb=p.pid WHERE category=2 ORDER BY a.pos LIMIT 0,21 (0.006s)
        [48] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg_albums AS a  LEFT JOIN cpg_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (1, 3, 121, 4, 12, 20, 13, 8, 5, 9, 10, 7, 6, 18, 19, 11, 111, 115, 2, 114, 179)GROUP BY a.aid (0.005s)
        [49] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='341' (0s)
        [50] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='291' (0.001s)
        [51] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='119' (0s)
        [52] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='184' (0s)
        [53] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='139' (0s)
        [54] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='456' (0s)
        [55] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='1738' (0.001s)
        [56] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='2610' (0s)
        [57] => SELECT aid FROM cpg_albums as a WHERE category = '0' (0s)
        [58] => SELECT count(*) FROM cpg_albums as a WHERE 1 (0s)
        [59] => SELECT count(*) FROM cpg_pictures as p LEFT JOIN cpg_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0.003s)
        [60] => SELECT count(*) FROM cpg_comments as c LEFT JOIN cpg_pictures as p ON c.pid=p.pid LEFT JOIN cpg_albums as a ON a.aid=p.aid WHERE 1 (0s)
        [61] => SELECT count(*) FROM cpg_categories WHERE 1 (0s)
        [62] => SELECT sum(hits) FROM cpg_pictures as p LEFT JOIN cpg_albums as a ON p.aid=a.aid WHERE 1 (0.023s)
        [63] => SELECT count(*) FROM cpg_albums as a WHERE category = '0' (0s)
        [64] => SELECT COUNT(*) from cpg_pictures WHERE approved = 'YES' AND aid IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246)  (0.009s)
        [65] => SELECT * FROM cpg_pictures WHERE approved = 'YES' AND aid IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246)  ORDER BY RAND() LIMIT 8 (0.084s)
    )

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

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

    ==========================
    Page generated in 0.787 seconds - 66 queries in 0.361 seconds - Album set : ; Meta set: AND aid IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246) ;



Logged

Jorup16

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Hubo un error al procesar la consulta (Ayuda por favor)
« Reply #1 on: May 24, 2010, 03:18:47 am »

Como nadie le respondió a este usuario lo hago yo aunque ya pasaron varios meses que preguntó, tal vez algún día otro usuario encuentre la respuesta en este mismo tema.

A mi me pasó lo mismo y lo que hice fue reparar y optimizar la base de datos de la galería desde phpMyAdmin.
Saludos.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.