Public Album - users can't upload in them Public Album - users can't upload in them
 

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

Public Album - users can't upload in them

Started by mc0676, November 16, 2007, 04:57:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mc0676

Coppermine install: http://www.vwgolfcommunity.com/cpg
Forum install: http://www.vwgolfcommunity.com/vbulletin
Coppermine version: cpg1.4.14
Forum version: 3.6.8
Test user account: pippo / pippo (but it is only in the forum)

BridgeManager settings:
Forum URL:  http://www.vwgolfcommunity.com/vbulletin
Relative path to your BBS's config file:  ../vbulletin/
Use post-based groups?:  0

The problem is that normal user (registered) can't post picture in the public album.
I've already check album permission e group permission.

This is the debug code during upload:


USER:
------------------
Array
(
    [ID] => 9fc8206da9e3a783a7435c7e01454c44
    [am] => 1
    [lang] => italian
    [theme] => mac_ox_x
    [liv] => Array
        (
            [0] => 12
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 2385
    [user_name] => pippo
    [groups] => Array
        (
            [0] => 2
        )

    [disk_max] => 20000
    [disk_min] => 20000
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 10
    [num_URI_upload] => 2
    [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] => Registered
    [upload_form_config] => 3
    [group_quota] => 20000
    [can_see_all_albums] => 0
    [group_id] => 2
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0.019s)
    [1] => select * from cpg14x_plugins order by priority asc; (0.015s)
    [2] => SELECT * FROM cpg14x_bridge (0.016s)
    [3] => SELECT u.userid, u.password, u.usergroupid+100 AS usergroupid FROM `vwgolfcommunity_com_vb`.vb_user AS u, `vwgolfcommunity_com_vb`.vb_session AS s WHERE s.userid=u.userid AND s.sessionhash='db4921663b925ffa80021127047f4700' (0.017s)
    [4] => SELECT u.userid AS id, u.username AS username, u.password AS password, u.usergroupid+100 AS group_id FROM `vwgolfcommunity_com_vb`.vb_user AS u INNER JOIN `vwgolfcommunity_com_vb`.vb_usergroup AS g ON u.usergroupid=g.usergroupid WHERE u.userid='2385' (0.015s)
    [5] => 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) (0.013s)
    [6] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 2 (0.014s)
    [7] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 2385 (0.013s)
    [8] => DELETE FROM cpg14x_banned WHERE expiry < '2007-11-16 15:56:44' (0.014s)
    [9] => SELECT * FROM cpg14x_banned WHERE (ip_addr='193.205.5.2' OR ip_addr='193.205.5.2' OR user_id=2385) AND brute_force=0 (0.014s)
    [10] => SELECT aid FROM cpg14x_albums WHERE visibility != '0' AND visibility !='12385' AND visibility NOT IN (2) (0.01s)
    [11] => SELECT aid, title FROM cpg14x_albums WHERE category < 10000 AND uploads='YES' AND (visibility = '0' OR visibility IN (2)) ORDER BY title (0.008s)
    [12] => SELECT aid, title FROM cpg14x_albums WHERE category='12385' ORDER BY title (0.009s)
    [13] => DELETE FROM cpg14x_temp_data WHERE timestamp < 1195225004 (0.012s)
)

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

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

==========================
Page generated in 3.829 seconds - 14 queries in 0.189 seconds - Album set : ; Meta set: ;


Nibbler

Post a screenshot of album properties showing where you have allowed visitors to upload files.

Joachim Müller

As I told you in reply to your other thread:
Quote from: GauGau on November 16, 2007, 04:23:00 PM
"album properties" is the place to look at - covered in the docs and asked/answered many times over on the forum!
This isn't even a matter of bridging. Moving accordingly.

mc0676

GauGau you was right, i have to check permission to visitor album per album.

Thank you.