When I try uploading, it goes well. But when I choose an album and want to add it says:
The previous file could not be placed.
You have successfully placed all the files
USER:
------------------
Array
(
[ID] => a95dbc861a152a620504eef4d0ac6f80
[am] => 1
[liv] => Array
(
[0] => 405
[1] => 407
[2] => 408
[3] => 202
[4] => 644
)
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 7
[user_group] => 2
[user_active] => YES
[user_name] => test
[user_password] => ********
[user_lastvisit] => 2005-09-14 00:19:09
[user_regdate] => 2005-09-13 00:37:36
[user_group_list] => 6
[user_email] =>
[user_website] =>
[user_location] =>
[user_interests] =>
[user_occupation] =>
[user_actkey] =>
[disk_max] => 1024
[disk_min] => 0
[can_rate_pictures] => 0
[can_send_ecards] => 0
[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] => 0
[pub_upl_need_approval] => 1
[priv_upl_need_approval] => 0
[group_name] => Registered
[upload_form_config] => 3
[group_quota] => 0
[can_see_all_albums] => 0
[group_id] => 2
[groups] => Array
(
[0] => 6
[1] => 2
)
)
==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content FROM cpg132_filetypes;
[1] => SELECT * FROM cpg132_users WHERE user_id='7'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '098f6bcd4621d373cade4e832627b4f6'
[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 cpg132_usergroups WHERE group_id in (6,2)
[3] => SELECT group_name FROM cpg132_usergroups WHERE group_id= 2
[4] => DELETE FROM cpg132_banned WHERE expiry < 1126649970
[5] => SELECT * FROM cpg132_banned WHERE ip_addr='213.224.168.83' OR ip_addr='213.224.168.83' OR user_id=7
[6] => SELECT aid FROM cpg132_albums WHERE visibility != '0' AND visibility !='10007' AND visibility NOT IN (6,2)
[7] => SELECT category FROM cpg132_albums WHERE aid='17' and (uploads = 'YES' OR category = '10007')
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[album] => 17
[title] =>
[caption] =>
[keywords] =>
[control] => phase_2
[unique_ID] => e139b1f2
)
==========================
Page generated in 0.068 seconds - 8 queries in 0.003 seconds - Album set :
You can login as:
Username: test
Password: test
http://coppermine.jopics.cheapass.be
http://coppermine-gallery.net/tutorial/uploads/troubleshooting.php
I forgot to set the single file upload in groups. Sorry for that now everything is like you ask, I think.
When I try it now, it gives the following:
Impossible to move dj_thix.jpg to albums/userpics/10001/ !
File: /home/httpd/vhosts/jopics.cheapass.be/subdomains/coppermine/httpdocs/db_input.php - Line: 266
I checked all chmod settings for albums folder and every subfolder in albums, everything is set on 777.
Ask your host to check your /tmp directory to make sure you have the necessary permissions.