Batch Problem Batch Problem
 

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 Problem

Started by jzt451, February 28, 2005, 04:47:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jzt451

I created a album but when I go to batch uploaad & select the album. It says no album selected.

I get one of these for each picture: Notice: Undefined variable: fullimagesize in /home/morphing/public_html/cpg132/searchnew.php on line 136 or 137

Notice: Undefined index: db in /home/morphing/public_html/cpg132/include/media.functions.inc.php on line 51

Notice: Undefined index: db in /home/morphing/public_html/cpg132/include/media.functions.inc.php on line 54

Notice: Undefined index: url_prefix in /home/morphing/public_html/cpg132/include/functions.inc.php on line 1225

Notice: Undefined index: in /home/morphing/public_html/cpg132/include/functions.inc.php on line 1225

Here is my debug info:  USER:
------------------
Array
(
    [ID] => bd27bdb76150ef480234c3478b465a21
    [am] => 1
    [liv] => Array
        (
           
  • => 42
                [1] => 111
                [2] => 322
                [3] => 334
                [4] => 333
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 1
        [user_group] => 1
        [user_active] => YES
        [user_name] => ******
        [user_password] => ********
        [user_lastvisit] => 2005-02-28 09:25:41
        [user_regdate] => 2005-02-25 14:52:05
        [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] => 1
        [priv_upl_need_approval] => 1
        [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) = 'f4e427ce0d56003582e9a0df91cf9fb1'
        [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 < 1109605433
        [5] => SELECT * FROM cpg132_banned WHERE ip_addr='68.97.178.126' OR ip_addr='68.97.178.126' OR user_id=1
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [d0000] => 0
        [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
                [21] => i0021
                [22] => i0022
                [23] => i0023
                [24] => i0024
                [25] => i0025
                [26] => i0026
                [27] => i0027
                [28] => i0028
                [29] => i0029
                [30] => i0030
                [31] => i0031
                [32] => i0032
                [33] => i0033
                [34] => i0034
                [35] => i0035
                [36] => i0036
                [37] => i0037
                [38] => i0038
                [39] => i0039
                [40] => i0040
                [41] => i0041
                [42] => i0042
                [43] => i0043
            )

        [album_lb_id_i0000] => d0000
        [picfile_i0000] => RXAgNS9TY3JlZW5TaG90MDAxLmpwZw==
        [album_lb_id_i0001] => d0000
        [picfile_i0001] => RXAgNS9TY3JlZW5TaG90MDAzLmpwZw==
        [album_lb_id_i0002] => d0000
        [picfile_i0002] => RXAgNS9TY3JlZW5TaG90MDA0LmpwZw==
        [album_lb_id_i0003] => d0000
        [picfile_i0003] => RXAgNS9TY3JlZW5TaG90MDA1LmpwZw==
        [album_lb_id_i0004] => d0000
        [picfile_i0004] => RXAgNS9TY3JlZW5TaG90MDA2LmpwZw==
        [album_lb_id_i0005] => d0000
        [picfile_i0005] => RXAgNS9TY3JlZW5TaG90MDA3LmpwZw==
        [album_lb_id_i0006] => d0000
        [picfile_i0006] => RXAgNS9TY3JlZW5TaG90MDA5LmpwZw==
        [album_lb_id_i0007] => d0000
        [picfile_i0007] => RXAgNS9TY3JlZW5TaG90MDEwLmpwZw==
        [album_lb_id_i0008] => d0000
        [picfile_i0008] => RXAgNS9TY3JlZW5TaG90MDExLmpwZw==
        [album_lb_id_i0009] => d0000
        [picfile_i0009] => RXAgNS9TY3JlZW5TaG90MDEyLmpwZw==
        [album_lb_id_i0010] => d0000
        [picfile_i0010] => RXAgNS9TY3JlZW5TaG90MDEzLmpwZw==
        [album_lb_id_i0011] => d0000
        [picfile_i0011] => RXAgNS9TY3JlZW5TaG90MDE0LmpwZw==
        [album_lb_id_i0012] => d0000
        [picfile_i0012] => RXAgNS9TY3JlZW5TaG90MDE1LmpwZw==
        [album_lb_id_i0013] => d0000
        [picfile_i0013] => RXAgNS9TY3JlZW5TaG90MDE2LmpwZw==
        [album_lb_id_i0014] => d0000
        [picfile_i0014] => RXAgNS9TY3JlZW5TaG90MDE3LmpwZw==
        [album_lb_id_i0015] => d0000
        [picfile_i0015] => RXAgNS9TY3JlZW5TaG90MDE4LmpwZw==
        [album_lb_id_i0016] => d0000
        [picfile_i0016] => RXAgNS9TY3JlZW5TaG90MDE5LmpwZw==
        [album_lb_id_i0017] => d0000
        [picfile_i0017] => RXAgNS9TY3JlZW5TaG90MDIwLmpwZw==
        [album_lb_id_i0018] => d0000
        [picfile_i0018] => RXAgNS9TY3JlZW5TaG90MDIxLmpwZw==
        [album_lb_id_i0019] => d0000
        [picfile_i0019] => RXAgNS9TY3JlZW5TaG90MDIyLmpwZw==
        [album_lb_id_i0020] => d0000
        [picfile_i0020] => RXAgNS9TY3JlZW5TaG90MDI0LmpwZw==
        [album_lb_id_i0021] => d0000
        [picfile_i0021] => RXAgNS9TY3JlZW5TaG90MDI1LmpwZw==
        [album_lb_id_i0022] => d0000
        [picfile_i0022] => RXAgNS9TY3JlZW5TaG90MDI2LmpwZw==
        [album_lb_id_i0023] => d0000
        [picfile_i0023] => RXAgNS9TY3JlZW5TaG90MDI3LmpwZw==
        [album_lb_id_i0024] => d0000
        [picfile_i0024] => RXAgNS9TY3JlZW5TaG90MDI4LmpwZw==
        [album_lb_id_i0025] => d0000
        [picfile_i0025] => RXAgNS9TY3JlZW5TaG90MDI5LmpwZw==
        [album_lb_id_i0026] => d0000
        [picfile_i0026] => RXAgNS9TY3JlZW5TaG90MDMwLmpwZw==
        [album_lb_id_i0027] => d0000
        [picfile_i0027] => RXAgNS9TY3JlZW5TaG90MDMxLmpwZw==
        [album_lb_id_i0028] => d0000
        [picfile_i0028] => RXAgNS9TY3JlZW5TaG90MDMyLmpwZw==
        [album_lb_id_i0029] => d0000
        [picfile_i0029] => RXAgNS9TY3JlZW5TaG90MDMzLmpwZw==
        [album_lb_id_i0030] => d0000
        [picfile_i0030] => RXAgNS9TY3JlZW5TaG90MDM0LmpwZw==
        [album_lb_id_i0031] => d0000
        [picfile_i0031] => RXAgNS9TY3JlZW5TaG90MDM1LmpwZw==
        [album_lb_id_i0032] => d0000
        [picfile_i0032] => RXAgNS9TY3JlZW5TaG90MDM2LmpwZw==
        [album_lb_id_i0033] => d0000
        [picfile_i0033] => RXAgNS9TY3JlZW5TaG90MDM3LmpwZw==
        [album_lb_id_i0034] => d0000
        [picfile_i0034] => RXAgNS9TY3JlZW5TaG90MDM4LmpwZw==
        [album_lb_id_i0035] => d0000
        [picfile_i0035] => RXAgNS9TY3JlZW5TaG90MDM5LmpwZw==
        [album_lb_id_i0036] => d0000
        [picfile_i0036] => RXAgNS9TY3JlZW5TaG90MDQwLmpwZw==
        [album_lb_id_i0037] => d0000
        [picfile_i0037] => RXAgNS9TY3JlZW5TaG90MDQxLmpwZw==
        [album_lb_id_i0038] => d0000
        [picfile_i0038] => RXAgNS9TY3JlZW5TaG90MDQyLmpwZw==
        [album_lb_id_i0039] => d0000
        [picfile_i0039] => RXAgNS9TY3JlZW5TaG90MDQzLmpwZw==
        [album_lb_id_i0040] => d0000
        [picfile_i0040] => RXAgNS9TY3JlZW5TaG90MDQ0LmpwZw==
        [album_lb_id_i0041] => d0000
        [picfile_i0041] => RXAgNS9TY3JlZW5TaG90MDQ1LmpwZw==
        [album_lb_id_i0042] => d0000
        [picfile_i0042] => RXAgNS9TY3JlZW5TaG90MDQ2LmpwZw==
        [album_lb_id_i0043] => d0000
        [picfile_i0043] => RXAgNS9TY3JlZW5TaG90MDQ3LmpwZw==
        [album_lb_id_i0044] => d0000
        [picfile_i0044] => RXAgNS9UaHVtYnMuZGI=
        [insert] => Insert selected files
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.10 - OK
    ------------------
    mySQL version: 4.0.23-standard
    ------------------
    Coppermine version: 1.3.2
    ==========================
    Module: gd
    ------------------
    GD Support enabled
    GD Version bundled (2.0.28 compatible)
    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 2
    Active Links 3
    Client API version 3.23.49
    MYSQL_MODULE_TYPE builtin
    MYSQL_SOCKET /var/tmp/mysql.sock
    MYSQL_INCLUDE no value
    MYSQL_LIBS no value
    ==========================
    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 | system | system
    file_uploads | On | On
    include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
    open_basedir | /home/morphing:/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 | 2M | 2M
    post_max_size | 55M | 55M
    ==========================
    Page generated in 0.075 seconds - 6 queries in 0.004 seconds - Album set :

Joachim Müller

Quote from: jzt451 on February 28, 2005, 04:47:32 PM
I created a album but when I go to batch uploaad & select the album. It says no album selected.
Well, why don't you do as the error message suggests and choose an album from the dropdown list before you continue? You have to create at least one album your uploads can go to before that of course, as described in the documentation. The notices can safely be ignored if they don't mean anything to you, or (even better) be switched off in coppermine config. The debug info is irrelevant in this case as well - only post it if a supporter requests you to do so.

Joachim

jzt451

I do choose a album but it says I didn't.

Joachim Müller

please post a link to your site, and a test user account (non-admin) with upload privileges.

Joachim

jzt451

#4
http://morphinggrid.com/ user: test  pass: test

It only does it in match.

Joachim Müller

I logged in with the login data you provided and tried to create an album. I got the error message
QuoteWhile executing query "INSERT INTO cpg132_albums (category, title, uploads, pos) VALUES ('10002', 'New album', 'NO',  '1')" on 0

mySQL error: Duplicate entry '0' for key 1
- this leads to the conclusion that there's something fishy with your database. See the posting http://forum.coppermine-gallery.net/index.php?topic=4391.0 and report if this fixes issues for you.

Joachim

jzt451

That worked Thank You.  But how did it get changed?

Joachim Müller

hm, I have no idea - did you upgrade from a very old version of coppermine, or did you create a fresh install using the cpg1.3.2 package? Of course you can never rule out that it was something that you accidentally did. Another option might be your host doing maintenance works on the mySQL side and breaking things there (happens more often than you would think). I wouldn't investigate too much about the "why" (this is something I have given up long ago), I'd just smile and leave it as is. After all, you seem to just have started your coppermine gallery (300+ pics with 1000+ views), so you probably haven't lost many visitors...

Joachim

jzt451

You were right it was my host. How did you figure out how many view I've had?

Nibbler

It says so on your page - "314 files in 6 albums with 0 comments viewed 1727 times" :)