Advanced search  

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

Pages: [1]   Go Down

Author Topic: batch uploading problems  (Read 2585 times)

0 Members and 1 Guest are viewing this topic.

fvanloon

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
batch uploading problems
« on: December 31, 2006, 02:06:43 pm »

Hi guys,

I have some trouble of batch uploading files to my coppermine album.

- I have uploaded all the files with a FTP client, to a directory under my albums.
- When I try to batch load to pictures to an album, I if the option to select the directory.
- After selecting the directory, I see all the files in the directory
- After clicking, on the Ok button, there is the message: No new file was found

Uploading files through HTTP works fine.

I have created a test user:
User: Test
Password: testuser

Deeplink to a file which cannot be uploaded to an album:
http://www.v-loon.com/coppermine/albums/v_loon/braze/braze2006_000.jpg

Also CHMOD is set 777 on the albums directory (and all sub-dirs and files)


What is wrong, or what am I doing wrong ?


Debug info:

USER:
------------------
Array
(
    [ID] => 281dad6afd797f99249bb52521440b62
    [am] => 1
    [lang] => english_gb
    [liv] => Array
        (
           
  • => 331
  • [1] => 334
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
       
[user_id] => 1
    [user_name] => admin
    [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] => 1
    [num_URI_upload] => 1
    [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 cpg1410_filetypes; (0s)
  • [1] => select * from cpg1410_plugins order by priority asc; (0s)
        [2] => delete from `v_loon_com`.cpg1410_sessions where time<1167566169 and remember=0; (0.001s)
        [3] => delete from `v_loon_com`.cpg1410_sessions where time<1166360169; (0s)
        [4] => select user_id from `v_loon_com`.cpg1410_sessions where session_id=md5("63467a79ddf578924353c9fa0df285d006a37ef9db39a5c27df8d6cdbd2ea4dd"); (0.001s)
        [5] => select user_id as id, user_password as password from `v_loon_com`.cpg1410_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 `v_loon_com`.cpg1410_users AS u INNER JOIN `v_loon_com`.cpg1410_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `v_loon_com`.cpg1410_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 cpg1410_usergroups WHERE group_id in (1) (0s)
        [9] => SELECT group_name FROM  cpg1410_usergroups WHERE group_id= 1 (0s)
        [10] => update `v_loon_com`.cpg1410_sessions set time='1167569769' where session_id=md5('63467a79ddf578924353c9fa0df285d006a37ef9db39a5c27df8d6cdbd2ea4dd'); (0.001s)
        [11] => SELECT user_favpics FROM cpg1410_favpics WHERE user_id = 1 (0.001s)
        [12] => DELETE FROM cpg1410_banned WHERE expiry < '2006-12-31 13:56:11' (0.001s)
        [13] => SELECT * FROM cpg1410_banned WHERE (ip_addr='85.144.233.225' OR ip_addr='85.144.233.225' OR user_id=1) AND brute_force=0 (0s)
        [14] => SELECT aid, title FROM cpg1410_albums WHERE 1 (0s)
        [15] => SELECT COUNT(*) FROM cpg1410_pictures WHERE approved = 'NO' (0s)
        [16] => SELECT filepath, filename FROM cpg1410_pictures WHERE filepath LIKE 'braze%' (0s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
       
[startdir] => braze
)

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

==========================
VERSION INFO :
------------------
PHP version: 4.4.4 - OK
------------------
mySQL version: 4.0.24_Debian-10sarge2-log
------------------
Coppermine version: 1.4.10(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
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 4.0.24
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.2
Linked Version 1.2.2
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
safe_mode_exec_dir | /surely/you/must/be/joking | /surely/you/must/be/joking
safe_mode_gid | Off | Off
safe_mode_include_dir | /usr/lib/php | /usr/lib/php
safe_mode_exec_dir | /surely/you/must/be/joking | /surely/you/must/be/joking
sql.safe_mode | Off | Off
disable_functions | disk_total_space, diskfreespace | disk_total_space, diskfreespace
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 | me@localhost.com | me@localhost.com
sendmail_path | /usr/sbin/b1sendmail -t -i | /usr/sbin/b1sendmail -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 | 12M | 12M
post_max_size | 12M | 12M
==========================
Page generated in 2.065 seconds - 17 queries in 0.005 seconds - Album set : ; Meta set: ;



« Last Edit: January 09, 2007, 09:21:02 pm by Nibbler »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: batch uploading problems
« Reply #1 on: January 01, 2007, 07:14:39 pm »

http uploads work as expected (see http://www.v-loon.com/coppermine/displayimage.php?pos=-344).
Try FTP-uploading the file into a sub-folder of it's own, then try again to batch-add.
Logged

fvanloon

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: batch uploading problems
« Reply #2 on: January 03, 2007, 09:25:59 pm »

I have created a sub folder under the braze folder.
I can see the file, when I am browsing to the directory. When I click OK to add all the files in that directory , in this cause only one file, there is the error: No new file was found again...

Deeplink to image in de subfoler: http://www.v-loon.com/coppermine/albums/v_loon/braze/test/braze2006_001.jpg

If needed I can post the debug info, when I'm trying to batch-add the file.

Logged

fvanloon

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: batch uploading problems
« Reply #3 on: January 09, 2007, 09:17:08 pm »

"Solved" , did a reinstall of coppermine on the server.

Now it is working fine.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.