Batch Add Broken Batch Add Broken
 

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

Batch Add Broken

Started by ollietrex, May 30, 2005, 11:48:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ollietrex

Hello

I have transfered my gallery www.ollietrex.co.uk/gallery/ from a windows 2003 sever to a unix fedora core 3 server and everything works perfectly apart from the batch add where the add image wont work, when you select what album to add them into no previws are shown only broken images and when you run the batch add all of the boxes that would show the status show broken images sign and when i click on them they just show

Quote<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8"></HEAD>
<BODY></BODY></HTML>

My debug stuff is this

Quote
USER:
------------------
Array
(
    [ID] => d352f0320d052299e28f0990226874f6
    [am] => 1
    [liv] => Array
        (
           
  • => 1
                [1] => 3
                [2] => 36
                [3] => 35
                [4] => 161
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 1
        [user_group] => 1
        [user_active] => YES
        [user_name] => admin
        [user_password] => ********
        [user_lastvisit] => 2005-05-26 19:14:22
        [user_regdate] => 2005-04-06 16:10:06
        [user_group_list] =>
        [user_email] =>
        [user_website] =>
        [user_location] =>
        [user_interests] =>
        [user_occupation] =>
        [user_actkey] =>
        [user_favpics] =>
        [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
        [groups] => Array
            (
                [1] => 1
            )

    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content FROM cpg132_filetypes;
        [1] => SELECT * FROM cpg132_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '68a2f8f8b287a2d5e9a93fa93a299f56'
        [2] => 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 cpg132_usergroups WHERE group_id in (1)
        [3] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg132_banned WHERE expiry < 1117489854
        [5] => SELECT * FROM cpg132_banned WHERE ip_addr='82.152.150.150' OR ip_addr='82.152.150.150' OR user_id=1
    )

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

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

        [album_lb_id_i0000] => d0000
        [picfile_i0000] => dXBsb2FkcGljcy9Ob3J0aHdlc3RXZWVrZW5kL1BJQ1QxMjQxLkpQRw==
        [album_lb_id_i0001] => d0000
        [picfile_i0001] => dXBsb2FkcGljcy9Ob3J0aHdlc3RXZWVrZW5kL1BJQ1QxMjQyLkpQRw==
        [album_lb_id_i0002] => d0000
        [picfile_i0002] => dXBsb2FkcGljcy9Ob3J0aHdlc3RXZWVrZW5kL1BJQ1QxMjQzLkpQRw==
        [album_lb_id_i0003] => d0000
        [picfile_i0003] => dXBsb2FkcGljcy9Ob3J0aHdlc3RXZWVrZW5kL1BJQ1QxMjQ3LkpQRw==
        [album_lb_id_i0004] => d0000
        [picfile_i0004] => dXBsb2FkcGljcy9Ob3J0aHdlc3RXZWVrZW5kL1BJQ1QxMjQ5LkpQRw==
        [album_lb_id_i0005] => d0000
        [picfile_i0005] => dXBsb2FkcGljcy9Ob3J0aHdlc3RXZWVrZW5kL1BJQ1QxMjY3LkpQRw==
        [album_lb_id_i0006] => d0000
        [picfile_i0006] => dXBsb2FkcGljcy9Ob3J0aHdlc3RXZWVrZW5kL1BJQ1QxMjcwLkpQRw==
        [album_lb_id_i0007] => d0000
        [picfile_i0007] => dXBsb2FkcGljcy9Ob3J0aHdlc3RXZWVrZW5kL1BJQ1QxMjc2LkpQRw==
        [album_lb_id_i0008] => d0000
        [picfile_i0008] => dXBsb2FkcGljcy9Ob3J0aHdlc3RXZWVrZW5kL1BJQ1QxMjc5LkpQRw==
        [album_lb_id_i0009] => d0000
        [picfile_i0009] => dXBsb2FkcGljcy9Ob3J0aHdlc3RXZWVrZW5kL1BJQ1QxMjgyLkpQRw==
        [album_lb_id_i0010] => d0000
        [picfile_i0010] => dXBsb2FkcGljcy9Ob3J0aHdlc3RXZWVrZW5kL1BJQ1QxMjgzLkpQRw==
        [album_lb_id_i0011] => d0000
        [picfile_i0011] => dXBsb2FkcGljcy9Ob3J0aHdlc3RXZWVrZW5kL1BJQ1QxMjg0LkpQRw==
        [album_lb_id_i0012] => d0000
        [picfile_i0012] => dXBsb2FkcGljcy9Ob3J0aHdlc3RXZWVrZW5kL1BJQ1QxMjg4LkpQRw==
        [album_lb_id_i0013] => d0000
        [picfile_i0013] => dXBsb2FkcGljcy9Ob3J0aHdlc3RXZWVrZW5kL1BJQ1QxMjkwLkpQRw==
        [album_lb_id_i0014] => d0000
        [picfile_i0014] => dXBsb2FkcGljcy9Ob3J0aHdlc3RXZWVrZW5kL1BJQ1QxMjkxLkpQRw==
        [album_lb_id_i0015] => d0000
        [picfile_i0015] => dXBsb2FkcGljcy9Ob3J0aHdlc3RXZWVrZW5kL1BJQ1QxMjk0LkpQRw==
        [album_lb_id_i0016] => d0000
        [picfile_i0016] => dXBsb2FkcGljcy9Ob3J0aHdlc3RXZWVrZW5kL1BJQ1QxMzAwLkpQRw==
        [album_lb_id_i0017] => d0000
        [picfile_i0017] => dXBsb2FkcGljcy9Ob3J0aHdlc3RXZWVrZW5kL1BJQ1QxMzEwLkpQRw==
        [album_lb_id_i0018] => d0000
        [picfile_i0018] => dXBsb2FkcGljcy9Ob3J0aHdlc3RXZWVrZW5kL1BJQ1QxMzE0LkpQRw==
        [album_lb_id_i0019] => d0000
        [picfile_i0019] => dXBsb2FkcGljcy9Ob3J0aHdlc3RXZWVrZW5kL1BJQ1QxMzE2LkpQRw==
        [album_lb_id_i0020] => d0000
        [picfile_i0020] => dXBsb2FkcGljcy9Ob3J0aHdlc3RXZWVrZW5kL1BJQ1QxMzE3LkpQRw==
        [insert] => Insert selected files
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.11 - OK
    ------------------
    mySQL version: 3.23.58
    ------------------
    Coppermine version: 1.3.2
    ==========================
    Module: gd
    ------------------
    GD Support enabled
    GD Version bundled (2.0.28 compatible)
    FreeType Support enabled
    FreeType Linkage with freetype
    GIF Read Support enabled
    GIF Create Support enabled
    JPG Support enabled
    PNG Support enabled
    WBMP Support enabled
    XBM Support enabled
    ==========================
    Module: mysql
    ------------------
    Active Persistent Links 0
    Active Links 1
    Client API version 3.23.58
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/lib/mysql/mysql.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    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 | no value | no value
    file_uploads | On | On
    include_path | .:/usr/share/pear | .:/usr/share/pear
    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.248 seconds - 6 queries in 0.004 seconds - Album set :
Thanks for any help

Ollie

Joachim Müller

please post a non-admin test user account with upload privileges.

ollietrex

Hello

I have created a user: test with pass: test. the upload works fine when you are do it from the online form but when you use FTP and batch add it does not work.

Ollie

Joachim Müller

test user account doesn't work for me. I'm out of this thread.