problem with batch add problem with batch add
 

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

Started by huwb, March 18, 2008, 05:42:49 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

huwb

I used to use 1.3.3 but was having issues with batch add, i was advised to upgrade to 1.4.14 and this would resolve the issue, but it has not. documentation show this

[Edit GauGau] Replaced hotlinked image with attachment [/Edit]

but I do not get the check boxes and img preview, all I get is the ok option, so I can not select pics and then upload them. when I click on OK it tells me that there are no new images selected, obviously this needs fixing somewhere, can someone please help me

huwb

#1
this is what I see

[Edit GauGau] Replaced hotlinked image with attachment [/Edit]

François Keller

select no for the Browsable interface (recommended) option on the bottom of the upload screen (your screen cap)
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

huwb

#3
here we go

when I click no i get this

[Edit GauGau] Replaced hotlinked image with attachment batchadderror2.jpg [/Edit]

then i click on the link for 3rdbirthdaypics

and I get this

[Edit GauGau] Replaced hotlinked image with attachment batchadderror3.jpg [/Edit]

SaWey

Which means those files are already inserted.

Joachim Müller

1) Stop hotlinking screenshots - attach them instead
2) Do exactly as suggested in the upload troubleshooting section of the docs if you need support
3) Read the docs before asking questions

huwb

Quote from: SaWey on March 18, 2008, 06:56:56 PM
Which means those files are already inserted.

but the files are not because they are loaded directly to my ftp from my digital camera and have never been on the internet before, let alone on my copermine page

huwb

Quote from: Joachim Müller on March 19, 2008, 07:31:20 AM
1) Stop hotlinking screenshots - attach them instead
2) Do exactly as suggested in the upload troubleshooting section of the docs if you need support
3) Read the docs before asking questions

apologies for hotlinking screenshots
I have done exactly what it says in the docs, it states to search for the error message you are getting in the forums, thing is I am not getting an error message, it is stating no new files found, even though these are new files
I explained on another board here that I have uploaded another verision of coppermine in another directory and that is working fine, with batch upload and everything. Initially all I wanted to know if there was an easier way to transfer pics  from one version of coppermine, by changing a code or something in the config files for coppermine, but was advised to upgrade the old version and work on that instead, this I have done.


here is the debugging info that I get when trying to batch upload


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

==========================
USER DATA:
------------------
Array
(
    [user_id] => 50
    [user_name] => HuwB
    [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 cpg133_filetypes; (0.001s)
        [1] => select * from cpg133_plugins order by priority asc; (0s)
        [2] => SELECT * FROM cpg133_bridge (0.001s)
        [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 cpg133_usergroups WHERE group_id in (1) (0.001s)
        [4] => SELECT group_name FROM  cpg133_usergroups WHERE group_id= 1 (0s)
        [5] => SELECT user_favpics FROM cpg133_favpics WHERE user_id = 50 (0.001s)
        [6] => DELETE FROM cpg133_banned WHERE expiry < '2008-03-19 13:11:20' (0.017s)
        [7] => SELECT * FROM cpg133_banned WHERE (ip_addr='81.110.111.245' OR ip_addr='81.110.111.245' OR user_id=50) AND brute_force=0 (0.041s)
        [8] => SELECT aid, title FROM cpg133_albums WHERE 1 (0.001s)
        [9] => SELECT COUNT(*) FROM cpg133_pictures WHERE approved = 'NO' (0s)
        [10] => SELECT filepath, filename FROM cpg133_pictures WHERE filepath LIKE '3rd birthday/3rdbirthdaypics%' (0.192s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
        [startdir] => 3rd birthday/3rdbirthdaypics
        [earchnew_php?startdir] => 3rd birthday
        [3rdbirthdaypics] =>
    )

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.8 - OK
    ------------------
    mySQL version: 4.0.27-max-log
    ------------------
    Coppermine version: 1.4.16(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.32
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/run/mysqld/mysqld.sock
    MYSQL_INCLUDE -I/usr//include/mysql
    MYSQL_LIBS -L/usr//lib -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.2.3
    Linked Version 1.2.3
    ==========================
    Server restrictions (safe mode)?
    ------------------
    Directive | Local Value | Master Value
    safe_mode | Off | Off
    safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
    safe_mode_gid | Off | Off
    safe_mode_include_dir | no value | no value
    safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
    sql.safe_mode | Off | Off
    disable_functions | no value | no value
    file_uploads | On | On
    include_path | .:/usr/lib/php | .:/usr/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 | 50000 | 50000
    max_input_time | -1 | -1
    upload_max_filesize | 20M | 20M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.431 seconds - 11 queries in 0.255 seconds - Album set : ; Meta set: ;

Nibbler

Avoid spaces in your folder names.

huwb

Quote from: Nibbler on March 19, 2008, 02:23:10 PM
Avoid spaces in your folder names.

thank you for the advice, I have changed the one folder that had a space in it but I still get an error.

Joachim Müller

Do exactly as suggested in the upload troubleshooting section of the docs. You did the opposite of what is suggested there and posted your debug_output.