Batch Add misbehaving Batch Add misbehaving
 

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 misbehaving

Started by Horus_Kol, February 05, 2006, 04:03:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Horus_Kol

When trying to batch upload I can select the directory I want, and it then lists the filenames on the next page - however, no previews of the images are shown.

I select the destination album and then click on "Insert selected files", the next page loads but no status images are loaded in it - no actual images are added to the selected album, either.

here is the debug info from the image selection page:


USER:
------------------
Array
(
    [ID] => 82b4c43286c18b4864df607760b603de
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_name] => The Duke of RUDE
    [mgroup] => 1
    [0] => 1
    [group_id] => 1
    [1] => Administrators
    [group_name] => Administrators
    [2] => 0
    [group_quota] => 0
    [3] => 1
    [has_admin_access] => 1
    [4] => 1
    [can_rate_pictures] => 1
    [5] => 1
    [can_send_ecards] => 1
    [6] => 1
    [can_post_comments] => 1
    [7] => 1
    [can_upload_pictures] => 1
    [8] => 1
    [can_create_albums] => 1
    [9] => 0
    [pub_upl_need_approval] => 0
    [10] => 0
    [priv_upl_need_approval] => 0
    [11] => 3
    [upload_form_config] => 3
    [12] => 0
    [custom_user_upload] => 0
    [13] => 5
    [num_file_upload] => 5
    [14] => 3
    [num_URI_upload] => 3
    [can_see_all_albums] => 1
    [groups] => Array
        (
            [0] => 1
        )

)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content FROM rude_e107_CPG_filetypes;
    [1] => SELECT * FROM rude_e107_CPG_usergroups WHERE group_id = '1'
    [2] => DELETE FROM rude_e107_CPG_banned WHERE expiry < '2006-02-05 03:50:19'
    [3] => SELECT * FROM rude_e107_CPG_banned WHERE ip_addr='62.253.96.46' OR ip_addr='86.2.108.101' OR user_id=1
    [4] => SELECT aid, title FROM rude_e107_CPG_albums WHERE 1
    [5] => SELECT filepath, filename FROM rude_e107_CPG_pictures WHERE filepath LIKE 'stuart/2003 02 - Dartmoor%'
    [6] => SELECT aid, title FROM rude_e107_CPG_albums WHERE category = 0 ORDER BY title
    [7] => SELECT DISTINCT a.aid as aid, a.title as title, c.name as cname FROM rude_e107_CPG_albums as a, rude_e107_CPG_categories as c WHERE a.category = c.cid AND a.category < '10000' ORDER BY cname,title
    [8] => SELECT aid, IF(category > 10000, CONCAT('* ', title), CONCAT(' ', title)) AS title FROM rude_e107_CPG_albums ORDER BY title
)

==========================
GET :
------------------
Array
(
    [startdir] => stuart/2003 02 - Dartmoor
)

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

==========================
VERSION INFO :
------------------
PHP version: 4.4.2 - OK
------------------
mySQL version: 4.0.25-standard-log
------------------
Coppermine version: 1.3.5
==========================
Module: gd
------------------
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
==========================
Module: mysql
------------------
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 0.31 seconds - 9 queries in 0.088 seconds - Album set :

Horus_Kol

after much searching through the code myself (and here - but couldn't find anything to help with this specific problem) I found that it was down to the wrong software for resizing being selected.

an error message would have been helpful at this point

Joachim Müller

you would have gotten an error message if you would have done as suggested in the docs, the upload troubleshooting tutorial and in thousands of postings of supporters where we told users what to do to get a meaningful error message.

Horus_Kol

I did follow what was in the docs and the troubleshooting thread - and I read countless other threads.

The only error message I saw was when I actually hit the "showthumb.php" file directly - and all that said was that the image was "damaged" - not very helpful.


GauGau - I have read a lot of other threads trying to find a problem that approximated mine, and all the responses I have seen from you were rude and condescending, just like the one you posted above.