user upload file user upload file
 

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

user upload file

Started by morga, January 09, 2006, 05:51:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

morga

hello everyone,
I did a fresh install of the coppermine 1.4.3 this morning, i used the bridge wizard to link to my SMF boards.

My users do not see the option to upload a file.

Permissions for this album
Album password     
Album password hint     
Visitors can upload files *     Yes    No
Visitors can post comments *    Yes    No
Visitors can rate files *    Yes    No

for my Groups i have

public album upload
Allowed      Yes      
Approval        No

what am i missing that they can see the album but not see the upload file option :(

i have been at this all morning and im growing tired, might be nap time


Morga

Bacchus

I'm gessing that you are also using the SMF template? If yes, did you upgrade it?

Joachim Müller


morga

the smf and coppermine gallery are on seperate databases. So i dont have any idea about upgrading the smf template that i am using.


http://theatre-of-pain.net/coppermine/index.php


Morga

Joachim Müller

coppermine doesn't care about smf's template settings. Do as I suggested.

morga

im guessing you want the debug info...

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

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 3
        [user_name] => ********
        [groups] => Array
            (
               
  • => 10
                [1] => 5
            )

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

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg143_filetypes; (0.001s)
        [1] => select * from cpg143_plugins order by priority asc; (0s)
        [2] => SELECT * FROM cpg143_bridge (0s)
        [3] => 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 cpg143_usergroups WHERE group_id in (10,5) (0.001s)
        [4] => SELECT group_name FROM  cpg143_usergroups WHERE group_id= 10 (0s)
        [5] => SELECT user_favpics FROM cpg143_favpics WHERE user_id = 3 (0.001s)
        [6] => DELETE FROM cpg143_banned WHERE expiry < '2006-01-10 15:31:15' (0s)
        [7] => SELECT * FROM cpg143_banned WHERE (ip_addr='142.51.52.77' OR ip_addr='142.51.52.77' OR user_id=3) AND brute_force=0 (0s)
        [8] => SELECT aid FROM cpg143_albums (0s)
        [9] => SELECT cid, name, description, thumb FROM cpg143_categories WHERE parent = ''  ORDER BY pos (0.001s)
        [10] => SELECT aid FROM cpg143_albums WHERE category = 2 (0s)
        [11] => SELECT count(*) FROM cpg143_pictures as p, cpg143_albums as a WHERE p.aid = a.aid AND category = 2 (0s)
        [12] => SELECT count(*) FROM cpg143_albums as a WHERE category = '2' (0s)
        [13] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg143_albums as a LEFT JOIN cpg143_pictures as p ON a.thumb=p.pid WHERE category=2 ORDER BY a.pos LIMIT 0,1 (0.001s)
        [14] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg143_albums AS a  LEFT JOIN cpg143_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (2)GROUP BY a.aid (0s)
        [15] => SELECT cid, name, description, thumb FROM cpg143_categories WHERE parent = '2'  ORDER BY pos (0.001s)
        [16] => SELECT aid FROM cpg143_albums as a WHERE category>=10000 (0s)
        [17] => SELECT count(*) FROM cpg143_pictures as p, cpg143_albums as a WHERE p.aid = a.aid AND category >= 10000 (0s)
        [18] => SELECT aid FROM cpg143_albums as a WHERE category = '0' (0s)
        [19] => SELECT count(*) FROM cpg143_albums as a WHERE 1 (0s)
        [20] => SELECT count(*) FROM cpg143_pictures as p LEFT JOIN cpg143_albums as a ON a.aid=p.aid WHERE 1 (0s)
        [21] => SELECT count(*) FROM cpg143_comments as c LEFT JOIN cpg143_pictures as p ON c.pid=p.pid LEFT JOIN cpg143_albums as a ON a.aid=p.aid WHERE 1 (0s)
        [22] => SELECT count(*) FROM cpg143_categories WHERE 1 (0s)
        [23] => SELECT sum(hits) FROM cpg143_pictures as p LEFT JOIN cpg143_albums as a ON p.aid=a.aid WHERE 1 (0s)
        [24] => SELECT COUNT(*) FROM cpg143_pictures WHERE approved = 'NO' (0s)
        [25] => SELECT count(*) FROM cpg143_albums as a WHERE category = '0' (0s)
        [26] => SELECT COUNT(*) from cpg143_pictures WHERE approved = 'YES' AND aid IN (1,2)  (0s)
        [27] => SELECT * FROM cpg143_pictures WHERE approved = 'YES' AND aid IN (1,2)  ORDER BY RAND() LIMIT 8 (0.001s)
        [28] => SELECT COUNT(*) from cpg143_pictures WHERE approved = 'YES' AND aid IN (1,2)  (0s)
        [29] => SELECT * FROM cpg143_pictures WHERE approved = 'YES' AND aid IN (1,2)  ORDER BY pid DESC  LIMIT 0 ,8 (0.001s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
        [e] =>
    )

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

    ==========================
    Page generated in 0.211 seconds - 30 queries in 0.008 seconds - Album set : ; Meta set: AND aid IN (1,2) ;

Joachim Müller

no. Don't post debug_output unless requested. Re-read the troubleshoorting section I refered to and do exactly as suggested there. If you don't do as suggested, we won't be able to help you.

morga

ive tried everything. all i want is a icon that says "upload file" for my registered users. I have set permissions, config'd until im just frustrated, so i will be uninstalling it. it looks like a great package but obviously not for me..

thanks for the help


Morga