[Closed]: FTP doesn't work [Closed]: FTP doesn't work
 

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

[Closed]: FTP doesn't work

Started by LACA Rio, June 03, 2008, 03:37:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LACA Rio

Hi,

I made a folder at "mysite/gallery/albums" and upload 110 new pictures with my FTP program.
I went to my gallery and create a new album to receive those pictures.
When I go to the gallery and click FTP I can choose all the files and select the right album, but when I click "Insert Select Files" the browser goes (return) to the page to select a directory again (mysite/gallery/searchnew.php?insert=1).

If I try to upload one by one, it works fine...

Any help?


Regards,

Luiz
Luiz Araujo

just_some_guy

Moved to cpg 1.4 upload.

I assume you are using the batch add feature.

Please read - http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
                - http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_support
                - http://forum.coppermine-gallery.net/index.php/topic,24088.0.html
             
Also, enable Debug Mode.
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

LACA Rio

Thanks Some Guy,

I will read the topics.

Here is the debug:


USER:
------------------
Array
(
    [ID] => 92531c79a8b7ea1a6e22cd2e9052c472
    [am] => 1
    [lang] => portuguese
    [liv] => Array
        (
        )

    [lap] => 2
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => laca
    [groups] => Array
        (
            [0] => 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] => Administratores
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg135_filetypes; (0s)
    [1] => select * from cpg135_plugins order by priority asc; (0s)
    [2] => delete from `clubedos_banco`.cpg135_sessions where time<1212498409 and remember=0; (0.001s)
    [3] => delete from `clubedos_banco`.cpg135_sessions where time<1211292409; (0s)
    [4] => select user_id from `clubedos_banco`.cpg135_sessions where session_id = '96839a45b9796977564e505127fd11af' (0s)
    [5] => select user_id as id, user_password as password from `clubedos_banco`.cpg135_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 `clubedos_banco`.cpg135_users AS u INNER JOIN `clubedos_banco`.cpg135_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `clubedos_banco`.cpg135_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 cpg135_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg135_usergroups WHERE group_id= 1 (0s)
    [10] => update `clubedos_banco`.cpg135_sessions set time='1212502009' where session_id = '96839a45b9796977564e505127fd11af' (0s)
    [11] => SELECT user_favpics FROM cpg135_favpics WHERE user_id = 1 (0s)
    [12] => DELETE FROM cpg135_banned WHERE expiry < '2008-06-03 11:06:50' (0s)
    [13] => SELECT * FROM cpg135_banned WHERE (ip_addr='189.25.118.115' OR ip_addr='189.25.118.115' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT aid, title FROM cpg135_albums WHERE 1 (0s)
    [15] => SELECT COUNT(*) FROM cpg135_pictures WHERE approved = 'NO' (0s)
)

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

==========================
POST :
------------------
Array
(
    [d0000] => 0
    [album_lb_id_i0000] => d0000
    [picfile_i0000] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEyNjguanBn
    [album_lb_id_i0001] => d0000
    [picfile_i0001] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEyNzAuanBn
    [album_lb_id_i0002] => d0000
    [picfile_i0002] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEyNzEuanBn
    [album_lb_id_i0003] => d0000
    [picfile_i0003] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEyNzIuanBn
    [album_lb_id_i0004] => d0000
    [picfile_i0004] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEyNzQuanBn
    [album_lb_id_i0005] => d0000
    [picfile_i0005] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEyNzUuanBn
    [album_lb_id_i0006] => d0000
    [picfile_i0006] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEyNzcuanBn
    [album_lb_id_i0007] => d0000
    [picfile_i0007] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEyNzguanBn
    [album_lb_id_i0008] => d0000
    [picfile_i0008] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEyODAuanBn
    [album_lb_id_i0009] => d0000
    [picfile_i0009] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEyODIuanBn
    [album_lb_id_i0010] => d0000
    [picfile_i0010] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEyODMuanBn
    [album_lb_id_i0011] => d0000
    [picfile_i0011] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEyODYuanBn
    [album_lb_id_i0012] => d0000
    [picfile_i0012] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEyODcuanBn
    [album_lb_id_i0013] => d0000
    [picfile_i0013] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEyODkuanBn
    [album_lb_id_i0014] => d0000
    [picfile_i0014] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEyOTEuanBn
    [album_lb_id_i0015] => d0000
    [picfile_i0015] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEyOTMuanBn
    [album_lb_id_i0016] => d0000
    [picfile_i0016] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEyOTYuanBn
    [album_lb_id_i0017] => d0000
    [picfile_i0017] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEyOTguanBn
    [album_lb_id_i0018] => d0000
    [picfile_i0018] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEyOTkuanBn
    [album_lb_id_i0019] => d0000
    [picfile_i0019] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzMDMuanBn
    [album_lb_id_i0020] => d0000
    [picfile_i0020] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzMDYuanBn
    [album_lb_id_i0021] => d0000
    [picfile_i0021] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzMDkuanBn
    [album_lb_id_i0022] => d0000
    [picfile_i0022] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzMTAuanBn
    [album_lb_id_i0023] => d0000
    [picfile_i0023] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzMTEuanBn
    [album_lb_id_i0024] => d0000
    [picfile_i0024] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzMTIuanBn
    [album_lb_id_i0025] => d0000
    [picfile_i0025] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzMTMuanBn
    [album_lb_id_i0026] => d0000
    [picfile_i0026] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzMTQuanBn
    [album_lb_id_i0027] => d0000
    [picfile_i0027] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzMTYuanBn
    [album_lb_id_i0028] => d0000
    [picfile_i0028] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzMTguanBn
    [album_lb_id_i0029] => d0000
    [picfile_i0029] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzMjAuanBn
    [album_lb_id_i0030] => d0000
    [picfile_i0030] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzMjEuanBn
    [album_lb_id_i0031] => d0000
    [picfile_i0031] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzMjIuanBn
    [album_lb_id_i0032] => d0000
    [picfile_i0032] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzMjQuanBn
    [album_lb_id_i0033] => d0000
    [picfile_i0033] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzMjUuanBn
    [album_lb_id_i0034] => d0000
    [picfile_i0034] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzMjcuanBn
    [album_lb_id_i0035] => d0000
    [picfile_i0035] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzMzEuanBn
    [album_lb_id_i0036] => d0000
    [picfile_i0036] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzMzIuanBn
    [album_lb_id_i0037] => d0000
    [picfile_i0037] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzMzYuanBn
    [album_lb_id_i0038] => d0000
    [picfile_i0038] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzMzcuanBn
    [album_lb_id_i0039] => d0000
    [picfile_i0039] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzMzkuanBn
    [pics] => Array
        (
            [0] => i0040
            [1] => i0041
            [2] => i0042
            [3] => i0043
            [4] => i0044
            [5] => i0045
            [6] => i0046
            [7] => i0047
            [8] => i0048
            [9] => i0049
            [10] => i0050
            [11] => i0051
            [12] => i0052
            [13] => i0053
            [14] => i0054
            [15] => i0055
            [16] => i0056
            [17] => i0057
            [18] => i0058
            [19] => i0059
            [20] => i0060
            [21] => i0061
            [22] => i0062
            [23] => i0063
            [24] => i0064
            [25] => i0065
            [26] => i0066
            [27] => i0067
            [28] => i0068
            [29] => i0069
            [30] => i0070
            [31] => i0071
            [32] => i0072
            [33] => i0073
            [34] => i0074
            [35] => i0075
            [36] => i0076
            [37] => i0077
            [38] => i0078
            [39] => i0079
        )

    [album_lb_id_i0040] => d0000
    [picfile_i0040] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzNDEuanBn
    [album_lb_id_i0041] => d0000
    [picfile_i0041] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzNDguanBn
    [album_lb_id_i0042] => d0000
    [picfile_i0042] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzNTAuanBn
    [album_lb_id_i0043] => d0000
    [picfile_i0043] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzNTEuanBn
    [album_lb_id_i0044] => d0000
    [picfile_i0044] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzNTMuanBn
    [album_lb_id_i0045] => d0000
    [picfile_i0045] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzNTUuanBn
    [album_lb_id_i0046] => d0000
    [picfile_i0046] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzNTYuanBn
    [album_lb_id_i0047] => d0000
    [picfile_i0047] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzNjAuanBn
    [album_lb_id_i0048] => d0000
    [picfile_i0048] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzNjUuanBn
    [album_lb_id_i0049] => d0000
    [picfile_i0049] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzNzIuanBn
    [album_lb_id_i0050] => d0000
    [picfile_i0050] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzNzQuanBn
    [album_lb_id_i0051] => d0000
    [picfile_i0051] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzNzUuanBn
    [album_lb_id_i0052] => d0000
    [picfile_i0052] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzNzYuanBn
    [album_lb_id_i0053] => d0000
    [picfile_i0053] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzNzguanBn
    [album_lb_id_i0054] => d0000
    [picfile_i0054] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzODAuanBn
    [album_lb_id_i0055] => d0000
    [picfile_i0055] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzODIuanBn
    [album_lb_id_i0056] => d0000
    [picfile_i0056] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzODQuanBn
    [album_lb_id_i0057] => d0000
    [picfile_i0057] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzODUuanBn
    [album_lb_id_i0058] => d0000
    [picfile_i0058] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzODcuanBn
    [album_lb_id_i0059] => d0000
    [picfile_i0059] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzODguanBn
    [album_lb_id_i0060] => d0000
    [picfile_i0060] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzODkuanBn
    [album_lb_id_i0061] => d0000
    [picfile_i0061] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzOTEuanBn
    [album_lb_id_i0062] => d0000
    [picfile_i0062] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzOTIuanBn
    [album_lb_id_i0063] => d0000
    [picfile_i0063] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzOTUuanBn
    [album_lb_id_i0064] => d0000
    [picfile_i0064] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzOTcuanBn
    [album_lb_id_i0065] => d0000
    [picfile_i0065] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzEzOTkuanBn
    [album_lb_id_i0066] => d0000
    [picfile_i0066] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzE0MDIuanBn
    [album_lb_id_i0067] => d0000
    [picfile_i0067] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzE0MDUuanBn
    [album_lb_id_i0068] => d0000
    [picfile_i0068] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzE0MDYuanBn
    [album_lb_id_i0069] => d0000
    [picfile_i0069] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzE0MTAuanBn
    [album_lb_id_i0070] => d0000
    [picfile_i0070] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzE0MTEuanBn
    [album_lb_id_i0071] => d0000
    [picfile_i0071] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzE0MTIuanBn
    [album_lb_id_i0072] => d0000
    [picfile_i0072] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzE0MTQuanBn
    [album_lb_id_i0073] => d0000
    [picfile_i0073] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzE0MTYuanBn
    [album_lb_id_i0074] => d0000
    [picfile_i0074] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzE0MTkuanBn
    [album_lb_id_i0075] => d0000
    [picfile_i0075] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzE0MjAuanBn
    [album_lb_id_i0076] => d0000
    [picfile_i0076] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzE0MjEuanBn
    [album_lb_id_i0077] => d0000
    [picfile_i0077] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzE0MjUuanBn
    [album_lb_id_i0078] => d0000
    [picfile_i0078] => ZGlhX2Rhc19tYWVzXzIwMDgvSU1HXzE0MjYuanBn
    [album_lb_id_i0079] => d0000
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.5 - OK
------------------
mySQL version: 4.1.22-standard-log
------------------
Coppermine version: 1.4.18(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 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.22
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
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.1.2
Linked Version 1.2.1.2
==========================
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 | symlink,shell_exec,exec,proc_close,proc_open,popen,system,dl,passthru,escapeshellarg,escapeshellcmd | symlink,shell_exec,exec,proc_close,proc_open,popen,system,dl,passthru,escapeshellarg,escapeshellcmd
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 0.466 seconds - 16 queries in 0.001 seconds - Album set : ; Meta set: ;


Regards,

Luiz
Luiz Araujo

Hein Traag

JSg did not ask for the debug to be posted. Read the documentation.. it says clearly you are asked to do so.
Follow the steps in the docs and let us know what the outcome is.

LACA Rio

Hein Traag,

Sorry for post, but when we enabled debug mode, an info debug apear telling us to copy and past...
Maybe a traduction error...

I am reading the topics.... untill now, no solution for me...
Do I have to create a new user? How to send you a password?

Regards,

Luiz
Luiz Araujo

Joachim Müller


LACA Rio

Thanks Joachim,

I couldn't fix the problem reading the topics...I solved the problem sending all 109 images manually!!!

Like I said, the problem is only at the FTP module.

Regards,

Luiz
Luiz Araujo

LACA Rio

Hi,

I finally found the solution for send more than 100 files using FTP.
I just sent 50 files each time. I have to create folders with only 50 pictures in each one. If I send all the pictures ( I was trying 137 files in a same folder) to one unique folder the FTP doesn't work, like I said at my closed post about this.

I hope I can help others with the same problem.

Regards,

Luiz
Luiz Araujo