Can't view pic uploaded via FTP Can't view pic uploaded via FTP
 

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

Can't view pic uploaded via FTP

Started by criswar, September 07, 2004, 11:02:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

criswar

I' ve uploaded with success some pics via FTP in album/userpic dir. When I try to add images in admin menu I get this error message:



USER:
------------------
Array
(
    [ID] => 65febe5819cb7b0035c2fe29ef7d8420
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
   
  • => 2
        [user_id] => 2
        [1] => criswar
        [user_name] => criswar
        [2] => 1
        [user_level] => 1
        [groups] => Array
            (
               
  • => 1
                [1] => 2
                [2] => 8
            )

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

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content FROM cpg132_filetypes;
        [1] => SELECT user_id, username as user_name, user_level FROM `cristianoguerra_it_1`.phpbb_sessions INNER JOIN `cristianoguerra_it_1`.phpbb_users ON session_user_id = user_id WHERE session_id='552136c64d4a1bd2031932914e3998f4' AND session_user_id ='2' AND user_active='1'
        [2] => SELECT (ug.group_id + 5) as group_id FROM `cristianoguerra_it_1`.phpbb_user_group as ug LEFT JOIN `cristianoguerra_it_1`.phpbb_groups as g ON ug.group_id = g.group_id WHERE user_id = 2 AND user_pending = 0 AND group_single_user = 0
        [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 cpg132_usergroups WHERE group_id in (1,2,8)
        [4] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 1
        [5] => DELETE FROM cpg132_banned WHERE expiry < 1094547582
        [6] => SELECT * FROM cpg132_banned WHERE ip_addr='213.156.52.105' OR ip_addr='213.156.52.105' OR user_id=2
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.2 - OK
    ------------------
    mySQL version: 4.0.18-log
    ------------------
    Coppermine version: 1.3.2
    ==========================
    Module: gd
    ------------------
    module doesn't exist
    ==========================
    Module: mysql
    ------------------
    module doesn't exist
    ==========================
    Module: zlib
    ------------------
    module doesn't exist
    ==========================
    Server restrictions (safe mode)?
    ------------------
    Directive | Local Value | Master Value
    safe_mode | On | On
    safe_mode_exec_dir | /data/apache/php/safe_exec | /data/apache/php/safe_exec
    safe_mode_gid | On | On
    safe_mode_include_dir | /data/apache/php/mmp_lib:/data/session | /data/apache/php/mmp_lib:/data/session
    safe_mode_exec_dir | /data/apache/php/safe_exec | /data/apache/php/safe_exec
    sql.safe_mode | Off | Off
    disable_functions | highlight_file,diskfreespace, exec, passthru, system, popen, show_source, php_uname, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, chgrp | highlight_file,diskfreespace, exec, passthru, system, popen, show_source, php_uname, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, chgrp
    file_uploads | On | On
    include_path | .:/data/apache/php/mmp_lib:/data/session | .:/data/apache/php/mmp_lib:/data/session
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | no value | no value
    sendmail_path | /usr/sbin/sendmail | /usr/sbin/sendmail
    SMTP | localhost | localhost
    smtp_port | 25 | 25
    ==========================
    Size and Time
    ------------------
    Directive | Local Value | Master Value
    max_execution_time | 30 | 30
    max_input_time | -1 | -1
    upload_max_filesize | 50M | 50M
    post_max_size | 50M | 50M
    ==========================
    Page generated in 0.278 seconds - 7 queries in 0.018 seconds - Album set :


    Pls help!

kegobeer

Start by reading the documentation that's included with Coppermine.  It explains what directories you shoudn't upload files to using FTP and why.  Here's a hint: don't touch the /userpics directory.  Try creating a directory inside albums called uploads, then FTP your files there.

And that isn't an error message.  You have debug enabled, which displays what's going on and what variables are set.  You can turn it off in your config settings.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

criswar