I realise this is probably a common error message, but after running through the docs several times im still none the wiser as to the cause. I have checked the permissions on the galleries and config files and they seem to be in order. The image file uploads perfectly fine (Seen in the folder via ftp) won't add to the gallery because of this error message.
The gallery is currently bridged with a phpBB3 forum.
Here is the debug info it shows. I have created a test account. The site is at
www.fairytalefaction.com/gallery.
Username: test
Password: testing
USER:
------------------
Array
(
[ID] => b9396abd086cd356a0d5363bf4406763
[am] => 1
[lang] => english_gb
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 60
[user_name] => test
[groups] => Array
(
[0] => 2
)
[disk_max] => 1024
[disk_min] => 1024
[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] => 0
[pub_upl_need_approval] => 0
[priv_upl_need_approval] => 0
[group_name] => Registered
[upload_form_config] => 0
[group_quota] => 1024
[can_see_all_albums] => 0
[group_id] => 2
)
==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content, player FROM cpg_filetypes; (0s)
[1] => select * from cpg_plugins order by priority asc; (0s)
[2] => SELECT * FROM cpg_bridge (0s)
[3] => SELECT user_id, user_password FROM `fairytal_phpb1`.phpbb_sessions INNER JOIN `fairytal_phpb1`.phpbb_users ON session_user_id = user_id WHERE session_id='23016a6b918a8f7714e2545d2e9c20a4'; (0s)
[4] => SELECT u.user_id AS id, u.username AS username, u.user_password AS password, u.group_id+100 AS group_id FROM `fairytal_phpb1`.phpbb_users AS u INNER JOIN `fairytal_phpb1`.phpbb_groups AS g ON u.group_id=g.group_id WHERE u.user_id='60' (0s)
[5] => 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 (2) (0s)
[6] => SELECT group_name FROM cpg_usergroups WHERE group_id= 2 (0s)
[7] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 60 (0s)
[8] => DELETE FROM cpg_banned WHERE expiry < '2010-02-05 00:51:57' (0s)
[9] => SELECT * FROM cpg_banned WHERE (ip_addr='77.99.234.5' OR ip_addr='77.99.234.5' OR user_id=60) AND brute_force=0 (0s)
[10] => SELECT aid FROM cpg_albums WHERE visibility != '0' AND visibility !='10060' AND visibility NOT IN (2) (0s)
[11] => SELECT category FROM cpg_albums WHERE aid='4' and (uploads = 'YES' OR category = '10060') (0s)
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[album] => 4
[MAX_FILE_SIZE] => 1048576
[title] => test
[caption] => test
[keywords] =>
[event] => picture
)
==========================
Page generated in 0.132 seconds - 12 queries in 0 seconds - Album set : ; Meta set: ;