"No file specified" when batch adding "No file specified" when batch adding
 

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

"No file specified" when batch adding

Started by jtopping, April 10, 2006, 11:50:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jtopping

Http uploads work fine, but batch adding does not work anymore(mysteriously). I've even tried smaller files, even though these are the same as all my others. When batch adding, the thumbnails appear, but after i hit submit, i get the 'click for details or to relaod' instead of OK. when i do click, i get the 'no file specified' ambiguous error.

please go to

www.zztopping.com
user: test
password: test

that user should have rights to upload, but does not have rights to batch add(admin only)...so i've included my debug output as well:
******************
USER:
------------------
Array
(
    [ID] => 555fa765a61fe2fa41d1b174968f2c9d
    [am] => 1
)

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

        [disk_max] => 0
        [disk_min] => 0
        [can_rate_pictures] => 1
        [can_send_ecards] => 1
        [ufc_max] => 3
        [ufc_min] => 3
        [custom_user_upload] => 0
        [num_file_upload] => 5
        [num_URI_upload] => 3
        [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] => 3
        [group_quota] => 0
        [can_see_all_albums] => 1
        [group_id] => 1
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg_filetypes; (0.001s)
        [1] => delete from `jtopping_copp1`.cpg_sessions where time<1144701990 and remember=0; (0.03s)
        [2] => delete from `jtopping_copp1`.cpg_sessions where time<1143495990; (0.006s)
        [3] => select user_id from `jtopping_copp1`.cpg_sessions where session_id=md5("a2bb155a50aabd8406add0d1c70939e55830f236717a84daa4ae94de91daac91"); (0.012s)
        [4] => select user_id as id, user_password as password from `jtopping_copp1`.cpg_users where user_id=1 (0.005s)
        [5] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `jtopping_copp1`.cpg_users AS u INNER JOIN `jtopping_copp1`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [6] => SELECT user_group_list FROM `jtopping_copp1`.cpg_users AS u WHERE user_id='1' and user_group_list <> ''; (0.002s)
        [7] => 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 cpg_usergroups WHERE group_id in (1) (0.001s)
        [8] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1 (0.001s)
        [9] => update `jtopping_copp1`.cpg_sessions set time='1144705590' where session_id=md5('a2bb155a50aabd8406add0d1c70939e55830f236717a84daa4ae94de91daac91'); (0.001s)
        [10] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0.015s)
        [11] => DELETE FROM cpg_banned WHERE expiry < '2006-04-10 17:46:30' (0.001s)
        [12] => SELECT * FROM cpg_banned WHERE (ip_addr='205.245.72.4' OR ip_addr='205.245.72.4' OR user_id=1) AND brute_force=0 (0.001s)
        [13] => SELECT aid, title FROM cpg_albums WHERE 1 (0.001s)
        [14] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0.005s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
        [insert] => 1
    )

    ==========================
    POST :
    ------------------
    Array
    (
        [d0000] => 82
        [pics] => Array
            (
               
  • => i0000
                [1] => i0001
                [2] => i0002
                [3] => i0003
                [4] => i0004
                [5] => i0005
                [6] => i0006
                [7] => i0007
                [8] => i0008
                [9] => i0009
                [10] => i0010
                [11] => i0011
                [12] => i0012
                [13] => i0013
                [14] => i0014
                [15] => i0015
                [16] => i0016
                [17] => i0017
                [18] => i0018
                [19] => i0019
                [20] => i0020
                [21] => i0021
                [22] => i0022
                [23] => i0023
                [24] => i0024
                [25] => i0025
                [26] => i0026
                [27] => i0027
                [28] => i0028
                [29] => i0029
                [30] => i0030
                [31] => i0031
                [32] => i0032
                [33] => i0033
                [34] => i0034
                [35] => i0035
                [36] => i0036
                [37] => i0037
                [38] => i0038
                [39] => i0039
                [40] => i0040
                [41] => i0041
                [42] => i0042
                [43] => i0043
                [44] => i0044
                [45] => i0045
                [46] => i0046
                [47] => i0047
                [48] => i0048
                [49] => i0049
                [50] => i0050
                [51] => i0051
                [52] => i0052
                [53] => i0053
                [54] => i0054
                [55] => i0055
            )

        [album_lb_id_i0000] => d0000
        [picfile_i0000] => MjAwNi8wNC0wOC9EU0MwMDMwOS5KUEc=
        [album_lb_id_i0001] => d0000
        [picfile_i0001] => MjAwNi8wNC0wOC9EU0MwMDMxMC5KUEc=
        [album_lb_id_i0002] => d0000
        [picfile_i0002] => MjAwNi8wNC0wOC9EU0MwMDMxMS5KUEc=
        [album_lb_id_i0003] => d0000
        [picfile_i0003] => MjAwNi8wNC0wOC9EU0MwMDMxMi5KUEc=
        [album_lb_id_i0004] => d0000
        [picfile_i0004] => MjAwNi8wNC0wOC9EU0MwMDMxMy5KUEc=
        [album_lb_id_i0005] => d0000
        [picfile_i0005] => MjAwNi8wNC0wOC9EU0MwMDMxNS5KUEc=
        [album_lb_id_i0006] => d0000
        [picfile_i0006] => MjAwNi8wNC0wOC9EU0MwMDMxNi5KUEc=
        [album_lb_id_i0007] => d0000
        [picfile_i0007] => MjAwNi8wNC0wOC9EU0MwMDMxNy5KUEc=
        [album_lb_id_i0008] => d0000
        [picfile_i0008] => MjAwNi8wNC0wOC9EU0MwMDMxOC5KUEc=
        [album_lb_id_i0009] => d0000
        [picfile_i0009] => MjAwNi8wNC0wOC9EU0MwMDMyMS5KUEc=
        [album_lb_id_i0010] => d0000
        [picfile_i0010] => MjAwNi8wNC0wOC9EU0MwMDMyMi5KUEc=
        [album_lb_id_i0011] => d0000
        [picfile_i0011] => MjAwNi8wNC0wOC9EU0MwMDMyMy5KUEc=
        [album_lb_id_i0012] => d0000
        [picfile_i0012] => MjAwNi8wNC0wOC9EU0MwMDMyNC5KUEc=
        [album_lb_id_i0013] => d0000
        [picfile_i0013] => MjAwNi8wNC0wOC9EU0MwMDMyNS5KUEc=
        [album_lb_id_i0014] => d0000
        [picfile_i0014] => MjAwNi8wNC0wOC9EU0MwMDMyOC5KUEc=
        [album_lb_id_i0015] => d0000
        [picfile_i0015] => MjAwNi8wNC0wOC9EU0MwMDMyOS5KUEc=
        [album_lb_id_i0016] => d0000
        [picfile_i0016] => MjAwNi8wNC0wOC9EU0MwMDMzMC5KUEc=
        [album_lb_id_i0017] => d0000
        [picfile_i0017] => MjAwNi8wNC0wOC9EU0MwMDMzMS5KUEc=
        [album_lb_id_i0018] => d0000
        [picfile_i0018] => MjAwNi8wNC0wOC9EU0MwMDMzMi5KUEc=
        [album_lb_id_i0019] => d0000
        [picfile_i0019] => MjAwNi8wNC0wOC9EU0MwMDMzMy5KUEc=
        [album_lb_id_i0020] => d0000
        [picfile_i0020] => MjAwNi8wNC0wOC9EU0MwMDMzNC5KUEc=
        [album_lb_id_i0021] => d0000
        [picfile_i0021] => MjAwNi8wNC0wOC9EU0MwMDMzNS5KUEc=
        [album_lb_id_i0022] => d0000
        [picfile_i0022] => MjAwNi8wNC0wOC9EU0MwMDMzNi5KUEc=
        [album_lb_id_i0023] => d0000
        [picfile_i0023] => MjAwNi8wNC0wOC9EU0MwMDMzNy5KUEc=
        [album_lb_id_i0024] => d0000
        [picfile_i0024] => MjAwNi8wNC0wOC9EU0MwMDMzOC5KUEc=
        [album_lb_id_i0025] => d0000
        [picfile_i0025] => MjAwNi8wNC0wOC9EU0MwMDMzOS5KUEc=
        [album_lb_id_i0026] => d0000
        [picfile_i0026] => MjAwNi8wNC0wOC9EU0MwMDM0MC5KUEc=
        [album_lb_id_i0027] => d0000
        [picfile_i0027] => MjAwNi8wNC0wOC9EU0MwMDM0MS5KUEc=
        [album_lb_id_i0028] => d0000
        [picfile_i0028] => MjAwNi8wNC0wOC9EU0MwMDM0Mi5KUEc=
        [album_lb_id_i0029] => d0000
        [picfile_i0029] => MjAwNi8wNC0wOC9EU0MwMDM0My5KUEc=
        [album_lb_id_i0030] => d0000
        [picfile_i0030] => MjAwNi8wNC0wOC9EU0MwMDM0NC5KUEc=
        [album_lb_id_i0031] => d0000
        [picfile_i0031] => MjAwNi8wNC0wOC9EU0MwMDM0NS5KUEc=
        [album_lb_id_i0032] => d0000
        [picfile_i0032] => MjAwNi8wNC0wOC9EU0MwMDM0Ni5KUEc=
        [album_lb_id_i0033] => d0000
        [picfile_i0033] => MjAwNi8wNC0wOC9EU0MwMDM0Ny5KUEc=
        [album_lb_id_i0034] => d0000
        [picfile_i0034] => MjAwNi8wNC0wOC9EU0MwMDM0OC5KUEc=
        [album_lb_id_i0035] => d0000
        [picfile_i0035] => MjAwNi8wNC0wOC9EU0MwMDM0OS5KUEc=
        [album_lb_id_i0036] => d0000
        [picfile_i0036] => MjAwNi8wNC0wOC9EU0MwMDM1MC5KUEc=
        [album_lb_id_i0037] => d0000
        [picfile_i0037] => MjAwNi8wNC0wOC9EU0MwMDM1NC5KUEc=
        [album_lb_id_i0038] => d0000
        [picfile_i0038] => MjAwNi8wNC0wOC9EU0MwMDM1NS5KUEc=
        [album_lb_id_i0039] => d0000
        [picfile_i0039] => MjAwNi8wNC0wOC9EU0MwMDM1Ni5KUEc=
        [album_lb_id_i0040] => d0000
        [picfile_i0040] => MjAwNi8wNC0wOC9EU0MwMDM1OS5KUEc=
        [album_lb_id_i0041] => d0000
        [picfile_i0041] => MjAwNi8wNC0wOC9EU0MwMDM2MC5KUEc=
        [album_lb_id_i0042] => d0000
        [picfile_i0042] => MjAwNi8wNC0wOC9EU0MwMDM2MS5KUEc=
        [album_lb_id_i0043] => d0000
        [picfile_i0043] => MjAwNi8wNC0wOC9EU0MwMDM2Mi5KUEc=
        [album_lb_id_i0044] => d0000
        [picfile_i0044] => MjAwNi8wNC0wOC9EU0MwMDM2My5KUEc=
        [album_lb_id_i0045] => d0000
        [picfile_i0045] => MjAwNi8wNC0wOC9EU0MwMDM2NC5KUEc=
        [album_lb_id_i0046] => d0000
        [picfile_i0046] => MjAwNi8wNC0wOC9EU0MwMDM2Ni5KUEc=
        [album_lb_id_i0047] => d0000
        [picfile_i0047] => MjAwNi8wNC0wOC9EU0MwMDM2Ny5KUEc=
        [album_lb_id_i0048] => d0000
        [picfile_i0048] => MjAwNi8wNC0wOC9EU0MwMDM2OC5KUEc=
        [album_lb_id_i0049] => d0000
        [picfile_i0049] => MjAwNi8wNC0wOC9EU0MwMDM2OS5KUEc=
        [album_lb_id_i0050] => d0000
        [picfile_i0050] => MjAwNi8wNC0wOC9EU0MwMDM3MC5KUEc=
        [album_lb_id_i0051] => d0000
        [picfile_i0051] => MjAwNi8wNC0wOC9EU0MwMDM3MS5KUEc=
        [album_lb_id_i0052] => d0000
        [picfile_i0052] => MjAwNi8wNC0wOC9EU0MwMDM3Mi5KUEc=
        [album_lb_id_i0053] => d0000
        [picfile_i0053] => MjAwNi8wNC0wOC9EU0MwMDM3My5KUEc=
        [album_lb_id_i0054] => d0000
        [picfile_i0054] => MjAwNi8wNC0wOC9sYW9uMS53bXY=
        [album_lb_id_i0055] => d0000
        [picfile_i0055] => MjAwNi8wNC0wOC9sYW9uMi53bXY=
        [insert] => Insert selected files
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 5.0.4 - OK
    ------------------
    mySQL version: 4.1.18-standard
    ------------------
    Coppermine version: 1.4.2(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
    XPM Support: 1
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    Client API version 4.1.14
    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/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | no value | no value
    sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
    SMTP | localhost | localhost
    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 | 2M | 2M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 3.474 seconds - 15 queries in 0.082 seconds - Album set : ; Meta set: ;
    ******************************

Joachim Müller


jtopping


Joachim Müller

re-read it, especially the section highlighted in red ::)

jtopping

Quote from: GauGau on April 11, 2006, 07:40:21 AM
re-read it, especially the section highlighted in red ::)

oh, i included my test user account in my original post
"www.zztopping.com
user: test
password: test"

and i included the debug info because that test account does not have admin priviledges and thus cannot batch add.

jtopping

weird, i upgraded from 1.4.2 to 1.4.4 just to see if it would help and it completely solved my issue, i dont know the root cause, but im just happy it is fixed! :-)

Joachim Müller

that's why we release new versions: issues from older versions get fixed. In the future, make sure that you're always using the most recent stable version.