forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: angry on October 07, 2005, 04:23:08 am

Title: Regular Users unable to upload
Post by: angry on October 07, 2005, 04:23:08 am
Ive been at this for hours now (10 to be precise), firstly I installed coppermine as it came with my webhost, tested it out, worled fine when I was logged in as the admin, changed over to a regular user, and I cuddnt upload any images. Did a search for help, followed intructions on what I cud find, again didnt work, un-installed, re-installed (about 20 times), started to get really angry, deleted again, downloaded the software and installed it manually, thinking that might help, but it seems it just doesnt want to woek, no matter what I do, people can't upload unless they are admin. Can anyone help?
Thx in advance.

==================================

USER:
------------------
Array
(
    [ID] => 45f93d5f1b3bda38e029f29fd1c8d6fb
    [am] => 0
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => SoulessTigress
    [user_password] => ********
    [user_lastvisit] => 2005-10-07 02:44:09
    [user_regdate] => 2005-10-07 02:43:29
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [disk_max] => 1024
    [disk_min] => 1024
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 0
    [ufc_min] => 0
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [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] => 0
    [group_quota] => 1024
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
Title: Re: Regular Users unable to upload
Post by: Nibbler on October 07, 2005, 05:16:03 am
Check you have allowed uploads for registered users in the groups page. Posting a link and test user account would be helpful.
Title: Re: Regular Users unable to upload
Post by: angry on October 07, 2005, 06:33:20 am
Uploads are allowed for registered users. Ive checked, double checked, and triple checked everything, and cant see where or what Im doing wrong, ive re-installed that many times now, I don't know where I am lol, and Im about to rip my hair out.
Title: Re: Regular Users unable to upload
Post by: Abbas Ali on October 07, 2005, 07:28:16 am
As Nibbler said please post a link and  test user account info.

Also posting the error message which the user gets while uploading will help.
Title: Re: Regular Users unable to upload
Post by: angry on October 07, 2005, 05:45:14 pm
http://dropdadrama.co.uk/epaints/cpg135

Not quite sure what u mean by test user info, if you mean for me to set up an account to test it out: username: test
password: testing

The error I get is:

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

File: /home/dropdad/public_html/epaints/cpg135/upload.php - Line: 845
Title: Re: Regular Users unable to upload
Post by: Nibbler on October 07, 2005, 05:52:50 pm
Ok, now post a screenshot of the album properties of the album you have created showing that 'Visitors can upload files' is set to 'YES'.
Title: Re: Regular Users unable to upload
Post by: angry on October 07, 2005, 05:56:26 pm

By "visitors" do you mean registered users or anonymous users?
Title: Re: Regular Users unable to upload
Post by: angry on October 07, 2005, 05:58:35 pm
Ohhh wait nevermind, found it, hold on.
Never saw this part before *slaps forehead*
Title: Re: Regular Users unable to upload
Post by: angry on October 07, 2005, 06:00:00 pm

Ahhhhhh, Ok it works now, ty ty ty ty ty ty ty *is happy again now*