Problem uploading files to album from FTP after upgrade to 1.4.26 Problem uploading files to album from FTP after upgrade to 1.4.26
 

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

Problem uploading files to album from FTP after upgrade to 1.4.26

Started by Meckie, April 19, 2010, 10:38:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Meckie

Hi,
After manually upgrade to 1.4.26 I can´t upload files that I have transfer with FTP into the imagefolder.
(I have upgrade all the files except the imagefolder where all the old pictures is stored. I can se all the old files as pictures but not the new files after upgrade and no thumbnails are generated. I have also updated the database whith the admin tool, se attached file)

When I use Batch upload the name of the files i showed but no thumbnail. see link

http://www.wedin.info/gallery/displayimage.php?album=lastup&cat=0&pos=1

When I select them anyway I´ve got no errors. But it dont works.  see link

http://www.wedin.info/gallery/displayimage.php?album=lastup&cat=0&pos=2

The manually upload with just one file at the time using the Coppermine Gallery is working.


www.wedin.info/gallery

What have I missed?

//Meckie

Joachim Müller

Quote from: Meckie on April 19, 2010, 10:38:58 PMWhat have I missed?
Asking for support on upload issues. Additionally: post a deep link to one of the files you're having issues with when batch-adding.

Meckie

Here is a deep link to one of my pictures that I have trouble with to upload to the gallery.

http://www.wedin.info/gallery/displayimage.php?fullsize=1&picfile=images%2F2010%2F100417%2F100417%2F2257_3.jpg

User: Test
Login: Test10

----------------------------------------------------------------
USER:
------------------
Array
(
    [ID] =>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    [am] => 1
    [lang] => swedish
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] =>  xxxxxxxxxxxxxxxxxxx
    [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 cpg1410_filetypes; (0.001s)
        [1] => select * from cpg1410_plugins order by priority asc; (0s)
        [2] => delete from `wedin_info`.cpg1410_sessions where time<1272833086 and remember=0; (0.002s)
        [3] => delete from `wedin_info`.cpg1410_sessions where time<1271627086; (0.001s)
        [4] => select user_id from `wedin_info`.cpg1410_sessions where session_id = 'aa35143b351797457efc7a86af4ca3fd' (0.001s)
        [5] => select user_id as id, user_password as password from `wedin_info`.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 `wedin_info`.cpg1410_users AS u INNER JOIN `wedin_info`.cpg1410_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
        [7] => SELECT user_group_list FROM `wedin_info`.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) (0.001s)
        [9] => SELECT group_name FROM  cpg1410_usergroups WHERE group_id= 1 (0s)
        [10] => update `wedin_info`.cpg1410_sessions set time='1272836686' where session_id = 'aa35143b351797457efc7a86af4ca3fd' (0s)
        [11] => SELECT user_favpics FROM cpg1410_favpics WHERE user_id = 1 (0.001s)
        [12] => DELETE FROM cpg1410_banned WHERE expiry < '2010-05-02 21:44:46' (0.001s)
        [13] => SELECT * FROM cpg1410_banned WHERE (ip_addr='85.11.246.175' OR ip_addr='85.11.246.175' OR user_id=1) AND brute_force=0 (0.001s)
        [14] => SELECT aid, title FROM cpg1410_albums WHERE 1 (0.001s)
        [15] => SELECT COUNT(*) FROM cpg1410_pictures WHERE approved = 'NO' (0s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [d0000] => 92
        [album_lb_id_i0000] => d0000
        [picfile_i0000] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMjQ5XzMuanBn
        [pics] => Array
            (
               
  • => i0001
                [1] => i0002
                [2] => i0003
                [3] => i0004
                [4] => i0005
                [5] => i0006
                [6] => i0007
                [7] => i0008
                [8] => i0009
                [9] => i0010
                [10] => i0011
                [11] => i0012
                [12] => i0013
                [13] => i0014
                [14] => i0015
                [15] => i0016
                [16] => i0017
                [17] => i0018
                [18] => i0019
                [19] => i0020
                [20] => i0021
                [21] => i0022
                [22] => i0023
                [23] => i0024
            )

        [album_lb_id_i0001] => d0000
        [picfile_i0001] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMjQ5XzEzLmpwZw==
        [album_lb_id_i0002] => d0000
        [picfile_i0002] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMjUwXzMuanBn
        [album_lb_id_i0003] => d0000
        [picfile_i0003] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMjU0XzMuanBn
        [album_lb_id_i0004] => d0000
        [picfile_i0004] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMjU3XzMuanBn
        [album_lb_id_i0005] => d0000
        [picfile_i0005] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMjU3XzEzLmpwZw==
        [album_lb_id_i0006] => d0000
        [picfile_i0006] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMjU5XzMuanBn
        [album_lb_id_i0007] => d0000
        [picfile_i0007] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMjYzXzMuanBn
        [album_lb_id_i0008] => d0000
        [picfile_i0008] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMjY4XzMuanBn
        [album_lb_id_i0009] => d0000
        [picfile_i0009] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMjY4XzIzLmpwZw==
        [album_lb_id_i0010] => d0000
        [picfile_i0010] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMjcwXzMuanBn
        [album_lb_id_i0011] => d0000
        [picfile_i0011] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMjcxXzMuanBn
        [album_lb_id_i0012] => d0000
        [picfile_i0012] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMjcyXzMuanBn
        [album_lb_id_i0013] => d0000
        [picfile_i0013] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMjc3XzMuanBn
        [album_lb_id_i0014] => d0000
        [picfile_i0014] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMjc3XzEzLmpwZw==
        [album_lb_id_i0015] => d0000
        [picfile_i0015] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMjg3XzMuanBn
        [album_lb_id_i0016] => d0000
        [picfile_i0016] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMjg4XzMuanBn
        [album_lb_id_i0017] => d0000
        [picfile_i0017] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMjkyXzMuanBn
        [album_lb_id_i0018] => d0000
        [picfile_i0018] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMjk1XzMuanBn
        [album_lb_id_i0019] => d0000
        [picfile_i0019] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMjk5XzMuanBn
        [album_lb_id_i0020] => d0000
        [picfile_i0020] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMzAwXzMuanBn
        [album_lb_id_i0021] => d0000
        [picfile_i0021] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMzAxXzMuanBn
        [album_lb_id_i0022] => d0000
        [picfile_i0022] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMzA3XzMuanBn
        [album_lb_id_i0023] => d0000
        [picfile_i0023] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMzE0XzMuanBn
        [album_lb_id_i0024] => d0000
        [picfile_i0024] => aW1hZ2VzLzIwMTAvMTAwNDE3LzEwMDQxNy8yMzE4XzMuanBn
        [insert] => Lägg till markerade filer
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 5.3.2 - OK
    ------------------
    mySQL version: 5.0.32-Debian_7etch11-log
    ------------------
    Coppermine version: 1.4.26(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.34 compatible)
    FreeType Support: 1
    FreeType Linkage: with freetype
    T1Lib Support: 1
    GIF Read Support: 1
    GIF Create Support: 1
    JPEG 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 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
    Stream Wrapper support compress.zlib://
    Stream Filter support zlib.inflate, zlib.deflate
    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 | /surely/you/must/be/joking | /surely/you/must/be/joking
    safe_mode_gid | Off | Off
    safe_mode_include_dir | /customers/wedin.info:/usr/share/php | /customers/wedin.info:/usr/share/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, exec, system, popen, proc_open, proc_nice, shell_exec, passthru, dl | disk_total_space, diskfreespace, exec, system, popen, proc_open, proc_nice, shell_exec, passthru, dl
    file_uploads | On | On
    include_path | .:/usr/share/php | .:/usr/share/php
    open_basedir | /customers/wedin.info/wedin.info:/var/www/diagnostics:/usr/share/php | /customers/wedin.info/wedin.info:/var/www/diagnostics:/usr/share/php
    ==========================
    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 0.137 seconds - 16 queries in 0.011 seconds - Album set : ; Meta set: ;

Joachim Müller


  • You haven't done as suggested: the number of file and uri upload fields is not set as it should be. It's set to 5/3 (which is default), but should be 1/0
  • Instead of the nonsense you posted, a deep link would be http://www.wedin.info/gallery/albums/images/2010/100417/100417/2257_3.jpg
  • Nobody asked for debug_output to be posted. The docs I refered to say you mustn't post debug_output unless requested

You have done everything the other way round, which usually is a result of only cursorily reading the docs. Re-read the docs section I refered to above extra-carefully and do as suggested.