urgently in need of help. urgently in need of help.
 

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]

Main Menu

urgently in need of help.

Started by newbieprecious, October 15, 2009, 12:01:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

newbieprecious


Hi i get this debug message on my page wondering if anyone can help as i am new to this and am in need of urgent help

USER:
------------------
Array
(
    [ID] => 5a9d15828703143b0ed7e4843d06ad3b
    [am] => 1
    [lang] => english
)

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

        [group_quota] => 0
        [can_rate_pictures] => 1
        [can_send_ecards] => 0
        [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] => 0
        [num_file_upload] => 5
        [num_URI_upload] => 3
        [custom_user_upload] => 0
        [disk_max] => 0
        [disk_min] => 0
        [ufc_max] => 0
        [ufc_min] => 0
        [has_admin_access] => 0
        [group_name] => Guests
        [can_see_all_albums] => 0
        [group_id] => 3
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
        [1] => select * from cpg14x_plugins order by priority asc; (0s)
        [2] => delete from `precious_babe`.cpg14x_sessions where time<1255596928 and remember=0; (0s)
        [3] => delete from `precious_babe`.cpg14x_sessions where time<1254390928; (0s)
        [4] => select user_id from `precious_babe`.cpg14x_sessions where session_id = '1306705340130a7ba0a5853221ebb301' (0s)
        [5] => select user_id as id, user_password as password from `precious_babe`.cpg14x_users where user_id=0 (0.001s)
        [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 cpg14x_usergroups WHERE group_id in (3) (0s)
        [7] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 3 (0s)
        [8] => update `precious_babe`.cpg14x_sessions set time='1255600528' where session_id = '1306705340130a7ba0a5853221ebb301' (0s)
        [9] => DELETE FROM cpg14x_banned WHERE expiry < '2009-10-15 05:55:28' (0s)
        [10] => SELECT * FROM cpg14x_banned WHERE (ip_addr='220.255.7.136' OR ip_addr='0.0.0.0' OR user_id=0) AND brute_force=0 (0s)
        [11] => SELECT aid FROM cpg14x_albums WHERE visibility != '0' AND visibility !='10000' AND visibility NOT IN (3) (0s)
        [12] => SELECT aid FROM cpg14x_albums (0s)
        [13] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = ''  ORDER BY pos (0.001s)
        [14] => SELECT aid FROM cpg14x_albums as a WHERE category>=10000 (0s)
        [15] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0s)
        [16] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = '1'  ORDER BY pos (0s)
        [17] => SELECT aid FROM cpg14x_albums WHERE category = 7 (0s)
        [18] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 7 (0s)
        [19] => SELECT count(*) FROM cpg14x_albums as a WHERE category = '7' (0s)
        [20] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_albums as a LEFT JOIN cpg14x_pictures as p ON a.thumb=p.pid WHERE category=7 ORDER BY a.pos LIMIT 0,4 (0s)
        [21] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg14x_albums AS a  LEFT JOIN cpg14x_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (8, 9, 10, 11)GROUP BY a.aid (0s)
        [22] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = '7'  ORDER BY pos (0s)
        [23] => SELECT aid FROM cpg14x_albums WHERE category = 8 (0s)
        [24] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 8 (0s)
        [25] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = '8'  ORDER BY pos (0s)
        [26] => SELECT aid FROM cpg14x_albums as a WHERE category = '0' (0s)
        [27] => SELECT count(*) FROM cpg14x_albums as a WHERE 1 (0s)
        [28] => SELECT count(*) FROM cpg14x_pictures as p LEFT JOIN cpg14x_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0s)
        [29] => SELECT count(*) FROM cpg14x_comments as c LEFT JOIN cpg14x_pictures as p ON c.pid=p.pid LEFT JOIN cpg14x_albums as a ON a.aid=p.aid WHERE 1 (0s)
        [30] => SELECT count(*) FROM cpg14x_categories WHERE 1 (0s)
        [31] => SELECT sum(hits) FROM cpg14x_pictures as p LEFT JOIN cpg14x_albums as a ON p.aid=a.aid WHERE 1 (0s)
        [32] => SELECT count(*) FROM cpg14x_albums as a WHERE category = '0' (0.003s)
        [33] => SELECT * FROM cpg14x_pictures WHERE approved = 'YES' AND aid IN (8,9,10,11)  ORDER BY RAND() LIMIT 8 (0s)
        [34] => SELECT COUNT(*) from cpg14x_pictures WHERE approved = 'YES' AND aid IN (8,9,10,11)  (0s)
        [35] => SELECT * FROM cpg14x_pictures WHERE approved = 'YES' AND aid IN (8,9,10,11)  ORDER BY pid DESC  LIMIT 0 ,8 (0s)
    )

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

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

    ==========================
    Page generated in 0.076 seconds - 36 queries in 0.005 seconds - Album set : ; Meta set: AND aid IN (8,9,10,11) ;

Joachim Müller

Nobody asked for debug_output. Debug_output doesn't mean that there is anything wrong, it just is being displayed if the admin has deliberately enabled that feature in coppermine's config. So if debug_output bothers you, turn it off. You shouldn't have turned in on in the first place if you don't need it.

If you have a real issue, post about the actual issue and not just the debug_output.

And read up board rules (you agreed to respect them when signing up). Among other things you failed to post a link to your gallery although that is mandatory in each support thread.