Problem with "Batch add files" Problem with "Batch add files"
 

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

Problem with "Batch add files"

Started by pioneer2k, August 27, 2006, 01:20:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pioneer2k

Hi

I have succesfully used batch add files many times but now I have a problem.

When I've uploaded my images via FTP in ALBUMS as usually I can't find my folder under batch add files.

Its a bit strange because I've used this function quite a lot of times and then this happens.

How can I solve this problem?

Kind Rgards Allan/DK

pioneer2k

UPDATE:

Now I did exactly what it says in "4.11.4 Upload troubleshooting" (I read it VERY carefully)

The problem is that it doesn't come out with an error message because I'm not able to choose my directory.

Here is my page http://www.dtmpower.dk

Please help someone  ???

Allan

pioneer2k

Here are the debug output when I enter "batch add files"

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

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => pioneer2k
    [groups] => Array
        (
           
  • => 1
            )

        [disk_max] => 0
        [disk_min] => 0
        [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] => 1
        [pub_upl_need_approval] => 0
        [priv_upl_need_approval] => 0
        [group_name] => Administrators
        [upload_form_config] => 0
        [group_quota] => 0
        [can_see_all_albums] => 1
        [group_id] => 1
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg143_filetypes; (0s)
        [1] => select * from cpg143_plugins order by priority asc; (0s)
        [2] => delete from `bmwzone_dk`.cpg143_sessions where time<1156675118 and remember=0; (0s)
        [3] => delete from `bmwzone_dk`.cpg143_sessions where time<1155469118; (0s)
        [4] => select user_id from `bmwzone_dk`.cpg143_sessions where session_id=md5("13a65362f591826fbfcebb1e6c9de013da16cf3418db97e1b7cb4b80833a0af7"); (0s)
        [5] => select user_id as id, user_password as password from `bmwzone_dk`.cpg143_users where user_id=1 (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 `bmwzone_dk`.cpg143_users AS u INNER JOIN `bmwzone_dk`.cpg143_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
        [7] => SELECT user_group_list FROM `bmwzone_dk`.cpg143_users AS u WHERE user_id='1' 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 cpg143_usergroups WHERE group_id in (1) (0.001s)
        [9] => SELECT group_name FROM  cpg143_usergroups WHERE group_id= 1 (0s)
        [10] => update `bmwzone_dk`.cpg143_sessions set time='1156678718' where session_id=md5('13a65362f591826fbfcebb1e6c9de013da16cf3418db97e1b7cb4b80833a0af7'); (0s)
        [11] => SELECT user_favpics FROM cpg143_favpics WHERE user_id = 1 (0s)
        [12] => DELETE FROM cpg143_banned WHERE expiry < '2006-08-27 12:38:38' (0s)
        [13] => SELECT * FROM cpg143_banned WHERE (ip_addr='80.160.156.54' OR ip_addr='80.160.156.54' OR user_id=1) AND brute_force=0 (0s)
        [14] => SELECT aid, title FROM cpg143_albums WHERE 1 (0.001s)
        [15] => SELECT COUNT(*) FROM cpg143_pictures WHERE approved = 'NO' (0s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.2 - OK
    ------------------
    mySQL version: 4.1.18-standard-log
    ------------------
    Coppermine version: 1.4.4(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.28 compatible)
    FreeType Support: 1
    FreeType Linkage: with freetype
    T1Lib Support:
    GIF Read Support: 1
    GIF Create Support: 1
    JPG Support: 1
    PNG Support: 1
    WBMP Support: 1
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    Client API version 5.0.21
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/lib/mysql/mysql.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.1.4
    Linked Version 1.1.4
    ==========================
    Server restrictions (safe mode)?
    ------------------
    Directive | Local Value | Master Value
    safe_mode | Off | Off
    safe_mode_exec_dir | no value | no value
    safe_mode_gid | Off | Off
    safe_mode_include_dir | no value | no value
    safe_mode_exec_dir | no value | no value
    sql.safe_mode | Off | Off
    disable_functions | no value | no value
    file_uploads | On | On
    include_path | .:/usr/local/lib/php-4.4.2/lib/php | .:/usr/local/lib/php-4.4.2/lib/php
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | wwwuser@cgi.yourhostingaccount.com | wwwuser@cgi.yourhostingaccount.com
    sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
    SMTP | mail.yourhostingaccount.com | mail.yourhostingaccount.com
    smtp_port | 25 | 25
    ==========================
    Size and Time
    ------------------
    Directive | Local Value | Master Value
    max_execution_time | 30 | 30
    max_input_time | 60 | 60
    upload_max_filesize | 10M | 10M
    post_max_size | 11M | 11M
    ==========================
    Page generated in 2.369 seconds - 16 queries in 0.003 seconds - Album set : ; Meta set: ;

Joachim Müller

I can tell you read it extra carefully ::), particularly the passages
QuoteWhen asking for support on the coppermine forum, post a link to your site and a test user account
You paid particular attention to
QuoteDo not post debug_output unless requested.
as well...

pioneer2k

Quote from: GauGau on August 27, 2006, 10:25:51 PM
I can tell you read it extra carefully ::), particularly the passages You paid particular attention toas well...

I just thougt this was an support forum??? ???

Can you help me?

Joachim Müller

If you do as suggested: yes. Otherwise: no!

pioneer2k

Quote from: GauGau on August 27, 2006, 10:45:24 PM
If you do as suggested: yes. Otherwise: no!

You see now I have a problem.

I've already posted the debug mode... So its a little difficult for me to pull it back  :)

What do you want me to do now?

Allan

Joachim Müller

You're suppossed to do exactly as suggested in the docs and as I have told you already on this thread: post a non-admin test user account.
I'm fed up with this sort of meta support, having to repeat things over and over, so I'm out of this thread anyway.

pioneer2k

Here are the debug mode for the test user. The problem with my admin user occours when I'm trying to use batch add files. This debug mode is copied from upload file. Just don't know if this makes any differnece.

Hope you can see anything out of this

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

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

        [disk_max] => 0
        [disk_min] => 0
        [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] => 0
        [can_see_all_albums] => 0
        [group_id] => 2
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg143_filetypes; (0s)
        [1] => select * from cpg143_plugins order by priority asc; (0s)
        [2] => delete from `bmwzone_dk`.cpg143_sessions where time<1156714244 and remember=0; (0s)
        [3] => delete from `bmwzone_dk`.cpg143_sessions where time<1155508244; (0s)
        [4] => select user_id from `bmwzone_dk`.cpg143_sessions where session_id=md5("13a65362f591826fbfcebb1e6c9de013da16cf3418db97e1b7cb4b80833a0af7"); (0s)
        [5] => select user_id as id, user_password as password from `bmwzone_dk`.cpg143_users where user_id=4 (0.002s)
        [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 `bmwzone_dk`.cpg143_users AS u INNER JOIN `bmwzone_dk`.cpg143_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='4' (0s)
        [7] => SELECT user_group_list FROM `bmwzone_dk`.cpg143_users AS u WHERE user_id='4' 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 cpg143_usergroups WHERE group_id in (2) (0s)
        [9] => SELECT group_name FROM  cpg143_usergroups WHERE group_id= 2 (0s)
        [10] => update `bmwzone_dk`.cpg143_sessions set time='1156717844' where session_id=md5('13a65362f591826fbfcebb1e6c9de013da16cf3418db97e1b7cb4b80833a0af7'); (0s)
        [11] => SELECT user_favpics FROM cpg143_favpics WHERE user_id = 4 (0.003s)
        [12] => DELETE FROM cpg143_banned WHERE expiry < '2006-08-27 23:30:44' (0s)
        [13] => SELECT * FROM cpg143_banned WHERE (ip_addr='80.160.156.54' OR ip_addr='80.160.156.54' OR user_id=4) AND brute_force=0 (0.001s)
        [14] => SELECT aid, title FROM cpg143_albums WHERE category < 10000 AND uploads='YES' AND (visibility = '0' OR visibility IN (2)) ORDER BY title (0.004s)
        [15] => SELECT aid, title FROM cpg143_albums WHERE category='10004' ORDER BY title (0.002s)
    )

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

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

    ==========================
    Page generated in 0.393 seconds - 16 queries in 0.012 seconds - Album set : ; Meta set: ;

Joachim Müller

Stop it, will you? You're not suppossed to post debug_output unless a supporter explicitely asks you to do so. For the last time: re-read the upload troubleshooting section extra, extra carefully and do exactly (!!!!) as suggested.