Only admin can upload pics - not guests or registered user Only admin can upload pics - not guests or registered user
 

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

Only admin can upload pics - not guests or registered user

Started by ShairNash, May 28, 2009, 05:12:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ShairNash

this is the debug

USER:
------------------
Array
(
    [ID] => d57419ff373860c335ecea0322ce510c
    [am] => 1
    [lang] => spanish
    [liv] => Array
        (
           
  • => 7
                [1] => 3
            )

    )

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

        [disk_max] => 1024
        [disk_min] => 1024
        [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] => 0
        [has_admin_access] => 0
        [pub_upl_need_approval] => 1
        [priv_upl_need_approval] => 0
        [group_name] => Registered
        [upload_form_config] => 3
        [group_quota] => 1024
        [can_see_all_albums] => 0
        [group_id] => 2
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
        [1] => select * from cpg14x_plugins order by priority asc; (0s)
        [2] => delete from `eklypc_pe`.cpg14x_sessions where time<1243476141 and remember=0; (0s)
        [3] => delete from `eklypc_pe`.cpg14x_sessions where time<1242270141; (0s)
        [4] => select user_id from `eklypc_pe`.cpg14x_sessions where session_id = '1f6a7e4e1ff6cdc9f423854cec2721c0' (0s)
        [5] => select user_id as id, user_password as password from `eklypc_pe`.cpg14x_users where user_id=3 (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 `eklypc_pe`.cpg14x_users AS u INNER JOIN `eklypc_pe`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='3' (0s)
        [7] => SELECT user_group_list FROM `eklypc_pe`.cpg14x_users AS u WHERE user_id='3' 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 cpg14x_usergroups WHERE group_id in (2) (0s)
        [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 2 (0s)
        [10] => update `eklypc_pe`.cpg14x_sessions set time='1243479741' where session_id = '1f6a7e4e1ff6cdc9f423854cec2721c0' (0s)
        [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 3 (0.001s)
        [12] => DELETE FROM cpg14x_banned WHERE expiry < '2009-05-27 22:02:21' (0s)
        [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='189.174.175.146' OR ip_addr='189.174.175.146' OR user_id=3) AND brute_force=0 (0s)
        [14] => SELECT aid FROM cpg14x_albums WHERE visibility != '0' AND visibility !='10003' AND visibility NOT IN (2) (0s)
        [15] => SELECT aid, title FROM cpg14x_albums WHERE category < 10000 AND uploads='YES' AND (visibility = '0' OR visibility IN (2)) ORDER BY title (0.001s)
        [16] => SELECT aid, title FROM cpg14x_albums WHERE category='10003' ORDER BY title (0s)
    )

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

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

    ==========================
    Page generated in 0.145 seconds - 17 queries in 0.002 seconds - Album set : ; Meta set: ;

    what should i do? help, please!

Joachim Müller

Quote from: ShairNash on May 28, 2009, 05:12:18 AM
this is the debug
Who asked for debug_output?

Quote from: ShairNash on May 28, 2009, 05:12:18 AM
what should i do? help, please!
Why don't you post what you problem is. Reading board rules before posting won't help neither.