Batch Add showing Red x's Batch Add showing Red x's
 

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 showing Red x's

Started by energy0m, November 01, 2004, 01:43:49 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

energy0m

ok so ive been trolling the forums all day and havent found an answer to this ...

batch add isnt working  ??? all i get is a bunch of red X's when i select the folder to add oddly enough though when the filename is clicked the link opens the pic in new window, so i know its seeing the pic path ??? ....

my files & folders are set to 777 and are inside the album folder NOT inside the userpics folder oh also all files names are without spaces and lowercase

I also tried using the XP_publish util and i get similar results..... no pictures are ever added it will add the new album name to the correct category buit the pics dont upload

I have uninstalled and reinstalled coppermine twice today ....

i turned debugging and notices on and i get this for the output any help appreciated!!! the gallery lives at www.pack121.com/album


Notice: Undefined variable: fullimagesize in /home/cubpack/public_html/album/searchnew.php on line 136

Notice: Undefined variable: fullimagesize in /home/cubpack/public_html/album/searchnew.php on line 137

Notice: Undefined variable: fullimagesize in /home/cubpack/public_html/album/searchnew.php on line 136

Notice: Undefined variable: fullimagesize in /home/cubpack/public_html/album/searchnew.php on line 137

Notice: Undefined variable: fullimagesize in /home/cubpack/public_html/album/searchnew.php on line 136

Notice: Undefined variable: fullimagesize in /home/cubpack/public_html/album/searchnew.php on line 137

Notice: Undefined variable: fullimagesize in /home/cubpack/public_html/album/searchnew.php on line 136

Notice: Undefined variable: fullimagesize in /home/cubpack/public_html/album/searchnew.php on line 137



USER:
------------------
Array
(
   [ID] => aeb5a01ea71a7bed2553e744a0b5b311
   [am] => 1
)

==========================
USER DATA:
------------------
Array
(
   [user_id] => 1
   [user_group] => 1
   [user_active] => YES
   [user_name] => cubpack
   [user_password] => ********
   [user_lastvisit] => 2004-10-31 17:04:29
   [user_regdate] => 2004-10-30 19:58: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] => 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
(
   [0] => 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) = 'ddefb1bf3a3f51c8fbbc25b2911b08d2'
   [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 < 1099269227
   [5] => SELECT * FROM cpg132_banned WHERE ip_addr='24.252.68.112' OR ip_addr='24.252.68.112' OR user_id=1
   [6] => SELECT filepath, filename FROM cpg132_pictures WHERE filepath LIKE 'BugDay%'
   [7] => SELECT aid, title FROM cpg132_albums WHERE category = 0 ORDER BY title
   [8] => SELECT DISTINCT a.aid as aid, a.title as title, c.name as cname FROM cpg132_albums as a, cpg132_categories as c WHERE a.category = c.cid AND a.category < '10000' ORDER BY cname,title
   [9] => SELECT aid, CONCAT('(', user_name, ') ', title) AS title FROM cpg132_albums AS a INNER JOIN cpg132_users AS u ON category = (10000 + user_id) ORDER BY title
)

==========================
GET :
------------------
Array
(
   [startdir] => BugDay
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.9 - OK
------------------
mySQL version: 4.0.22-standard
------------------
Coppermine version: 1.3.2
==========================
Module: gd
------------------
module doesn't exist
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.0.7
Linked Version 1.2.0.7
==========================
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 | 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 | -1 | -1
upload_max_filesize | 2M | 2M
post_max_size | 55M | 55M
==========================
Page generated in 0.047 seconds - 10 queries in 0.003 seconds - Album set :

Casper

Can you actually upload at all, using the upload link?
Try setting your groups to upload single files only, then upload a pic.  If it fails, you should get a better error message.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

toobig

I'm having the same problem it's not giveing me an error, what happen it i have the list of all my pics that show up lets say 45pics in the batch and only 30 are showing up actual pics. The rest are red x's now when i click on those it shows the pic, but when i go to insert it only inserts the pics that were actualy ahowing and the ones with red x's still don't show up.  is there any way to get around this??

Joachim Müller

do as Casper suggested as well.

Joachim

chriz

Same problem here, tried single upload too. Just red x's and no pictures in album.

In the debug window it says:
gd
module missing
mysql
module missing

but I run several scripts that rely heavily on mysql and gd (and even imagemagick)

What could be the problem?

Chriz

Joachim Müller

with "single file uploads" enabled in "groups" settings, "debug mode" enabled for everyone, post a link and test user account (non-admin) with upload privileges so we can check.

Joachim

chriz

website is: http://albums.photoplus.nu
user: test
user password: test1234
group: registered (single file upload)
debug mode: enabled

Thanks

Joachim Müller

appears you don't have GD - refer to the faq.

Joachim

chriz

I am using imagemagick. I'll do some more research on this problem.

Thanks for the tip,
Chriz

wlanni

I too have the same problem. Oddly enough, coppermine was working fine about two weeks ago when I first installed it. However, now the exact same images, other images, images in other album directories, etc. all won't show up at any size over 1000px wide. But at or under 1000px wide, it works. Basically I tried one at 1300x974, 602kb and it worked. But at 1400x1050, 685kb it doesn't work.

I'm on broadband, and these things are taking less than a few seconds to process.

In config, my max width/height of intermediate: 400
Max size for uploaded files (KB)     1600
Max width or height for uploaded pictures/videos (pixels):         2048

Folders are:
albums 777
willamberathome 777
halloween2004 777

filename is:
img_0881.jpg

I checked version of coppermine:
Configuration - Coppermine Photo Gallery 1.3.2

I checked for GD:
GD Support    enabled
GD Version    bundled (2.0.23 compatible)
FreeType Support    enabled
FreeType Linkage    with freetype
T1Lib Support    enabled
GIF Read Support    enabled
JPG Support    enabled
PNG Support    enabled
WBMP Support    enabled
XBM Support    enabled


I enabled a test account, set it to single file upload, tried to upload a file and when I clicked submit I got a totally blank page at this url:
http://www.artbeforehygiene.com/gallery/db_input.php

so no php errors for me from there. However, here is the php log from uploading the file that was too big:

USER:
------------------
Array
(
    [ID] => a44a8e2475aedb15cb1ec982b5544094
    [am] => 1
    [liv] => Array
        (
           
  • => 2
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 1
        [user_group] => 1
        [user_active] => YES
        [user_name] => wlanni
        [user_password] => ********
        [user_lastvisit] => 2004-11-19 04:27:09
        [user_regdate] => 2004-10-15 04:07:50
        [user_group_list] =>
        [user_email] =>
        [user_website] => http://www.artbeforehygiene.com
        [user_location] => Seattle, WA
        [user_interests] =>
        [user_occupation] => Artist/Designer
        [user_actkey] =>
        [disk_max] => 20000
        [disk_min] => 20000
        [can_rate_pictures] => 1
        [can_send_ecards] => 1
        [ufc_max] => 0
        [ufc_min] => 0
        [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] => 0
        [group_quota] => 20000
        [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) = 'xxxxxxxxx'
        [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 < 1100858664
        [5] => SELECT * FROM cpg132_banned WHERE ip_addr='216.160.98.232' OR ip_addr='216.160.98.232' OR user_id=1
        [6] => SELECT filepath, filename FROM cpg132_pictures WHERE filepath LIKE 'willamberathome/halloween2004%'
        [7] => SELECT aid, title FROM cpg132_albums WHERE category = 0 ORDER BY title
        [8] => SELECT DISTINCT a.aid as aid, a.title as title, c.name as cname FROM cpg132_albums as a, cpg132_categories as c WHERE a.category = c.cid AND a.category < '10000' ORDER BY cname,title
        [9] => SELECT aid, CONCAT('(', user_name, ') ', title) AS title FROM cpg132_albums AS a INNER JOIN cpg132_users AS u ON category = (10000 + user_id) ORDER BY title
    )

    ==========================
    GET :
    ------------------
    Array
    (
        [startdir] => willamberathome/halloween2004
    )

    ==========================
    POST :
    ------------------
    Array
    (
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.8 - OK
    ------------------
    mySQL version: 3.23.56
    ------------------
    Coppermine version: 1.3.2
    ==========================
    Module: gd
    ------------------
    GD Support enabled
    GD Version bundled (2.0.23 compatible)
    FreeType Support enabled
    FreeType Linkage with freetype
    T1Lib Support enabled
    GIF Read 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.49
    MYSQL_MODULE_TYPE builtin
    MYSQL_SOCKET /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 | no value | no value
    file_uploads | On | On
    include_path | ./:/usr/local/lib/php | ./:/usr/local/lib/php
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | me@localhost.com | me@localhost.com
    sendmail_path | /bin/sendmail -t -i | /bin/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 | 8M | 8M
    ==========================
    Page generated in 0.105 seconds - 10 queries in 0.005 seconds - Album set :

    My website is:

    http://www.artbeforehygiene.com/gallery
    login: test
    pass; test

Joachim Müller