Can not access 'Batch Add Files' at all Can not access 'Batch Add Files' at all
 

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

Can not access 'Batch Add Files' at all

Started by jillrenay, August 04, 2008, 02:54:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jillrenay

Test Account: testuser
Test Passwrd: vabn1

This 'problem' hit my website hard yesterday when none of my administrators could access the batch add files. It had been slowing down and hard to get to for the past few weeks. We recently got our gallery customized, but I don't think that would have any effect on the batch add file option. I've tried everything that was recommended. And I mean everything. The doc support does not work. I've even resorted to uninstalling and re-installing the gallery two times, which resulted in losing most of the files we had in our gallery and it's now back to only 1500 when we had over 21000.

Is there anything you can recommend to help me restore this and get batch add working again?

jillrenay


sarahbeth0587

#2
Also trying to help out here, we have this debug output... if it helps anything

USER:
------------------
Array
(
    [ID] => 7fe95258c724ef095fdcd28d5650ae30
    [am] => 1
    [lang] => english
    [liv] => Array
        (
        )

)

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

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 0
    [ufc_min] => 0
    [custom_user_upload] => 0
    [num_file_upload] => 1
    [num_URI_upload] => 0
    [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] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg_filetypes; (0.007s)
    [1] => select * from cpg_plugins order by priority asc; (0.017s)
    [2] => delete from `van0821704193035`.cpg_sessions where time<1217854886 and remember=0; (0.014s)
    [3] => delete from `van0821704193035`.cpg_sessions where time<1216648886; (0.014s)
    [4] => select user_id from `van0821704193035`.cpg_sessions where session_id = '9a84fcae330f5c0d6b6742a9bc4da319' (0.031s)
    [5] => select user_id as id, user_password as password from `van0821704193035`.cpg_users where user_id=1 (0.029s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `van0821704193035`.cpg_users AS u INNER JOIN `van0821704193035`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.059s)
    [7] => SELECT user_group_list FROM `van0821704193035`.cpg_users AS u WHERE user_id='1' and user_group_list <> ''; (0.05s)
    [8] => 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 cpg_usergroups WHERE group_id in (1) (0.019s)
    [9] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1 (0.017s)
    [10] => update `van0821704193035`.cpg_sessions set time='1217858486' where session_id = '9a84fcae330f5c0d6b6742a9bc4da319' (0.048s)
    [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0.001s)
    [12] => DELETE FROM cpg_banned WHERE expiry < '2008-08-04 14:01:26' (0.005s)
    [13] => SELECT * FROM cpg_banned WHERE (ip_addr='69.24.115.119' OR ip_addr='69.24.115.119' OR user_id=1) AND brute_force=0 (0.009s)
    [14] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = ''  ORDER BY name (0.017s)
    [15] => SELECT aid FROM cpg_albums WHERE category = 58 (0.006s)
    [16] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 58 (0.014s)
    [17] => SELECT aid FROM cpg_albums WHERE category = 3 (0.025s)
    [18] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 3 (0.005s)
    [19] => SELECT count(*) FROM cpg_albums as a WHERE category = '3' (0.013s)
    [20] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg_albums as a LEFT JOIN cpg_pictures as p ON a.thumb=p.pid WHERE category=3 ORDER BY a.pos LIMIT 0,1 (0.032s)
    [21] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg_albums AS a  LEFT JOIN cpg_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (15)GROUP BY a.aid (0.008s)
    [22] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='444' (0.009s)
    [23] => SELECT aid FROM cpg_albums WHERE category = 2 (0.015s)
    [24] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 2 (0.058s)
    [25] => SELECT aid FROM cpg_albums WHERE category = 57 (0.158s)
    [26] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 57 (0.005s)
    [27] => SELECT count(*) FROM cpg_albums as a WHERE category = '57' (0.013s)
    [28] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg_albums as a LEFT JOIN cpg_pictures as p ON a.thumb=p.pid WHERE category=57 ORDER BY a.pos LIMIT 0,1 (0.019s)
    [29] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg_albums AS a  LEFT JOIN cpg_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (93)GROUP BY a.aid (0.012s)
    [30] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='1502' (0.011s)
    [31] => SELECT aid FROM cpg_albums WHERE category = 5 (0.009s)
    [32] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 5 (0.013s)
    [33] => SELECT count(*) FROM cpg_albums as a WHERE category = '5' (0.002s)
    [34] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg_albums as a LEFT JOIN cpg_pictures as p ON a.thumb=p.pid WHERE category=5 ORDER BY a.pos LIMIT 0,3 (0.011s)
    [35] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg_albums AS a  LEFT JOIN cpg_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (58, 59, 84)GROUP BY a.aid (0.028s)
    [36] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='1540' (0.015s)
    [37] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='1426' (0.001s)
    [38] => SELECT aid FROM cpg_albums WHERE category = 4 (0.006s)
    [39] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 4 (0.002s)
    [40] => SELECT aid FROM cpg_albums WHERE category = 52 (0.003s)
    [41] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 52 (0.001s)
    [42] => SELECT count(*) FROM cpg_albums as a WHERE category = '52' (0.012s)
    [43] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg_albums as a LEFT JOIN cpg_pictures as p ON a.thumb=p.pid WHERE category=52 ORDER BY a.pos LIMIT 0,1 (0.028s)
    [44] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg_albums AS a  LEFT JOIN cpg_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (54)GROUP BY a.aid (0.001s)
    [45] => SELECT aid FROM cpg_albums WHERE category = 6 (0.001s)
    [46] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 6 (0.001s)
    [47] => SELECT aid FROM cpg_albums as a WHERE category>=10000 (0.001s)
    [48] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0.002s)
    [49] => SELECT aid FROM cpg_albums as a WHERE category = '0' (0.001s)
    [50] => SELECT count(*) FROM cpg_albums as a WHERE 1 (0s)
    [51] => SELECT count(*) FROM cpg_pictures as p LEFT JOIN cpg_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0.002s)
    [52] => SELECT count(*) FROM cpg_comments as c LEFT JOIN cpg_pictures as p ON c.pid=p.pid LEFT JOIN cpg_albums as a ON a.aid=p.aid WHERE 1 (0.001s)
    [53] => SELECT count(*) FROM cpg_categories WHERE 1 (0s)
    [54] => SELECT sum(hits) FROM cpg_pictures as p LEFT JOIN cpg_albums as a ON p.aid=a.aid WHERE 1 (0.006s)
    [55] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0.002s)
    [56] => SELECT count(cpg_albums.aid) FROM cpg_pictures,cpg_albums WHERE cpg_pictures.aid = cpg_albums.aid AND approved = 'YES'  GROUP  BY cpg_pictures.aid (0.046s)
    [57] => SELECT *,cpg_albums.title AS title,cpg_albums.aid AS aid FROM cpg_pictures,cpg_albums WHERE cpg_pictures.aid = cpg_albums.aid AND approved = 'YES'  GROUP BY cpg_pictures.aid ORDER BY cpg_pictures.ctime DESC  LIMIT 0 ,5 (0.074s)
    [58] => SELECT count(*) FROM cpg_albums as a WHERE category = '0' (0.029s)
    [59] => SELECT COUNT(*) from cpg_pictures WHERE approved = 'YES'  (0.018s)
    [60] => SELECT * FROM cpg_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 10 (0.097s)
    [61] => SELECT COUNT(*) from cpg_pictures WHERE approved = 'YES'  (0.036s)
    [62] => SELECT * FROM cpg_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,10 (0.009s)
)

==========================
GET :
------------------
Array
(
)

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

==========================
VERSION INFO :
------------------
PHP version: 4.3.11 - OK
------------------
mySQL version: 5.0.45-log
------------------
Coppermine version: 1.4.18(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
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: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.18
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /usr/local/mysql-5.0/data/mysql.sock
MYSQL_INCLUDE -I/usr/local/mysql-5.0/include/mysql
MYSQL_LIBS -L/usr/local/mysql-5.0/lib/mysql -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.2.3
==========================
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 | ~ | ~
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 | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
SMTP | relay-hosting.secureserver.net | relay-hosting.secureserver.net
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 8M | 8M
post_max_size | 8M | 8M
==========================
Page generated in 3.996 seconds - 63 queries in 1.198 seconds - Album set : ; Meta set: ;

sarahbeth0587

 :-\ Sorry for posting the last post. I got ahead of myself.

Nibbler

You didn't post what actually happens. Is there an error message, does it never load, or does it stop after 30 seconds?

jillrenay

It never loads. It keeps working and working, but to no avail. I'll either get a blank screen or when I'm at home, since I have DreamWeaver, a code box will come up telling me that the searchnew.php file is unable to be located.

Nibbler

How many directories do you have in your album directory?

Joachim Müller


jillrenay

Quite a lot actually. Most likely over 200.

Yes, they do, but that's not the problem. The problem is we have a lot of UHQ files that need to be loaded into the gallery and the http uploader will not work for us in this case

Nibbler

If you are happy to PM me FTP access I can try to improve the handling of large numbers of folders.

jillrenay

Sure, anything to help out situation. Give me a second