Troubles with ftp upload Troubles with ftp upload
 

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

Main Menu

Troubles with ftp upload

Started by Woshee, December 31, 2008, 12:56:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Woshee

Hello,

I've got some troubles while uploading files using the ftp function of coppermine.
I upload photos to an directory in the album folder without problems.
I select this folder in coppermine, but while I confirm, every photo is not uploaded.

For example, I try to upload 165 photos, but only 9 gets a blue OK. For every others, it's written "Click for details or to reload" (translated from French, so it may not be the exact English sentence) . When I click it, it goes to a page where only a blue ok is displayed on the upper left hand corner. If I push back, around 10 more photos are marked with a blue ok (but not necessarily the one I clicked before.

So it's possible to upload every photo by clicking them again and again, but it's not really easy.

I don't remember it was doing it at the beginning. I updated to the last version, and tried some little tricks found on the forum, but everything seems ok in the configuration (for exemple GD2 is slected).

Any idea?

Thanks, and sorry for my english ;)



Joachim Müller

Read board rules. Read docs, especially the section "asking for support on upload issues".

Woshee

Hello, sorry, I didn't see that.

So, you can access the site there: www.lafrit.fr/coppermine
The testing user is:
Name: upload
Pass: test

I've done what is in Upload troubleshooting.

Here is the debug entry when I try to do mass ftp upload (23 photos, 1,6 mo total):
Thank you for your help

USER:
------------------
Array
(
    [ID] => d555d9415c182c8e1efd9c0543c1fedb
    [am] => 1
    [lang] => french
    [liv] => Array
        (
            [0] => 369
            [1] => 370
            [2] => 371
            [3] => 375
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => admin
    [groups] => Array
        (
            [0] => 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
(
    [0] => SELECT extension, mime, content, player FROM copper_filetypes; (0.001s)
    [1] => select * from copper_plugins order by priority asc; (0.001s)
    [2] => delete from `608325-3`.copper_sessions where time<1231058463 and remember=0; (0s)
    [3] => delete from `608325-3`.copper_sessions where time<1229852463; (0s)
    [4] => select user_id from `608325-3`.copper_sessions where session_id = 'f25c886182d5121347d92e47049e22da' (0s)
    [5] => select user_id as id, user_password as password from `608325-3`.copper_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 `608325-3`.copper_users AS u INNER JOIN `608325-3`.copper_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `608325-3`.copper_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 copper_usergroups WHERE group_id in (1) (0.001s)
    [9] => SELECT group_name FROM  copper_usergroups WHERE group_id= 1 (0s)
    [10] => update `608325-3`.copper_sessions set time='1231062063' where session_id = 'f25c886182d5121347d92e47049e22da' (0s)
    [11] => SELECT user_favpics FROM copper_favpics WHERE user_id = 1 (0.001s)
    [12] => DELETE FROM copper_banned WHERE expiry < '2009-01-04 09:41:03' (0s)
    [13] => SELECT * FROM copper_banned WHERE (ip_addr='79.85.86.48' OR ip_addr='79.85.86.48' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT aid, title FROM copper_albums WHERE 1 (0.001s)
    [15] => SELECT COUNT(*) FROM copper_pictures WHERE approved = 'NO' (0.001s)
)

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

==========================
POST :
------------------
Array
(
    [d0000] => 20
    [pics] => Array
        (
            [0] => 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
        )

    [album_lb_id_i0000] => d0000
    [picfile_i0000] => MTMxMjA4LXRvdXJuYWkvYWZ0ZXIvUGhvdG9fMjc3LmpwZw==
    [album_lb_id_i0001] => d0000
    [picfile_i0001] => MTMxMjA4LXRvdXJuYWkvYWZ0ZXIvUGhvdG9fMjgxLmpwZw==
    [album_lb_id_i0002] => d0000
    [picfile_i0002] => MTMxMjA4LXRvdXJuYWkvYWZ0ZXIvUGhvdG9fMjgzLmpwZw==
    [album_lb_id_i0003] => d0000
    [picfile_i0003] => MTMxMjA4LXRvdXJuYWkvYWZ0ZXIvUGhvdG9fMjg0LmpwZw==
    [album_lb_id_i0004] => d0000
    [picfile_i0004] => MTMxMjA4LXRvdXJuYWkvYWZ0ZXIvUGhvdG9fMjkyLmpwZw==
    [album_lb_id_i0005] => d0000
    [picfile_i0005] => MTMxMjA4LXRvdXJuYWkvYWZ0ZXIvUGhvdG9fMjkzLmpwZw==
    [album_lb_id_i0006] => d0000
    [picfile_i0006] => MTMxMjA4LXRvdXJuYWkvYWZ0ZXIvUGhvdG9fMjk1LmpwZw==
    [album_lb_id_i0007] => d0000
    [picfile_i0007] => MTMxMjA4LXRvdXJuYWkvYWZ0ZXIvUGhvdG9fMjk2LmpwZw==
    [album_lb_id_i0008] => d0000
    [picfile_i0008] => MTMxMjA4LXRvdXJuYWkvYWZ0ZXIvUGhvdG9fMjk4LmpwZw==
    [album_lb_id_i0009] => d0000
    [picfile_i0009] => MTMxMjA4LXRvdXJuYWkvYWZ0ZXIvUGhvdG9fMzA0LmpwZw==
    [album_lb_id_i0010] => d0000
    [picfile_i0010] => MTMxMjA4LXRvdXJuYWkvYWZ0ZXIvUGhvdG9fMzA3LmpwZw==
    [album_lb_id_i0011] => d0000
    [picfile_i0011] => MTMxMjA4LXRvdXJuYWkvYWZ0ZXIvUGhvdG9fMzA4LmpwZw==
    [album_lb_id_i0012] => d0000
    [picfile_i0012] => MTMxMjA4LXRvdXJuYWkvYWZ0ZXIvUGhvdG9fMzEzLmpwZw==
    [album_lb_id_i0013] => d0000
    [picfile_i0013] => MTMxMjA4LXRvdXJuYWkvYWZ0ZXIvUGhvdG9fMzE1LmpwZw==
    [album_lb_id_i0014] => d0000
    [picfile_i0014] => MTMxMjA4LXRvdXJuYWkvYWZ0ZXIvUGhvdG9fMzE2LmpwZw==
    [album_lb_id_i0015] => d0000
    [picfile_i0015] => MTMxMjA4LXRvdXJuYWkvYWZ0ZXIvUGhvdG9fMzE4LmpwZw==
    [album_lb_id_i0016] => d0000
    [picfile_i0016] => MTMxMjA4LXRvdXJuYWkvYWZ0ZXIvUGhvdG9fMzI1LmpwZw==
    [album_lb_id_i0017] => d0000
    [picfile_i0017] => MTMxMjA4LXRvdXJuYWkvYWZ0ZXIvUGhvdG9fMzI2LmpwZw==
    [album_lb_id_i0018] => d0000
    [picfile_i0018] => MTMxMjA4LXRvdXJuYWkvYWZ0ZXIvUGhvdG9fMzI5LmpwZw==
    [album_lb_id_i0019] => d0000
    [picfile_i0019] => MTMxMjA4LXRvdXJuYWkvYWZ0ZXIvUGhvdG9fMzM0LmpwZw==
    [album_lb_id_i0020] => d0000
    [picfile_i0020] => MTMxMjA4LXRvdXJuYWkvYWZ0ZXIvUGhvdG9fMzUyLmpwZw==
    [album_lb_id_i0021] => d0000
    [picfile_i0021] => MTMxMjA4LXRvdXJuYWkvYWZ0ZXIvUGhvdG9fMzYxLmpwZw==
    [album_lb_id_i0022] => d0000
    [picfile_i0022] => MTMxMjA4LXRvdXJuYWkvYWZ0ZXIvUGhvdG9fMzY1LmpwZw==
    [insert] => Insérer les photos sélectionnées
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.9 - OK
------------------
mySQL version: 5.0.24a-log
------------------
Coppermine version: 1.4.19(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 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 | 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 | .:/usr/local/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/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 | -1 | -1
upload_max_filesize | 8M | 8M
post_max_size | 16M | 16M
==========================
Page generated in 0.199 seconds - 16 queries in 0.006 seconds - Album set : ; Meta set: ;

Joachim Müller

Quote from: Woshee on December 31, 2008, 12:56:06 PM
For example, I try to upload 165 photos, but only 9 gets a blue OK. For every others, it's written "Click for details or to reload" (translated from French, so it may not be the exact English sentence) .
Just reload the page in your browser using the F5-key instead of clicking all icons.

Quote from: Woshee on January 04, 2009, 10:43:34 AM
www.lafrit.fr/coppermine
The testing user is:
Name: upload
Pass: test
http upload worked as expected, see http://www.lafrit.fr/coppermine/displayimage.php?pos=-662

Quote from: Woshee on January 04, 2009, 10:43:34 AM
Here is the debug entry when I try to do mass ftp upload (23 photos, 1,6 mo total):
Nobody asked for it.


François Keller

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