When I select batch add files... this is ALL I see....
"Select the directory where you have uploaded your files"
NOTHING else - All I wanted to do was to to change the category of a uSer gallery image AND I GOT LOST!
Somehow the image moved out of the user gallery, and I can find no way to put it back in theuser gallery,
here's my debug info...
USER:
------------------
Array
(
[ID] => 9bbd98e90e4e41d2b88f36a75894e8b7
[am] => 1
[liv] => Array
(
- => 7
[1] => 10
[2] => 8
[3] => 6
[4] => 17
)
)
==========================
USER DATA:
------------------
Array
(
[disk_max] => 1024
[disk_min] => 1024
[can_rate_pictures] => 1
[can_send_ecards] => 1
[ufc_max] => 1
[ufc_min] => 1
[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] => 0
[group_name] => Administrator
[upload_form_config] => 1
[group_quota] => 1024
[can_see_all_albums] => 1
[group_id] => 1
[groups] => Array
(
- => 1
[1] => 7
)
)
==========================
Queries:
------------------
Array
(
- => SELECT extension, mime, content FROM cpg133_filetypes;
[1] =>
SELECT variable, value
FROM smf_settings
[2] =>
SELECT mem.*, IFNULL(a.ID_ATTACH, 0) AS ID_ATTACH
FROM smf_members AS mem
LEFT JOIN smf_attachments AS a ON (a.ID_MEMBER = 2)
WHERE mem.ID_MEMBER = 2
LIMIT 1
[3] => 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 cpg133_usergroups WHERE group_id in (1,7)
[4] => SELECT group_name FROM cpg133_usergroups WHERE group_id= 1
[5] => DELETE FROM cpg133_banned WHERE expiry < '2005-05-17 15:27:19'
[6] => SELECT * FROM cpg133_banned WHERE ip_addr='24.21.79.92' OR ip_addr='24.21.79.92' OR user_id=2
[7] => SELECT aid, title FROM cpg133_albums WHERE 1
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version: 4.3.10 - OK
------------------
mySQL version: 4.0.23a-log
------------------
Coppermine version: 1.3.3
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
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 1
Active Links 2
Client API version 4.0.23a
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/local/mysql/include/mysql
MYSQL_LIBS -L/usr/local/mysql/lib/mysql -lmysqlclient
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.2
Linked Version 1.2.2
==========================
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 | /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 | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.547 seconds - 8 queries in 0.013 seconds - Album set :
from the documentation (http://coppermine.sourceforge.net/manual.php#batch_add_pics):
QuoteImportant: do not create folders or upload to the userpics- nor the edit-folder by ftp: these folders are used by coppermine internally and mustn't be used for any other purpose!
I didn't ftp any files.
(but I think I'm figuring things out!)
Thanks!
p.s, now how do I add a strip of recent pics to my SMF board.index.php????
you should really read the documentation before asking questions: it's mandatory that you have uploaded something by FTP before being able to use batch-add. In fact, you were requesting help for a feature that you didn't even know what it's good for ::).
We have a "one question per thread policy" on this forum (you agreed to respect it when you signed up for your account), so your follow-up question is totally off-topic and should have gone into a separate thread. Short answer: a film strip (which is part of coppermine's code) can't show up on SMF pages (as smf and coppermine are different apps even when bridged). You would have to modify SMF's code to accomplish what you're up to. You might want to take a look into the cpmFetch mod: there's a whole sub-board dedicated to this mod: http://forum.coppermine-gallery.net/index.php?board=57.0