forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: DadGum on March 16, 2006, 07:44:15 am

Title: Batch Add Files not adding to Album
Post by: DadGum on March 16, 2006, 07:44:15 am
I uploaded about 40 pics to my server, and then ran the batch add files process. The first time through, I inadvertanly added these images to the wrong Album. So I simply deleted it. However now when I try to run through the process again everything seems to work until the point I get to selecting an Album, and then inserting the files. When I click on Insert selected Files, It flys through the process and all I get are broken images saying the file may be corrupt. However it worked the first time for all files...I can still view these files from the server it just won't add them to the any album.

Any ideas?
Title: Re: Batch Add Files not adding to Album
Post by: DadGum on March 16, 2006, 06:42:27 pm
Does anyone have any ideas on how to get my pictures added to a photo album? Or should I just remove this and use another program?
Title: Re: Batch Add Files not adding to Album
Post by: DadGum on March 16, 2006, 07:55:05 pm
Here is the debug.

USER:
------------------
Array
(
    [ID] => 0f90d870ca8942875af5e556e62226c0
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => dadgum
    [groups] => Array
        (
           
        )

    [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
(
    [insert] => 1
)

==========================
POST :
------------------
Array
(
    [d0000] => 13
    [pics] => Array
        (
            [album_lb_id_i0000] => d0000
    [picfile_i0000] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMS5KUEc=
    [album_lb_id_i0001] => d0000
    [picfile_i0001] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMy5KUEc=
    [album_lb_id_i0002] => d0000
    [picfile_i0002] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvNC5KUEc=
    [album_lb_id_i0003] => d0000
    [picfile_i0003] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvNS5KUEc=
    [album_lb_id_i0004] => d0000
    [picfile_i0004] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvNy5KUEc=
    [album_lb_id_i0005] => d0000
    [picfile_i0005] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvOC5KUEc=
    [album_lb_id_i0006] => d0000
    [picfile_i0006] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvOS5KUEc=
    [album_lb_id_i0007] => d0000
    [picfile_i0007] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMTAuSlBH
    [album_lb_id_i0008] => d0000
    [picfile_i0008] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMTEuSlBH
    [album_lb_id_i0009] => d0000
    [picfile_i0009] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMTIuSlBH
    [album_lb_id_i0010] => d0000
    [picfile_i0010] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMTMuSlBH
    [album_lb_id_i0011] => d0000
    [picfile_i0011] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMTQuSlBH
    [album_lb_id_i0012] => d0000
    [picfile_i0012] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMTUuSlBH
    [album_lb_id_i0013] => d0000
    [picfile_i0013] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMTYuSlBH
    [album_lb_id_i0014] => d0000
    [picfile_i0014] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMTcuSlBH
    [album_lb_id_i0015] => d0000
    [picfile_i0015] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMTguSlBH
    [album_lb_id_i0016] => d0000
    [picfile_i0016] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMTkuSlBH
    [album_lb_id_i0017] => d0000
    [picfile_i0017] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMjEuSlBH
    [album_lb_id_i0018] => d0000
    [picfile_i0018] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMjIuSlBH
    [album_lb_id_i0019] => d0000
    [picfile_i0019] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMjMuSlBH
    [album_lb_id_i0020] => d0000
    [picfile_i0020] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMjQuSlBH
    [album_lb_id_i0021] => d0000
    [picfile_i0021] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMjUuSlBH
    [album_lb_id_i0022] => d0000
    [picfile_i0022] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMjYuSlBH
    [album_lb_id_i0023] => d0000
    [picfile_i0023] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMjcuSlBH
    [album_lb_id_i0024] => d0000
    [picfile_i0024] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMjkuSlBH
    [album_lb_id_i0025] => d0000
    [picfile_i0025] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMzAuSlBH
    [album_lb_id_i0026] => d0000
    [picfile_i0026] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMzUuSlBH
    [album_lb_id_i0027] => d0000
    [picfile_i0027] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMzYuSlBH
    [album_lb_id_i0028] => d0000
    [picfile_i0028] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvMzkuSlBH
    [album_lb_id_i0029] => d0000
    [picfile_i0029] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvNDAuSlBH
    [album_lb_id_i0030] => d0000
    [picfile_i0030] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvNDEuSlBH
    [album_lb_id_i0031] => d0000
    [picfile_i0031] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvNDIuSlBH
    [album_lb_id_i0032] => d0000
    [picfile_i0032] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvNDMuSlBH
    [album_lb_id_i0033] => d0000
    [picfile_i0033] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvNDQuSlBH
    [album_lb_id_i0034] => d0000
    [picfile_i0034] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvNDUuSlBH
    [album_lb_id_i0035] => d0000
    [picfile_i0035] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvNDYuSlBH
    [album_lb_id_i0036] => d0000
    [picfile_i0036] => SGlraW5nIFRyaXBzL0JsYWNrX0hhd2sgVHJhaWwvNDcuSlBH
    [insert] => Insert selected files
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.2 - OK
------------------
mySQL version: 4.0.25-standard-log
------------------
Coppermine version: 1.4.4(stable)
==========================
Module: GD
------------------
GD Version: 2.0 or higher
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support:
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.0.25
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
Compiled Version 1.2.1
Linked Version 1.2.1
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
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 | 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 | 50000 | 50000
max_input_time | -1 | -1
upload_max_filesize | 20M | 20M
post_max_size | 8M | 8M
==========================
Page generated in 1.577 seconds - 16 queries in 0.002 seconds - Album set : ; Meta set: ;
Title: Re: Batch Add Files not adding to Album
Post by: Nibbler on March 16, 2006, 08:02:48 pm
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Title: Re: Batch Add Files not adding to Album
Post by: DadGum on March 16, 2006, 08:32:19 pm
Yes, I have read through that. Sorry for posting the debug too early.

testuser
test

http://www.mychronicles.org/cpg144/
Title: Re: Batch Add Files not adding to Album
Post by: Nibbler on March 16, 2006, 08:36:05 pm
Please configure your groups page upload options as requested in the guide.
Title: Re: Batch Add Files not adding to Album
Post by: DadGum on March 16, 2006, 10:44:10 pm
I thought i did. I can login as testuser and upload a file to one of my Albums. Everything is set up the way it requests except "Set the upload form configuration for all groups to "Single file uploads only" which I cannot find...
Title: Re: Batch Add Files not adding to Album
Post by: Nibbler on March 16, 2006, 10:49:52 pm
Set the upload form configuration for all groups to "Single file uploads only" (set File upload boxes to "1", URI upload boxes to "0" and No. of boxes to "fixed")

This is important, as it provides extra detail on what the problem is.
Title: Re: Batch Add Files not adding to Album
Post by: DadGum on March 16, 2006, 11:10:35 pm
Yes, that should be done already. I just checked and all groups except Banned are set that way.
Title: Re: Batch Add Files not adding to Album
Post by: DadGum on March 17, 2006, 04:34:21 pm
Should I just remove and reinstall it? If so, is there anything I need to do to make sure the removal is complete? I am on a host provider, I am not running my own websever.
Title: Re: Batch Add Files not adding to Album
Post by: Joachim Müller on March 17, 2006, 05:44:25 pm
can't see a point in a fresh install. HTTP uploading works fine though (see http://www.mychronicles.org/cpg144/displayimage.php?pos=-11). I suggest re-uploading the pics mentioned in your initial posting to another sub-folder of the albums folder and trying again.
Title: Re: Batch Add Files not adding to Album
Post by: DadGum on March 17, 2006, 08:35:43 pm
Thanks I will try, but as I said previously I have uploaded new pictures to nwe folders and I have the same problem. I was previously not able to upload single files either then when I set all groups to allow uploads it work but the Batch Add process still only shows broken links.
Title: Re: Batch Add Files not adding to Album
Post by: Joachim Müller on March 17, 2006, 08:52:30 pm
do a "right-click", "properties" on the broken thumbnails and paste the result into your reply please.