Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Selected album does not exist or you don't have permission to upload in this alb  (Read 2466 times)

0 Members and 1 Guest are viewing this topic.

indoakatsuki

  • Coppermine newbie
  • Offline Offline
  • Posts: 2

I've read FAQ and try to resolve this myself but still cannot fix  :'(

using debug mode, problem : Selected album does not exist or you don't have permission to upload in this album

I try to uploading using bacth upload, but it cannot create the thumbnail also

my gallery : http://gallery.indoakatsuki.com/
id : kishimoto
pass : mamave2

quote from debug mode
Code: [Select]
USER:
------------------
Array
(
    [ID] => 10e92670405933a85210705d508eb557
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [0] => 145
            [1] => 140
            [2] => 144
        )

)

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

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

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg_filetypes; (0s)
    [1] => select * from cpg_plugins order by priority asc; (0s)
    [2] => delete from `indoakat_copp1`.cpg_sessions where time<1180438063 and remember=0; (0s)
    [3] => delete from `indoakat_copp1`.cpg_sessions where time<1179232063; (0s)
    [4] => select user_id from `indoakat_copp1`.cpg_sessions where session_id=md5("dc9e2910ff642a7c125bac113b915a69443667cb08cca11bec81dd4982c4e534"); (0s)
    [5] => select user_id as id, user_password as password from `indoakat_copp1`.cpg_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 `indoakat_copp1`.cpg_users AS u INNER JOIN `indoakat_copp1`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='3' (0s)
    [7] => SELECT user_group_list FROM `indoakat_copp1`.cpg_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 cpg_usergroups WHERE group_id in (5) (0.001s)
    [9] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 5 (0s)
    [10] => update `indoakat_copp1`.cpg_sessions set time='1180441663' where session_id=md5('dc9e2910ff642a7c125bac113b915a69443667cb08cca11bec81dd4982c4e534'); (0s)
    [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 3 (0s)
    [12] => DELETE FROM cpg_banned WHERE expiry < '2007-05-29 12:27:43' (0s)
    [13] => SELECT * FROM cpg_banned WHERE (ip_addr='125.161.194.140' OR ip_addr='125.161.194.140' OR user_id=3) AND brute_force=0 (0s)
    [14] => SELECT aid FROM cpg_albums WHERE visibility != '0' AND visibility !='10003' AND visibility NOT IN (5) (0s)
    [15] => SELECT aid FROM cpg_albums (0s)
    [16] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = ''  ORDER BY pos (0s)
    [17] => SELECT aid FROM cpg_albums WHERE category = 2 (0s)
    [18] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 2 (0s)
    [19] => SELECT count(*) FROM cpg_albums as a WHERE category = '2' (0s)
    [20] => 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,2 (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 cpg_albums AS a  LEFT JOIN cpg_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (7, 8)GROUP BY a.aid (0s)
    [22] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='117' (0s)
    [23] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = '2'  ORDER BY pos (0s)
    [24] => SELECT aid FROM cpg_albums WHERE category = 3 (0s)
    [25] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 3 (0s)
    [26] => SELECT aid FROM cpg_albums WHERE category = 4 (0s)
    [27] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 4 (0s)
    [28] => SELECT aid FROM cpg_albums WHERE category = 5 (0s)
    [29] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 5 (0s)
    [30] => SELECT aid FROM cpg_albums as a WHERE category>=10000 (0s)
    [31] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0s)
    [32] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = '1'  ORDER BY pos (0s)
    [33] => SELECT aid FROM cpg_albums as a WHERE category = '0' (0s)
    [34] => SELECT count(*) FROM cpg_albums as a WHERE 1 (0s)
    [35] => SELECT count(*) FROM cpg_pictures as p LEFT JOIN cpg_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0s)
    [36] => 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)
    [37] => SELECT count(*) FROM cpg_categories WHERE 1 (0s)
    [38] => SELECT sum(hits) FROM cpg_pictures as p LEFT JOIN cpg_albums as a ON p.aid=a.aid WHERE 1 (0s)
    [39] => SELECT count(*) FROM cpg_albums as a WHERE category = '0' (0s)
    [40] => SELECT COUNT(*) from cpg_pictures WHERE approved = 'YES' AND aid IN (4,5,6,7,8,9,10)  (0s)
    [41] => SELECT * FROM cpg_pictures WHERE approved = 'YES' AND aid IN (4,5,6,7,8,9,10)  ORDER BY RAND() LIMIT 8 (0.005s)
    [42] => SELECT COUNT(*) from cpg_pictures WHERE approved = 'YES' AND aid IN (4,5,6,7,8,9,10)  (0s)
    [43] => SELECT * FROM cpg_pictures WHERE approved = 'YES' AND aid IN (4,5,6,7,8,9,10)  ORDER BY pid DESC  LIMIT 0 ,8 (0s)
)

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

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

==========================
Page generated in 0.135 seconds - 44 queries in 0.006 seconds - Album set : ; Meta set: AND aid IN (4,5,6,7,8,9,10) ;

best regard
indoakatsuki
Logged

indoakatsuki

  • Coppermine newbie
  • Offline Offline
  • Posts: 2

and also for the permisiion, I have checked the permission, but there's seem no problem because I already upload 99 pic before and there is no problem.., this problem comes suddenly
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de

The link your posted is down - review it.
Don't post debug_output unless requested, read http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.