Sorry there is no album where you are allowed to upload files Sorry there is no album where you are allowed to upload files
 

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

Sorry there is no album where you are allowed to upload files

Started by liamb, December 14, 2005, 01:09:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

liamb

Its a new install, seems to be working perfectly apart from uploading as user, where the user gets this message "Sorry there is no album where you are allowed to upload files"

How can l fix this?

This is the output..

USER:
------------------
Array
(
    [ID] => 38929f81fe90dc1a73de109c2d0284d9
    [am] => 0
    [lang] => english
    [liv] => Array
        (
            [0] => 1
        )

    [sort] => pd
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => liam
    [groups] => Array
        (
            [0] => 1
        )

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

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg140_filetypes; (0s)
    [1] => select * from cpg140_plugins order by priority asc; (0s)
    [2] => delete from `mysql777f73a8925ae3d49a0192d0f63`.cpg140_sessions where time<1134557895 and remember=0; (0.001s)
    [3] => delete from `mysql777f73a8925ae3d49a0192d0f63`.cpg140_sessions where time<1133351895; (0s)
    [4] => select user_id from `mysql777f73a8925ae3d49a0192d0f63`.cpg140_sessions where session_id=md5("fabe1f8e6a80b089a73fa24fbe728f2c356d6086d4a57f56c26fbb44e2c78c77"); (0.001s)
    [5] => select user_id as id, user_password as password from `mysql777f73a8925ae3d49a0192d0f63`.cpg140_users where user_id=1 (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 `mysql777f73a8925ae3d49a0192d0f63`.cpg140_users AS u INNER JOIN `mysql777f73a8925ae3d49a0192d0f63`.cpg140_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `mysql777f73a8925ae3d49a0192d0f63`.cpg140_users AS u WHERE user_id='1' 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 cpg140_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg140_usergroups WHERE group_id= 1 (0s)
    [10] => update `mysql777f73a8925ae3d49a0192d0f63`.cpg140_sessions set time='1134561495' where session_id=md5('fabe1f8e6a80b089a73fa24fbe728f2c356d6086d4a57f56c26fbb44e2c78c77'); (0.001s)
    [11] => SELECT user_favpics FROM cpg140_favpics WHERE user_id = 1 (0.001s)
    [12] => DELETE FROM cpg140_banned WHERE expiry < '2005-12-14 11:58:15' (0s)
    [13] => SELECT * FROM cpg140_banned WHERE (ip_addr='83.146.25.90' OR ip_addr='192.168.254.33' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT aid, title FROM cpg140_albums WHERE category < 10000 AND uploads='YES' AND (visibility = '0' OR visibility IN (1)) ORDER BY title (0s)
    [15] => SELECT aid, title FROM cpg140_albums WHERE category='10001' ORDER BY title (0s)
    [16] => SELECT COUNT(*) FROM cpg140_pictures WHERE approved = 'NO' (0s)
)

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

==========================
POST :
------------------
Array
(
    [file_upload_request] => 1
    [URI_upload_request] =>
    [debugtext] => USER:
------------------
Array
(
    [ID] => 38929f81fe90dc1a73de109c2d0284d9
    [am] => 0
    [lang] => english
    [liv] => Array
        (
            [0] => 1
        )

    [sort] => pd
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => liam
    [groups] => Array
        (
            [0] => 1
        )

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

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg140_filetypes; (0s)
    [1] => select * from cpg140_plugins order by priority asc; (0s)
    [2] => delete from `mysql777f73a8925ae3d49a0192d0f63`.cpg140_sessions where time<1134557882 and remember=0; (0.001s)
    [3] => delete from `mysql777f73a8925ae3d49a0192d0f63`.cpg140_sessions where time<1133351882; (0s)
    [4] => select user_id from `mysql777f73a8925ae3d49a0192d0f63`.cpg140_sessions where session_id=md5("fabe1f8e6a80b089a73fa24fbe728f2c356d6086d4a57f56c26fbb44e2c78c77"); (0.001s)
    [5] => select user_id as id, user_password as password from `mysql777f73a8925ae3d49a0192d0f63`.cpg140_users where user_id=1 (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 `mysql777f73a8925ae3d49a0192d0f63`.cpg140_users AS u INNER JOIN `mysql777f73a8925ae3d49a0192d0f63`.cpg140_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `mysql777f73a8925ae3d49a0192d0f63`.cpg140_users AS u WHERE user_id='1' 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 cpg140_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg140_usergroups WHERE group_id= 1 (0s)
    [10] => update `mysql777f73a8925ae3d49a0192d0f63`.cpg140_sessions set time='1134561482' where session_id=md5('fabe1f8e6a80b089a73fa24fbe728f2c356d6086d4a57f56c26fbb44e2c78c77'); (0.001s)
    [11] => SELECT user_favpics FROM cpg140_favpics WHERE user_id = 1 (0.001s)
    [12] => DELETE FROM cpg140_banned WHERE expiry < '2005-12-14 11:58:02' (0s)
    [13] => SELECT * FROM cpg140_banned WHERE (ip_addr='83.146.25.90' OR ip_addr='192.168.254.33' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT COUNT(*) FROM cpg140_pictures WHERE approved = 'NO' (0s)
)

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

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

==========================
Page generated in 0.098 seconds - 15 queries in 0.004 seconds - Album set : ; Meta set: ;
)

==========================
Page generated in 0.163 seconds - 17 queries in 0.004 seconds - Album set : ; Meta set: ;

Nibbler

Make sure you have albums that allow uploads. Check their album properties.

liamb

Ok, where do i change album properties, l can create them but cant find properties anywhere?


liamb

sorry, nothing l change in album properties allows a user to upload..as admin l can upload fine, but as user l still get

Sorry there is no album where you are allowed to upload files

File: /home/httpd/vhosts/architectureportal.co.uk/httpdocs/coppermine/upload.php - Line: 864


???

Joachim Müller

did you allow uploads into public galleries for regular users in coppermine's groups page? Please read the coppermine documentation!

liamb

Sorry,

for anyone reading this with the same prob, create and album, goto home, album properties, check visitors can upload files "yes", goto group, set required group settings to public albums upload allowed "yes"

was simple, just having one of those days!  :-[