upload problem - Impossible to move upload problem - Impossible to move
 

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

upload problem - Impossible to move

Started by georgebukki, August 13, 2006, 01:17:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

georgebukki

 Need help with photo gallery please help

Users (and admin) can't upload their images.

Failed to create directory /coppermine/albums/userpics/10002 !
File: /home/jbratva/public_html/coppermine/db_input.php - Line: 318

http://jbratva.com/coppermine
user: test
pass: testtest



USER:
------------------
Array
(
    [ID] => 31079aded6c2c97bb23fc8bd64e6b536
    [am] => 1
    [lang] => english
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 2
    [user_name] => test
    [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] => 1
        [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 cpg1481_filetypes; (0.001s)
        [1] => select * from cpg1481_plugins order by priority asc; (0s)
        [2] => delete from `jbratva_copp`.cpg1481_sessions where time<1155464061 and remember=0; (0s)
        [3] => delete from `jbratva_copp`.cpg1481_sessions where time<1154258061; (0s)
        [4] => select user_id from `jbratva_copp`.cpg1481_sessions where session_id=md5("edd39902fcf6f75a82f5db145ec18e341b9ecc8af309127c1754c064c88c9d8e"); (0s)
        [5] => select user_id as id, user_password as password from `jbratva_copp`.cpg1481_users where user_id=2 (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 `jbratva_copp`.cpg1481_users AS u INNER JOIN `jbratva_copp`.cpg1481_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='2' (0s)
        [7] => SELECT user_group_list FROM `jbratva_copp`.cpg1481_users AS u WHERE user_id='2' 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 cpg1481_usergroups WHERE group_id in (2) (0s)
        [9] => SELECT group_name FROM  cpg1481_usergroups WHERE group_id= 2 (0s)
        [10] => update `jbratva_copp`.cpg1481_sessions set time='1155467661' where session_id=md5('edd39902fcf6f75a82f5db145ec18e341b9ecc8af309127c1754c064c88c9d8e'); (0s)
        [11] => SELECT user_favpics FROM cpg1481_favpics WHERE user_id = 2 (0s)
        [12] => DELETE FROM cpg1481_banned WHERE expiry < '2006-08-13 11:14:21' (0s)
        [13] => SELECT * FROM cpg1481_banned WHERE (ip_addr='84.108.101.185' OR ip_addr='84.108.101.185' OR user_id=2) AND brute_force=0 (0s)
        [14] => SELECT aid FROM cpg1481_albums WHERE visibility != '0' AND visibility !='10002' AND visibility NOT IN (2) (0s)
        [15] => SELECT category FROM cpg1481_albums WHERE aid='33' and (uploads = 'YES' OR category = '10002') (0s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [album] => 33
        [MAX_FILE_SIZE] => 1048576
        [title] =>
        [caption] =>
        [keywords] =>
        [event] => picture
    )

    ==========================
    Page generated in 0.092 seconds - 16 queries in 0.001 seconds - Album set : ; Meta set: ;


    PERMISSIONS ON THE /ALBUMS, /ALBUMS/USERPICS, AND /ALBUMS/EDIT DIRECTORIES are 777

    Help me please to solve this problem.

    P.S.  Sorry for my English...

Nibbler

If you can't make new directories inside userpics then you'll need to enable SILLY_SAFE_MODE

georgebukki



georgebukki

Thanks, I was reed this, but I can't edit "config.inc.php". Permission denied. And I can't change the permission...

Joachim Müller