I fixed the album problem and now there is a test album. I logged into the test account and tried to upload a file into the test album. This is the error message:
The file 'albums/userpics/11481/shialabeouf-patrickfraser005.jpg' can't be inserted in the album
Unable to create thumbnail or reduced size image.
File: /home/shia/public_html/gallery/db_input.php - Line: 402
Debug Info (in case you want it):
USER:
------------------
Array
(
[ID] => a24f55c572134123c62ba6a674cbbe12
[am] => 1
[lang] => english
[liv] => Array
(
[0] => 15036
[1] => 18917
[2] => 19209
[3] => 18907
[4] => 18877
)
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1481
[user_name] => test
[groups] => Array
(
[0] => 2
[1] => 5
)
[disk_max] => 1024
[disk_min] => 1024
[can_rate_pictures] => 1
[can_send_ecards] => 0
[ufc_max] => 0
[ufc_min] => 0
[custom_user_upload] => 0
[num_file_upload] => 1
[num_URI_upload] => 0
[can_post_comments] => 0
[can_upload_pictures] => 1
[can_create_albums] => 0
[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 cpg148_filetypes; (0s)
[1] => select * from cpg148_plugins order by priority asc; (0s)
[2] => delete from `shia_gallery`.cpg148_sessions where time<1209034058 and remember=0; (0s)
[3] => delete from `shia_gallery`.cpg148_sessions where time<1207828058; (0s)
[4] => select user_id from `shia_gallery`.cpg148_sessions where session_id = '6cb46cf9ce2bf26eccb7bb947899a0e9' (0s)
[5] => select user_id as id, user_password as password from `shia_gallery`.cpg148_users where user_id=1481 (0s)
[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 `shia_gallery`.cpg148_users AS u INNER JOIN `shia_gallery`.cpg148_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1481' (0s)
[7] => SELECT user_group_list FROM `shia_gallery`.cpg148_users AS u WHERE user_id='1481' and user_group_list <> ''; (0s)
[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 cpg148_usergroups WHERE group_id in (2,5) (0s)
[9] => SELECT group_name FROM cpg148_usergroups WHERE group_id= 2 (0s)
[10] => update `shia_gallery`.cpg148_sessions set time='1209037658' where session_id = '6cb46cf9ce2bf26eccb7bb947899a0e9' (0s)
[11] => SELECT description from cpg148_albums WHERE aid='' (0s)
[12] => SELECT user_favpics FROM cpg148_favpics WHERE user_id = 1481 (0s)
[13] => DELETE FROM cpg148_banned WHERE expiry < '2008-04-24 05:47:38' (0s)
[14] => SELECT * FROM cpg148_banned WHERE (ip_addr='124.120.92.185' OR ip_addr='124.120.92.185' OR user_id=1481) AND brute_force=0 (0s)
[15] => SELECT category FROM cpg148_albums WHERE aid='381' and (uploads = 'YES' OR category = '11481') (0s)
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[album] => 381
[MAX_FILE_SIZE] => 512000000
[title] =>
[caption] =>
[keywords] =>
[event] => picture
)
==========================
Page generated in 0.097 seconds - 16 queries in 0 seconds - Album set : ; Meta set: ;