[Solved]: Access problems when batch uploading [Solved]: Access problems when batch uploading
 

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

[Solved]: Access problems when batch uploading

Started by DonQuijote88, August 09, 2008, 06:07:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DonQuijote88

Welcome!

I have installed a Coppermine Gallery and everything is ok if only I don't batch add pictures. My problem is that when I upload pictures (jpg) to an albums/subfolder and check some to batch add to specified album and Click 'Insert Photos', the photos are not Inserted and I am logged off. I get a message:

QuoteYou don't have permission to see this page.
File: .../httpdocs/searchnew.php - Line: 26

and the debugger shows as follows:

Quote
USER:
------------------
Array
(
    [ID] => 6ea3c601449cd7acb3174751621e3f79
    [am] => 1
    [lang] => polish
)

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

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM gal_filetypes; (0s)
        [1] => select * from gal_plugins order by priority asc; (0s)
        [2] => delete from `gimmarkowa_joomla`.gal_sessions where time<1218293818 and remember=0; (0s)
        [3] => delete from `gimmarkowa_joomla`.gal_sessions where time<1217087818; (0s)
        [4] => SELECT session_id FROM `gimmarkowa_joomla`.gal_sessions WHERE session_id=MD5('60ed3a176eaf23f3b9a5b497282d4366a37e7be9ee3002bf5bde5fa8d50938d9') (0s)
        [5] => insert into `gimmarkowa_joomla`.gal_sessions (session_id, user_id, time, remember) values ("a6821dba640375bb2ef3529890153b1d", 0, "1218297418", 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 gal_usergroups WHERE group_id in (3) (0s)
        [7] => SELECT group_name FROM  gal_usergroups WHERE group_id= 3 (0s)
        [8] => update `gimmarkowa_joomla`.gal_sessions set time='1218297418' where session_id=md5('60ed3a176eaf23f3b9a5b497282d4366a37e7be9ee3002bf5bde5fa8d50938d9'); (0s)
        [9] => DELETE FROM gal_banned WHERE expiry < '2008-08-09 15:56:58' (0s)
        [10] => SELECT * FROM gal_banned WHERE (ip_addr='83.5.86.146' OR ip_addr='83.5.86.146' OR user_id=0) AND brute_force=0 (0s)
        [11] => SELECT aid FROM gal_albums WHERE visibility != '0' AND visibility !='10000' AND visibility NOT IN (3) (0s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
        [insert] => 1
    )

    ==========================
    POST :
    ------------------
    Array
    (
        [d0000] => 4
        [pics] => Array
            (
               
  • => i0000
                [1] => i0001
                [2] => i0002
                [3] => i0003
                [4] => i0004
                [5] => i0005
                [6] => i0006
                [7] => i0007
                [8] => i0008
                [9] => i0009
                [10] => i0010
                [11] => i0011
                [12] => i0012
                [13] => i0013
                [14] => i0014
                [15] => i0015
                [16] => i0016
                [17] => i0017
                [18] => i0018
                [19] => i0019
                [20] => i0020
                [21] => i0021
                [22] => i0022
                [23] => i0023
                [24] => i0024
                [25] => i0025
                [26] => i0026
                [27] => i0027
                [28] => i0028
                [29] => i0029
                [30] => i0030
                [31] => i0031
                [32] => i0032
                [33] => i0033
                [34] => i0034
                [35] => i0035
                [36] => i0036
                [37] => i0037
                [38] => i0038
                [39] => i0039
                [40] => i0040
                [41] => i0041
                [42] => i0042
                [43] => i0043
                [44] => i0044
                [45] => i0045
                [46] => i0046
                [47] => i0047
                [48] => i0048
                [49] => i0049
                [50] => i0050
                [51] => i0051
                [52] => i0052
                [53] => i0053
                [54] => i0054
                [55] => i0055
                [56] => i0056
                [57] => i0057
                [58] => i0058
                [59] => i0059
                [60] => i0060
                [61] => i0061
                [62] => i0062
                [63] => i0063
                [64] => i0064
                [65] => i0065
            )

        [album_lb_id_i0000] => d0000
        [picfile_i0000] => bmFkYW5pZS90bl9JTUdfMDAwMS5qcGc=
        [album_lb_id_i0001] => d0000
        [picfile_i0001] => bmFkYW5pZS90bl9JTUdfMDAwMi5qcGc=
        [album_lb_id_i0002] => d0000
        [picfile_i0002] => bmFkYW5pZS90bl9JTUdfMDAwMy5qcGc=
        [album_lb_id_i0003] => d0000
        [picfile_i0003] => bmFkYW5pZS90bl9JTUdfMDAwNC5qcGc=
        [album_lb_id_i0004] => d0000
        [picfile_i0004] => bmFkYW5pZS90bl9JTUdfMDAwNS5qcGc=
        [album_lb_id_i0005] => d0000
        [picfile_i0005] => bmFkYW5pZS90bl9JTUdfMDAwNi5qcGc=
        [album_lb_id_i0006] => d0000
        [picfile_i0006] => bmFkYW5pZS90bl9JTUdfMDAwNy5qcGc=
        [album_lb_id_i0007] => d0000
        [picfile_i0007] => bmFkYW5pZS90bl9JTUdfMDAxMi5qcGc=
        [album_lb_id_i0008] => d0000
        [picfile_i0008] => bmFkYW5pZS90bl9JTUdfMDAxNC5qcGc=
        [album_lb_id_i0009] => d0000
        [picfile_i0009] => bmFkYW5pZS90bl9JTUdfMDAxNS5qcGc=
        [album_lb_id_i0010] => d0000
        [picfile_i0010] => bmFkYW5pZS90bl9JTUdfMDAxNy5qcGc=
        [album_lb_id_i0011] => d0000
        [picfile_i0011] => bmFkYW5pZS90bl9JTUdfMDAxOC5qcGc=
        [album_lb_id_i0012] => d0000
        [picfile_i0012] => bmFkYW5pZS90bl9JTUdfMDAxOS5qcGc=
        [album_lb_id_i0013] => d0000
        [picfile_i0013] => bmFkYW5pZS90bl9JTUdfMDAyMC5qcGc=
        [album_lb_id_i0014] => d0000
        [picfile_i0014] => bmFkYW5pZS90bl9JTUdfMDAyMS5qcGc=
        [album_lb_id_i0015] => d0000
        [picfile_i0015] => bmFkYW5pZS90bl9JTUdfMDAyMi5qcGc=
        [album_lb_id_i0016] => d0000
        [picfile_i0016] => bmFkYW5pZS90bl9JTUdfMDAyMy5qcGc=
        [album_lb_id_i0017] => d0000
        [picfile_i0017] => bmFkYW5pZS90bl9JTUdfMDAyNC5qcGc=
        [album_lb_id_i0018] => d0000
        [picfile_i0018] => bmFkYW5pZS90bl9JTUdfMDAyNS5qcGc=
        [album_lb_id_i0019] => d0000
        [picfile_i0019] => bmFkYW5pZS90bl9JTUdfMDAyNi5qcGc=
        [album_lb_id_i0020] => d0000
        [picfile_i0020] => bmFkYW5pZS90bl9JTUdfMDAyNy5qcGc=
        [album_lb_id_i0021] => d0000
        [picfile_i0021] => bmFkYW5pZS90bl9JTUdfMDAyOC5qcGc=
        [album_lb_id_i0022] => d0000
        [picfile_i0022] => bmFkYW5pZS90bl9JTUdfMDAyOS5qcGc=
        [album_lb_id_i0023] => d0000
        [picfile_i0023] => bmFkYW5pZS90bl9JTUdfMDAzMC5qcGc=
        [album_lb_id_i0024] => d0000
        [picfile_i0024] => bmFkYW5pZS90bl9JTUdfMDAzMS5qcGc=
        [album_lb_id_i0025] => d0000
        [picfile_i0025] => bmFkYW5pZS90bl9JTUdfMDAzMi5qcGc=
        [album_lb_id_i0026] => d0000
        [picfile_i0026] => bmFkYW5pZS90bl9JTUdfMDAzMy5qcGc=
        [album_lb_id_i0027] => d0000
        [picfile_i0027] => bmFkYW5pZS90bl9JTUdfMDAzNC5qcGc=
        [album_lb_id_i0028] => d0000
        [picfile_i0028] => bmFkYW5pZS90bl9JTUdfMDAzNS5qcGc=
        [album_lb_id_i0029] => d0000
        [picfile_i0029] => bmFkYW5pZS90bl9JTUdfMDAzNi5qcGc=
        [album_lb_id_i0030] => d0000
        [picfile_i0030] => bmFkYW5pZS90bl9JTUdfMDAzNy5qcGc=
        [album_lb_id_i0031] => d0000
        [picfile_i0031] => bmFkYW5pZS90bl9JTUdfMDAzOC5qcGc=
        [album_lb_id_i0032] => d0000
        [picfile_i0032] => bmFkYW5pZS90bl9JTUdfMDAzOS5qcGc=
        [album_lb_id_i0033] => d0000
        [picfile_i0033] => bmFkYW5pZS90bl9JTUdfMDA0MC5qcGc=
        [album_lb_id_i0034] => d0000
        [picfile_i0034] => bmFkYW5pZS90bl9JTUdfMDA0MS5qcGc=
        [album_lb_id_i0035] => d0000
        [picfile_i0035] => bmFkYW5pZS90bl9JTUdfMDA0Mi5qcGc=
        [album_lb_id_i0036] => d0000
        [picfile_i0036] => bmFkYW5pZS90bl9JTUdfMDA0My5qcGc=
        [album_lb_id_i0037] => d0000
        [picfile_i0037] => bmFkYW5pZS90bl9JTUdfMDA0NC5qcGc=
        [album_lb_id_i0038] => d0000
        [picfile_i0038] => bmFkYW5pZS90bl9JTUdfMDA0Ni5qcGc=
        [album_lb_id_i0039] => d0000
        [picfile_i0039] => bmFkYW5pZS90bl9JTUdfMDA0Ny5qcGc=
        [album_lb_id_i0040] => d0000
        [picfile_i0040] => bmFkYW5pZS90bl9JTUdfMDA0OC5qcGc=
        [album_lb_id_i0041] => d0000
        [picfile_i0041] => bmFkYW5pZS90bl9JTUdfMDA0OS5qcGc=
        [album_lb_id_i0042] => d0000
        [picfile_i0042] => bmFkYW5pZS90bl9JTUdfMDA1MC5qcGc=
        [album_lb_id_i0043] => d0000
        [picfile_i0043] => bmFkYW5pZS90bl9JTUdfMDA1MS5qcGc=
        [album_lb_id_i0044] => d0000
        [picfile_i0044] => bmFkYW5pZS90bl9JTUdfMDA1Mi5qcGc=
        [album_lb_id_i0045] => d0000
        [picfile_i0045] => bmFkYW5pZS90bl9JTUdfMDA1My5qcGc=
        [album_lb_id_i0046] => d0000
        [picfile_i0046] => bmFkYW5pZS90bl9JTUdfMDA1NC5qcGc=
        [album_lb_id_i0047] => d0000
        [picfile_i0047] => bmFkYW5pZS90bl9JTUdfMDA1NS5qcGc=
        [album_lb_id_i0048] => d0000
        [picfile_i0048] => bmFkYW5pZS90bl9JTUdfMDA1Ni5qcGc=
        [album_lb_id_i0049] => d0000
        [picfile_i0049] => bmFkYW5pZS90bl9JTUdfMDA1Ny5qcGc=
        [album_lb_id_i0050] => d0000
        [picfile_i0050] => bmFkYW5pZS90bl9JTUdfMDA1OC5qcGc=
        [album_lb_id_i0051] => d0000
        [picfile_i0051] => bmFkYW5pZS90bl9JTUdfMDA1OS5qcGc=
        [album_lb_id_i0052] => d0000
        [picfile_i0052] => bmFkYW5pZS90bl9JTUdfMDA2MC5qcGc=
        [album_lb_id_i0053] => d0000
        [picfile_i0053] => bmFkYW5pZS90bl9JTUdfMDA2MS5qcGc=
        [album_lb_id_i0054] => d0000
        [picfile_i0054] => bmFkYW5pZS90bl9JTUdfMDA2Mi5qcGc=
        [album_lb_id_i0055] => d0000
        [picfile_i0055] => bmFkYW5pZS90bl9JTUdfMDA2My5qcGc=
        [album_lb_id_i0056] => d0000
        [picfile_i0056] => bmFkYW5pZS90bl9JTUdfMDA2NC5qcGc=
        [album_lb_id_i0057] => d0000
        [picfile_i0057] => bmFkYW5pZS90bl9JTUdfMDA2NS5qcGc=
        [album_lb_id_i0058] => d0000
        [picfile_i0058] => bmFkYW5pZS90bl9JTUdfMDA2Ni5qcGc=
        [album_lb_id_i0059] => d0000
        [picfile_i0059] => bmFkYW5pZS90bl9JTUdfMDA2Ny5qcGc=
        [album_lb_id_i0060] => d0000
        [picfile_i0060] => bmFkYW5pZS90bl9JTUdfMDA2OC5qcGc=
        [album_lb_id_i0061] => d0000
        [picfile_i0061] => bmFkYW5pZS90bl9JTUdfMDA2OS5qcGc=
        [album_lb_id_i0062] => d0000
        [picfile_i0062] => bmFkYW5pZS90bl9JTUdfMDA3MC5qcGc=
        [album_lb_id_i0063] => d0000
        [picfile_i0063] => bmFkYW5pZS90bl9JTUdfMDA3MS5qcGc=
        [album_lb_id_i0064] => d0000
        [picfile_i0064] => bmFkYW5pZS90bl9JTUdfMDA3Mi5qcGc=
        [album_lb_id_i0065] => d0000
        [picfile_i0065] => bmFkYW5pZS90bl9JTUdfMDA3My5qcGc=
    )

    ==========================
    Page generated in 0.014 seconds - 12 queries in 0 seconds - Album set : ; Meta set: ;
I wonder why there's an entry:

Quote[user_name] => Guest

When I am logged on as an Admin??
What do I do bad?

Nibbler

Try with a small number of files in the folder.

DonQuijote88

I tried even with 3 files but still nothing... I think something bad happens with session data.

Nibbler

Go to your phpinfo page (phpinfo.php) with your web browser and check for suhosin. If it's mentioned search the board for previous discussions about it.

DonQuijote88