Batch Add DP Error Batch Add DP Error
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Batch Add DP Error

Started by -TRshady-, June 28, 2005, 02:13:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

-TRshady-

Hey people, am going through hell trying to get this working and sadly getting nowhere.
I've tried many times trying to get a fresh install of a gallery to work properly with a watermarking mod, but am in the same problem as my main gallery.

The situation is: I have installed a watermarking mod and although having worked before, for some reason batch add has messed up. When I upload files into a folder ( within albums but not within userpics ) they appear fine, but when checking boxes and selecting which album to place them into ... the next screen always shows them up as 'DP'. I then go to the album and check, where I find the image added fine and the 'normal size' watermarked .. but not the fullsize.

I have chosen 'both' in the config but for the problem could also be a server change, I changed hosts about 2 months back, and for the life of me can't remember if the watermark mod was installed on the old host and wether or not it had worked here.

So my questions are:

* Why are the images I've tried batch adding claiming they are duplicate ( when they're not ) but still go through?

* What settings would need to be changed if moving from one host to another that would cause this problem?

* Why isn't the fullsize imagine being watermarked but the normal size getting the treatmebnt only?

Have driven myself crazy trying to sort this, and one thing that can be sure .. is I have not installed the mod one as I've tried repeatedly, and triple checking every code change, along with knowing it was working not to long back.

Would appreciate any kind of help ...

-TRshady-

Quote

Here's the code on the 'Adding new files to gallery' page which presents the Duplicated 'DP' Sign:
Note: As a test I'm trying to batch add just the 1 file ( though have tested many previously with the same error ).





USER:
------------------
Array
(
    [ID] => dc45bedb75454461718298e********
    [am] => 1
    [liv] => Array
        (
           
  • => 999
                [1] => 1000
                [2] => 1001
                [3] => 996
                [4] => 997
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 1
        [user_group] => 1
        [user_active] => YES
        [user_name] => TRshady
        [user_password] => *************
        [user_lastvisit] => 2005-06-28 04:32:30
        [user_regdate] => 2005-04-28 13:11:48
        [user_group_list] =>
        [user_email] =>
        [user_website] =>
        [user_location] =>
        [user_interests] =>
        [user_occupation] =>
        [user_actkey] =>
        [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 cpg133_filetypes;
        [1] => SELECT * FROM cpg133_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '03487b3552245e34855e3493564cefa9'
        [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 cpg133_usergroups WHERE group_id in (1)
        [3] => SELECT group_name FROM  cpg133_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg133_banned WHERE expiry < '2005-06-28 04:39:56'
        [5] => SELECT * FROM cpg133_banned WHERE ip_addr='81.***.*.12' OR ip_addr='81.***.*.12' OR user_id=1
        [6] => SELECT aid, title FROM cpg133_albums WHERE 1
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [d0000] => 29
        [album_lb_id_i0000] => d0000
        [picfile_i0000] => RDEyL2QxMjAxLmpwZw==
        [album_lb_id_i0001] => d0000
        [picfile_i0001] => RDEyL2QxMjAyLmpwZw==
        [album_lb_id_i0002] => d0000
        [picfile_i0002] => RDEyL2QxMjAzLmpwZw==
        [album_lb_id_i0003] => d0000
        [picfile_i0003] => RDEyL2QxMjA0LkpQRw==
        [album_lb_id_i0004] => d0000
        [picfile_i0004] => RDEyL2QxMjA1LmpwZw==
        [album_lb_id_i0005] => d0000
        [picfile_i0005] => RDEyL2QxMjA2LmpwZw==
        [album_lb_id_i0006] => d0000
        [picfile_i0006] => RDEyL2QxMjA3LmpwZw==
        [album_lb_id_i0007] => d0000
        [picfile_i0007] => RDEyL2QxMjA4LmpwZw==
        [album_lb_id_i0008] => d0000
        [picfile_i0008] => RDEyL2QxMjA5LmpwZw==
        [album_lb_id_i0009] => d0000
        [picfile_i0009] => RDEyL2QxMjEwLkpQRw==
        [album_lb_id_i0010] => d0000
        [picfile_i0010] => RDEyL2QxMjExLkpQRw==
        [album_lb_id_i0011] => d0000
        [picfile_i0011] => RDEyL2QxMjEyLkpQRw==
        [album_lb_id_i0012] => d0000
        [picfile_i0012] => RDEyL2QxMjEzLkpQRw==
        [album_lb_id_i0013] => d0000
        [picfile_i0013] => RDEyL2QxMjE0LkpQRw==
        [album_lb_id_i0014] => d0000
        [picfile_i0014] => RDEyL2QxMjE1LkpQRw==
        [album_lb_id_i0015] => d0000
        [picfile_i0015] => RDEyL2QxMjE2LmpwZw==
        [album_lb_id_i0016] => d0000
        [picfile_i0016] => RDEyL2QxMjE3LmpwZw==
        [album_lb_id_i0017] => d0000
        [picfile_i0017] => RDEyL2QxMjE4LmpwZw==
        [album_lb_id_i0018] => d0000
        [picfile_i0018] => RDEyL2QxMjE5LmpwZw==
        [album_lb_id_i0019] => d0000
        [picfile_i0019] => RDEyL2QxMjIwLmpwZw==
        [album_lb_id_i0020] => d0000
        [picfile_i0020] => RDEyL2QxMjIxLmpwZw==
        [album_lb_id_i0021] => d0000
        [picfile_i0021] => RDEyL2QxMjIyLmpwZw==
        [album_lb_id_i0022] => d0000
        [picfile_i0022] => RDEyL2QxMjIzLmpwZw==
        [album_lb_id_i0023] => d0000
        [picfile_i0023] => RDEyL2QxMjI0LmpwZw==
        [album_lb_id_i0024] => d0000
        [picfile_i0024] => RDEyL2QxMjI1LmpwZw==
        [album_lb_id_i0025] => d0000
        [picfile_i0025] => RDEyL2QxMjI2LmpwZw==
        [album_lb_id_i0026] => d0000
        [picfile_i0026] => RDEyL2QxMjI3LmpwZw==
        [album_lb_id_i0027] => d0000
        [picfile_i0027] => RDEyL2QxMjI4LmpwZw==
        [album_lb_id_i0028] => d0000
        [picfile_i0028] => RDEyL2QxMjI5LmpwZw==
        [album_lb_id_i0029] => d0000
        [picfile_i0029] => RDEyL2QxMjMwLmpwZw==
        [album_lb_id_i0030] => d0000
        [picfile_i0030] => RDEyL2QxMjMxLmpwZw==
        [album_lb_id_i0031] => d0000
        [picfile_i0031] => RDEyL2QxMjMyLmpwZw==
        [album_lb_id_i0032] => d0000
        [picfile_i0032] => RDEyL2QxMjMzLmpwZw==
        [album_lb_id_i0033] => d0000
        [picfile_i0033] => RDEyL2QxMjM0LmpwZw==
        [album_lb_id_i0034] => d0000
        [picfile_i0034] => RDEyL2QxMjM1LmpwZw==
        [album_lb_id_i0035] => d0000
        [picfile_i0035] => RDEyL2QxMjM2LmpwZw==
        [album_lb_id_i0036] => d0000
        [picfile_i0036] => RDEyL2QxMjM3LmpwZw==
        [album_lb_id_i0037] => d0000
        [picfile_i0037] => RDEyL2QxMjM4LmpwZw==
        [album_lb_id_i0038] => d0000
        [picfile_i0038] => RDEyL2QxMjM5LmpwZw==
        [album_lb_id_i0039] => d0000
        [picfile_i0039] => RDEyL2QxMjQwLmpwZw==
        [album_lb_id_i0040] => d0000
        [picfile_i0040] => RDEyL2QxMjQxLmpwZw==
        [album_lb_id_i0041] => d0000
        [picfile_i0041] => RDEyL2QxMjQyLmpwZw==
        [album_lb_id_i0042] => d0000
        [picfile_i0042] => RDEyL2QxMjQzLmpwZw==
        [album_lb_id_i0043] => d0000
        [picfile_i0043] => RDEyL2QxMjQ0LmpwZw==
        [album_lb_id_i0044] => d0000
        [picfile_i0044] => RDEyL2QxMjQ1LmpwZw==
        [album_lb_id_i0045] => d0000
        [picfile_i0045] => RDEyL2QxMjQ2LmpwZw==
        [album_lb_id_i0046] => d0000
        [picfile_i0046] => RDEyL2QxMjQ3LmpwZw==
        [album_lb_id_i0047] => d0000
        [picfile_i0047] => RDEyL2QxMjQ4LmpwZw==
        [album_lb_id_i0048] => d0000
        [picfile_i0048] => RDEyL2QxMjQ5LmpwZw==
        [album_lb_id_i0049] => d0000
        [picfile_i0049] => RDEyL2QxMjUwLmpwZw==
        [album_lb_id_i0050] => d0000
        [picfile_i0050] => RDEyL2QxMjUxLmpwZw==
        [album_lb_id_i0051] => d0000
        [picfile_i0051] => RDEyL2QxMjUyLmpwZw==
        [album_lb_id_i0052] => d0000
        [picfile_i0052] => RDEyL2QxMjUzLmpwZw==
        [album_lb_id_i0053] => d0000
        [picfile_i0053] => RDEyL2QxMjU0LmpwZw==
        [album_lb_id_i0054] => d0000
        [picfile_i0054] => RDEyL2QxMjU1LmpwZw==
        [album_lb_id_i0055] => d0000
        [picfile_i0055] => RDEyL2QxMjU2LmpwZw==
        [album_lb_id_i0056] => d0000
        [picfile_i0056] => RDEyL2QxMjU3LmpwZw==
        [album_lb_id_i0057] => d0000
        [picfile_i0057] => RDEyL2QxMjU4LmpwZw==
        [album_lb_id_i0058] => d0000
        [picfile_i0058] => RDEyL2QxMjU5LmpwZw==
        [album_lb_id_i0059] => d0000
        [picfile_i0059] => RDEyL2QxMjYwLmpwZw==
        [album_lb_id_i0060] => d0000
        [picfile_i0060] => RDEyL2QxMjYxLmpwZw==
        [album_lb_id_i0061] => d0000
        [picfile_i0061] => RDEyL2QxMjYyLmpwZw==
        [album_lb_id_i0062] => d0000
        [picfile_i0062] => RDEyL2QxMjYzLmpwZw==
        [album_lb_id_i0063] => d0000
        [picfile_i0063] => RDEyL2QxMjY0LmpwZw==
        [album_lb_id_i0064] => d0000
        [picfile_i0064] => RDEyL2QxMjY1LmpwZw==
        [album_lb_id_i0065] => d0000
        [picfile_i0065] => RDEyL2QxMjY2LmpwZw==
        [album_lb_id_i0066] => d0000
        [picfile_i0066] => RDEyL2QxMjY3LmpwZw==
        [album_lb_id_i0067] => d0000
        [picfile_i0067] => RDEyL2QxMjY4LnBuZw==
        [album_lb_id_i0068] => d0000
        [picfile_i0068] => RDEyL2QxMjY5LmpwZw==
        [album_lb_id_i0069] => d0000
        [picfile_i0069] => RDEyL2QxMjcwLmpwZw==
        [album_lb_id_i0070] => d0000
        [picfile_i0070] => RDEyL2QxMjcxLmpwZw==
        [album_lb_id_i0071] => d0000
        [picfile_i0071] => RDEyL2QxMjcyLmpwZw==
        [album_lb_id_i0072] => d0000
        [picfile_i0072] => RDEyL2QxMjczLmdpZg==
        [album_lb_id_i0073] => d0000
        [picfile_i0073] => RDEyL2QxMjc0LmpwZw==
        [album_lb_id_i0074] => d0000
        [picfile_i0074] => RDEyL2QxMjc1LmpwZw==
        [album_lb_id_i0075] => d0000
        [picfile_i0075] => RDEyL2QxMjc2LmpwZw==
        [album_lb_id_i0076] => d0000
        [picfile_i0076] => RDEyL2QxMjc3LmpwZw==
        [album_lb_id_i0077] => d0000
        [picfile_i0077] => RDEyL2QxMjc4LmpwZw==
        [album_lb_id_i0078] => d0000
        [picfile_i0078] => RDEyL2QxMjc5LmpwZw==
        [album_lb_id_i0079] => d0000
        [picfile_i0079] => RDEyL2QxMjgwLmpwZw==
        [album_lb_id_i0080] => d0000
        [picfile_i0080] => RDEyL2QxMjgxLmpwZw==
        [album_lb_id_i0081] => d0000
        [picfile_i0081] => RDEyL2QxMjgyLmpwZw==
        [album_lb_id_i0082] => d0000
        [picfile_i0082] => RDEyL2QxMjgzLmpwZw==
        [album_lb_id_i0083] => d0000
        [picfile_i0083] => RDEyL2QxMjg0LmpwZw==
        [album_lb_id_i0084] => d0000
        [picfile_i0084] => RDEyL2QxMjg1LmpwZw==
        [album_lb_id_i0085] => d0000
        [picfile_i0085] => RDEyL2QxMjg2LkpQRw==
        [album_lb_id_i0086] => d0000
        [picfile_i0086] => RDEyL2QxMjg3LmpwZw==
        [album_lb_id_i0087] => d0000
        [picfile_i0087] => RDEyL2QxMjg4LmpwZw==
        [album_lb_id_i0088] => d0000
        [picfile_i0088] => RDEyL2QxMjg5LmpwZw==
        [album_lb_id_i0089] => d0000
        [picfile_i0089] => RDEyL2QxMjkwLmpwZw==
        [album_lb_id_i0090] => d0000
        [picfile_i0090] => RDEyL2QxMjkxLmpwZw==
        [album_lb_id_i0091] => d0000
        [picfile_i0091] => RDEyL2QxMjkyLmpwZw==
        [album_lb_id_i0092] => d0000
        [picfile_i0092] => RDEyL2QxMjkzLmpwZw==
        [album_lb_id_i0093] => d0000
        [picfile_i0093] => RDEyL2QxMjk0LmpwZw==
        [album_lb_id_i0094] => d0000
        [picfile_i0094] => RDEyL2QxMjk1LmRi
        [pics] => Array
            (
               
  • => i0095
            )

        [album_lb_id_i0095] => d0000
        [picfile_i0095] => RDEyL2RlYWRkdWNrLmpwZw==
        [insert] => Insert selected files
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.10 - OK
    ------------------
    mySQL version: 4.0.24-standard
    ------------------
    Coppermine version: 1.3.3
    ==========================
    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 1
    Active Links 2
    Client API version 4.0.24
    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
    Compiled Version 1.1.4
    Linked Version 1.1.4
    ==========================
    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/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
    open_basedir | /home/trshady/:/usr/lib/php:/usr/local/lib/php:/tmp | 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 | -1 | -1
    upload_max_filesize | 10M | 10M
    post_max_size | 55M | 55M
    ==========================
    Page generated in 0.121 seconds - 7 queries in 0.002 seconds - Album set :

Nibbler

You'll need to seek support from the mod author, preferably on the thread dealing with the mod.

-TRshady-

The mod author has said the opposite, the duplicate error has nothing to do with the mod and it's coppermine support I'm after   :(

kegobeer

Do you have batch add problems if you don't have the watermark mod applied?
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

-TRshady-

#5
When turning off the mod the same error still applies.  :\'(

( one little related question, on the adding files to gallery results screen ... is clicking on an 'OK' sign suppose to then show a 'DP' sign on a new page? )