Users cant upload Pics Users cant upload Pics
 

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

Main Menu

Users cant upload Pics

Started by A7la_3alm, February 16, 2007, 05:38:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

A7la_3alm

Hellow There,
I install coppermine gallery 1.4.10
and all things looks good
but when I try to upload pics as user I cant

I see all your help and try it but the problem still there

take allok and help me plz


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

File: /home/xxx/public_html/cgp/upload.php - Line: 864

and debug info

----
USER:
------------------
Array
(
    [ID] => 75207602304c19edc4b6fddd1c7de590
    [am] => 1
    [lang] => arabic
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 3
    [user_name] => aaa
    [groups] => Array
        (
           
  • => 2
            )

        [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] => 1
        [num_URI_upload] => 0
        [can_post_comments] => 1
        [can_upload_pictures] => 1
        [can_create_albums] => 0
        [has_admin_access] => 0
        [pub_upl_need_approval] => 1
        [priv_upl_need_approval] => 0
        [group_name] => Registered
        [upload_form_config] => 0
        [group_quota] => 1024
        [can_see_all_albums] => 0
        [group_id] => 2
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg1410_filetypes; (0s)
        [1] => select * from cpg1410_plugins order by priority asc; (0s)
        [2] => delete from `site name_copgallery`.cpg1410_sessions where time<1171639865 and remember=0; (0s)
        [3] => delete from `site name_copgallery`.cpg1410_sessions where time<1170433865; (0s)
        [4] => select user_id from `site name_copgallery`.cpg1410_sessions where session_id=md5("e7c670f3985b99e834ef760b11a5fd7707830dc08b92e1c45b86508530037f91"); (0s)
        [5] => select user_id as id, user_password as password from `site name_copgallery`.cpg1410_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 `site name_copgallery`.cpg1410_users AS u INNER JOIN `site name_copgallery`.cpg1410_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='3' (0s)
        [7] => SELECT user_group_list FROM `site name_copgallery`.cpg1410_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 cpg1410_usergroups WHERE group_id in (2) (0s)
        [9] => SELECT group_name FROM  cpg1410_usergroups WHERE group_id= 2 (0s)
        [10] => update `site name_copgallery`.cpg1410_sessions set time='1171643465' where session_id=md5('e7c670f3985b99e834ef760b11a5fd7707830dc08b92e1c45b86508530037f91'); (0s)
        [11] => SELECT user_favpics FROM cpg1410_favpics WHERE user_id = 3 (0.001s)
        [12] => DELETE FROM cpg1410_banned WHERE expiry < '2007-02-16 16:31:05' (0s)
        [13] => SELECT * FROM cpg1410_banned WHERE (ip_addr='85.114.97.5' OR ip_addr='192.168.0.218' OR user_id=3) AND brute_force=0 (0s)
        [14] => SELECT aid FROM cpg1410_albums WHERE visibility != '0' AND visibility !='10003' AND visibility NOT IN (2) (0s)
        [15] => SELECT aid, title FROM cpg1410_albums WHERE category < 10000 AND uploads='YES' AND (visibility = '0' OR visibility IN (2)) ORDER BY title (0s)
        [16] => SELECT aid, title FROM cpg1410_albums WHERE category='10003' ORDER BY title (0s)
    )

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

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

    ==========================
    Page generated in 0.067 seconds - 17 queries in 0.001 seconds - Album set : ; Meta set: ;
    ----

    plz help me in this problem



Nibbler

Allow uploads to one of the albums in album properties.

A7la_3alm

Hellow There,

I type atopic but I dont know where is it now
Why the topic has been deletes?

any way I need your help

when my user in 1,4,10 coppermine gall. wanna upload photos
this massege appreare



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

xxxxx\upload.php - ÇáÓØÑ : 864
------

plz help me


Womble

Quote from: Nibbler on February 16, 2007, 07:33:01 PM
Allow uploads to one of the albums in album properties.

thank you! I have had the same problem as the original poster and it has been bugging me for weeks now on how to fix it..... but with a 1 year old child and another on the one I am a bit tired  ::) and often go to sleep after work rather than plowing through trying to fix the problem.

Will go ahead right now and see if it works  :D

A7la_3alm

Hellow there
I think you were delete my topic
I dont where is it after I submit it ???

but I return now and search it and found it ;D
I try what you said Nibbler
and its work good
I will try it to see if the problem fixes at all

but I wanna thank you so  :)
thank you very much