i have a problem with this seccition, in this comment
This function allows you to add a batch of file that your have uploaded to your server by FTP.
Select the directory where you have uploaded your files
i don't know where i have to put the FTP path or directory.
i don's speak english very well, i hope you teach me with details
tanks ;)
You should use your ftp program to create new folders in the 'albums' folder. Do not put them in the 'userpics' or 'edit' folder.
CHMOD them the same as the albums folder (755 or 777).
Now upload your pics into these folders. Batch add will now see these folders and pics.
thank you for your help. yesterday i read the manual of the program and i can uplad the files. ;) ;)
if you post a question on a board and find the answer by yourself, it'd be a nice gesture towards the supporters on the board to resolve your own question by replying to it with a message like "I was able to solve this problem on my own. No need to further look into it.".
GauGau
Hi,
this may be a double posting as I cannot find my post anywhere.
I upgraded to version 1.3 today and I have the same problem where no 'album' folders show at all when I want to 'batch add files'.
In version 1.2 this worked fine. Permissions are set to 755 for all albums, I also set them to 777 but it makes no difference.
Here is the Debug Info file:
USER:
------------------
Array
(
[ID] => 26a684577d6814330d208ed7e61190f3
[am] => 1
[theme] => eyeball
[liv] => Array
(
- => 3072
)
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_group] => 1
[user_active] => YES
[user_name] =
[user_password] =>
[user_lastvisit] => 2004-08-15 05:22:13
[user_regdate] => 2003-08-17 05:26:25
[user_group_list] =>
[user_email] =>
[user_website] => http://www.orchidspng.com
[user_location] => Port Moresby, Papua New Guinea
[user_interests] => orchids, web design
[user_occupation] => webmaster
[user_actkey] =>
[user_favpics] =>
[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] => 1
[priv_upl_need_approval] => 1
[group_name] => Administrators
[upload_form_config] => 3
[group_quota] => 0
[can_see_all_albums] => 1
[group_id] => 1
[groups] => Array
(
[1] => 1
)
)
==========================
Queries:
------------------
Array
(
- => SELECT extension, mime, content FROM cpg11d_albumsfiletypes;
[1] => SELECT * FROM cpg11d_albumsusers WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '5f4dcc3b5aa765d61d8327deb882cf99'
[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 cpg11d_albumsusergroups WHERE group_id in (1)
[3] => SELECT group_name FROM cpg11d_albumsusergroups WHERE group_id= 1
[4] => DELETE FROM cpg11d_albumsbanned WHERE expiry < 1092565357
[5] => SELECT * FROM cpg11d_albumsbanned WHERE ip_addr='202.165.192.23' OR ip_addr='202.165.195.151, 202.1.52.44' OR user_id=1
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version: 4.3.8 - OK
------------------
mySQL version: 4.0.20
------------------
Coppermine version: 1.3.1
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.23 compatible)
FreeType Support enabled
FreeType Linkage with freetype
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 4.0.20
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/local/include/mysql
MYSQL_LIBS -L/usr/local/lib/mysql -lmysqlclient
==========================
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 | /hsphere/local/home/bandisch:/usr:/tmp:/var/tmp | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | /usr/sbin/sendmail -t -i -f bit-bucket@us-bsd1.sansolo.com | /usr/sbin/sendmail -t -i -f bit-bucket@us-bsd1.sansolo.com
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.103 seconds - 6 queries in 0.003 seconds - Album set :
Your help is appreciated.
Wolfgang
http://forum.coppermine-gallery.net/index.php?action=profile;u=84;sa=showPosts , especially http://forum.coppermine-gallery.net/index.php?topic=7091.0#msg39845
GauGau
Thanks, I eventually worked it out myself that the directory structure has to be like this:
/gallery.xyz.com/albums
and then in /albums
you need these folders:
- edit
- userpics
- folder name of your choice, e.g. 'august2004' (batch add files will see this folder if permissions are set right!)
Simple if explained simply!
Wolfgang