@ jesusarmy and PPNSteve
both of you guys , please enable debug mode and let us know
Done..
hopefully you can see the problem.. i couldn't.... and had to uninstall this so people could join/post comments etc..
thanks.
register page
USER:
------------------
Array
(
[ID] => 9551c6e6c6ae614xxxxxxxxxx4676e7
[am] => 1
[lang] => english
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 0
[user_name] => Guest
[groups] => Array
(
[0] => 3
)
[group_quota] => 1512
[can_rate_pictures] => 1
[can_send_ecards] => 0
[can_post_comments] => 0
[can_upload_pictures] => 1
[can_create_albums] => 0
[pub_upl_need_approval] => 1
[priv_upl_need_approval] => 1
[upload_form_config] => 3
[num_file_upload] => 2
[num_URI_upload] => 1
[custom_user_upload] => 0
[disk_max] => 1512
[disk_min] => 1512
[ufc_max] => 3
[ufc_min] => 3
[has_admin_access] => 0
[group_name] => Guests
[can_see_all_albums] => 0
[group_id] => 3
)
==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content, player FROM cpg11d_filetypes; (0s)
[1] => select * from cpg11d_plugins order by priority asc; (0s)
[2] => delete from `ppnstudi_gallery`.cpg11d_sessions where time<1204904018 and remember=0; (0.001s)
[3] => delete from `ppnstudi_gallery`.cpg11d_sessions where time<1203698018; (0.001s)
[4] => select user_id from `ppnstudi_gallery`.cpg11d_sessions where session_id=md5("0688f55c6c1b41c3982831502axxxxxxxxxxxxxxxxee8d8ccb565665d2cd"); (0.001s)
[5] => select user_id as id, user_password as password from `ppnstudi_gallery`.cpg11d_users where user_id=0 (0s)
[6] => 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_usergroups WHERE group_id in (3) (0s)
[7] => SELECT group_name FROM cpg11d_usergroups WHERE group_id= 3 (0s)
[8] => update `ppnstudi_gallery`.cpg11d_sessions set time='1204907618' where session_id=md5('0688f55c6c1b41c3982831502axxxxxxxxxxxxxxxxe8d8ccb565665d2cd'); (0.001s)
[9] => DELETE FROM cpg11d_banned WHERE expiry < '2008-03-07 16:33:39' (0.011s)
[10] => SELECT * FROM cpg11d_banned WHERE (ip_addr='24.xxx.xxx.170' OR ip_addr='24.xxx.xxx.170' OR user_id=0) AND brute_force=0 (0s)
[11] => SELECT aid FROM cpg11d_albums WHERE visibility != '0' AND visibility !='10000' AND visibility NOT IN (3) (0s)
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[agree] => I agree
)
==========================
Page generated in 0.193 seconds - 12 queries in 0.015 seconds - Album set : AND aid NOT IN (34,38,150,257,284,327,372,745,760,824,750,673,675,711,741,783,784,786,795,817,830) ; Meta set: ;
on a picture page, where there SHOULD be comments field, there is none (it breaks the comments)
(see screenshot as well)
USER:
------------------
Array
(
[ID] => 9551c6e6c6ae614f3f986c888d4676e7
[am] => 1
[lang] => english
[liv] => Array
(
[0] => 25994
)
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 0
[user_name] => Guest
[groups] => Array
(
[0] => 3
)
[group_quota] => 1512
[can_rate_pictures] => 1
[can_send_ecards] => 0
[can_post_comments] => 0
[can_upload_pictures] => 1
[can_create_albums] => 0
[pub_upl_need_approval] => 1
[priv_upl_need_approval] => 1
[upload_form_config] => 3
[num_file_upload] => 2
[num_URI_upload] => 1
[custom_user_upload] => 0
[disk_max] => 1512
[disk_min] => 1512
[ufc_max] => 3
[ufc_min] => 3
[has_admin_access] => 0
[group_name] => Guests
[can_see_all_albums] => 0
[group_id] => 3
)
==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content, player FROM cpg11d_filetypes; (0s)
[1] => select * from cpg11d_plugins order by priority asc; (0s)
[2] => delete from `ppnstudi_gallery`.cpg11d_sessions where time<1204904415 and remember=0; (0.001s)
[3] => delete from `ppnstudi_gallery`.cpg11d_sessions where time<1203698415; (0s)
[4] => select user_id from `ppnstudi_gallery`.cpg11d_sessions where session_id=md5("0688f55c6c1b41c3982831502a1bcabxxxxxxxxxxxxxxe8d8ccb565665d2cd"); (0s)
[5] => select user_id as id, user_password as password from `ppnstudi_gallery`.cpg11d_users where user_id=0 (0s)
[6] => 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_usergroups WHERE group_id in (3) (0s)
[7] => SELECT group_name FROM cpg11d_usergroups WHERE group_id= 3 (0s)
[8] => update `ppnstudi_gallery`.cpg11d_sessions set time='1204908015' where session_id=md5('0688f55c6c1b41c3982831502a1bcabxxxxxxxxxxxxxxxxxxxxxccb565665d2cd'); (0s)
[9] => DELETE FROM cpg11d_banned WHERE expiry < '2008-03-07 16:40:15' (0s)
[10] => SELECT * FROM cpg11d_banned WHERE (ip_addr='24.xxx.xxx.170' OR ip_addr='24.xxx.xxx.170' OR user_id=0) AND brute_force=0 (0s)
[11] => SELECT aid FROM cpg11d_albums WHERE visibility != '0' AND visibility !='10000' AND visibility NOT IN (3) (0s)
[12] => SELECT aid FROM cpg11d_albums (0.001s)
[13] => SELECT COUNT(*) from cpg11d_pictures WHERE approved = 'YES' AND aid IN (1,2,3,4,9,10,14,15,16,17,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,39,40,41,42,43,44,49,53,58,59,61,62,64,65,66,67,70,72,77,80,93,100,105,113,117,118,119,121,122,123,124,125,126,127,128,129,130,131,132,136,137,138,139,140,141,142,143,144,146,147,148,151,152,156,159,160,161,162,163,165,168,169,170,171,172,173,174,175,176,177,178,179,181,182,183,184,185,186,187,188,189,190,192,193,194,196,197,198,203,204,205,206,207,208,211,212,213,214,215,216,222,223,224,225,226,227,229,230,231,232,233,234,239,241,242,243,244,245,246,250,251,252,253,255,258,262,264,265,266,267,268,269,270,271,274,276,279,280,282,285,286,287,288,289,290,291,292,293,295,296,297,298,300,301,308,309,310,314,315,319,320,321,323,324,326,330,331,332,333,334,339,341,343,344,346,347,349,352,353,354,356,357,358,359,360,361,362,363,364,365,366,369,370,371,373,381,383,384,386,387,389,390,391,399,400,415,417,418,419,421,424,427,429,430,431,432,433,434,436,439,440,441,442,443,444,445,446,449,450,451,452,453,454,455,458,459,460,461,463,464,466,467,468,469,470,473,475,478,479,480,481,483,485,487,490,491,494,495,496,497,498,499,500,502,506,507,516,518,519,520,521,523,524,527,529,530,533,534,535,536,538,539,541,543,547,548,549,551,552,553,555,558,563,567,568,573,575,577,581,584,585,586,588,589,592,593,594,596,597,599,602,606,609,613,617,619,620,621,634,635,637,638,644,647,648,649,650,651,652,653,654,655,657,660,661,664,665,666,668,670,671,672,674,676,677,678,679,681,682,686,689,691,693,694,695,696,697,698,699,703,704,705,706,710,713,715,716,717,718,719,720,721,722,723,724,725,727,728,729,730,731,736,737,738,740,742,743,746,749,752,753,754,756,757,758,759,761,762,763,764,765,767,768,769,770,771,777,778,779,781,782,787,788,789,790,791,792,793,796,797,798,799,803,804,805,807,808,809,810,811,812,813,814,818,819,822,825,826,827,828,829,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853) (0s)
[14] => SELECT * FROM cpg11d_pictures WHERE approved = 'YES' AND aid IN (1,2,3,4,9,10,14,15,16,17,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,39,40,41,42,43,44,49,53,58,59,61,62,64,65,66,67,70,72,77,80,93,100,105,113,117,118,119,121,122,123,124,125,126,127,128,129,130,131,132,136,137,138,139,140,141,142,143,144,146,147,148,151,152,156,159,160,161,162,163,165,168,169,170,171,172,173,174,175,176,177,178,179,181,182,183,184,185,186,187,188,189,190,192,193,194,196,197,198,203,204,205,206,207,208,211,212,213,214,215,216,222,223,224,225,226,227,229,230,231,232,233,234,239,241,242,243,244,245,246,250,251,252,253,255,258,262,264,265,266,267,268,269,270,271,274,276,279,280,282,285,286,287,288,289,290,291,292,293,295,296,297,298,300,301,308,309,310,314,315,319,320,321,323,324,326,330,331,332,333,334,339,341,343,344,346,347,349,352,353,354,356,357,358,359,360,361,362,363,364,365,366,369,370,371,373,381,383,384,386,387,389,390,391,399,400,415,417,418,419,421,424,427,429,430,431,432,433,434,436,439,440,441,442,443,444,445,446,449,450,451,452,453,454,455,458,459,460,461,463,464,466,467,468,469,470,473,475,478,479,480,481,483,485,487,490,491,494,495,496,497,498,499,500,502,506,507,516,518,519,520,521,523,524,527,529,530,533,534,535,536,538,539,541,543,547,548,549,551,552,553,555,558,563,567,568,573,575,577,581,584,585,586,588,589,592,593,594,596,597,599,602,606,609,613,617,619,620,621,634,635,637,638,644,647,648,649,650,651,652,653,654,655,657,660,661,664,665,666,668,670,671,672,674,676,677,678,679,681,682,686,689,691,693,694,695,696,697,698,699,703,704,705,706,710,713,715,716,717,718,719,720,721,722,723,724,725,727,728,729,730,731,736,737,738,740,742,743,746,749,752,753,754,756,757,758,759,761,762,763,764,765,767,768,769,770,771,777,778,779,781,782,787,788,789,790,791,792,793,796,797,798,799,803,804,805,807,808,809,810,811,812,813,814,818,819,822,825,826,827,828,829,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853) ORDER BY pid DESC LIMIT 0 ,1 (0.024s)
[15] => SELECT title, comments, votes, category, aid FROM cpg11d_albums WHERE aid='4' LIMIT 1 (0s)
[16] => UPDATE cpg11d_pictures SET hits=hits+1, lasthit_ip='24.xxx.xxx.170', mtime=CURRENT_TIMESTAMP WHERE pid='25994' (0.002s)
[17] => SELECT msg_id, msg_author, msg_body, UNIX_TIMESTAMP(msg_date) AS msg_date, author_id, author_md5_id, msg_raw_ip, msg_hdr_ip, pid FROM cpg11d_comments WHERE pid='25994' ORDER BY msg_id ASC (0.001s)
[18] => SELECT COUNT(*) from cpg11d_pictures WHERE approved = 'YES' AND aid IN (1,2,3,4,9,10,14,15,16,17,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,39,40,41,42,43,44,49,53,58,59,61,62,64,65,66,67,70,72,77,80,93,100,105,113,117,118,119,121,122,123,124,125,126,127,128,129,130,131,132,136,137,138,139,140,141,142,143,144,146,147,148,151,152,156,159,160,161,162,163,165,168,169,170,171,172,173,174,175,176,177,178,179,181,182,183,184,185,186,187,188,189,190,192,193,194,196,197,198,203,204,205,206,207,208,211,212,213,214,215,216,222,223,224,225,226,227,229,230,231,232,233,234,239,241,242,243,244,245,246,250,251,252,253,255,258,262,264,265,266,267,268,269,270,271,274,276,279,280,282,285,286,287,288,289,290,291,292,293,295,296,297,298,300,301,308,309,310,314,315,319,320,321,323,324,326,330,331,332,333,334,339,341,343,344,346,347,349,352,353,354,356,357,358,359,360,361,362,363,364,365,366,369,370,371,373,381,383,384,386,387,389,390,391,399,400,415,417,418,419,421,424,427,429,430,431,432,433,434,436,439,440,441,442,443,444,445,446,449,450,451,452,453,454,455,458,459,460,461,463,464,466,467,468,469,470,473,475,478,479,480,481,483,485,487,490,491,494,495,496,497,498,499,500,502,506,507,516,518,519,520,521,523,524,527,529,530,533,534,535,536,538,539,541,543,547,548,549,551,552,553,555,558,563,567,568,573,575,577,581,584,585,586,588,589,592,593,594,596,597,599,602,606,609,613,617,619,620,621,634,635,637,638,644,647,648,649,650,651,652,653,654,655,657,660,661,664,665,666,668,670,671,672,674,676,677,678,679,681,682,686,689,691,693,694,695,696,697,698,699,703,704,705,706,710,713,715,716,717,718,719,720,721,722,723,724,725,727,728,729,730,731,736,737,738,740,742,743,746,749,752,753,754,756,757,758,759,761,762,763,764,765,767,768,769,770,771,777,778,779,781,782,787,788,789,790,791,792,793,796,797,798,799,803,804,805,807,808,809,810,811,812,813,814,818,819,822,825,826,827,828,829,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853) (0.04s)
[19] => SELECT * FROM cpg11d_pictures WHERE approved = 'YES' AND aid IN (1,2,3,4,9,10,14,15,16,17,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,39,40,41,42,43,44,49,53,58,59,61,62,64,65,66,67,70,72,77,80,93,100,105,113,117,118,119,121,122,123,124,125,126,127,128,129,130,131,132,136,137,138,139,140,141,142,143,144,146,147,148,151,152,156,159,160,161,162,163,165,168,169,170,171,172,173,174,175,176,177,178,179,181,182,183,184,185,186,187,188,189,190,192,193,194,196,197,198,203,204,205,206,207,208,211,212,213,214,215,216,222,223,224,225,226,227,229,230,231,232,233,234,239,241,242,243,244,245,246,250,251,252,253,255,258,262,264,265,266,267,268,269,270,271,274,276,279,280,282,285,286,287,288,289,290,291,292,293,295,296,297,298,300,301,308,309,310,314,315,319,320,321,323,324,326,330,331,332,333,334,339,341,343,344,346,347,349,352,353,354,356,357,358,359,360,361,362,363,364,365,366,369,370,371,373,381,383,384,386,387,389,390,391,399,400,415,417,418,419,421,424,427,429,430,431,432,433,434,436,439,440,441,442,443,444,445,446,449,450,451,452,453,454,455,458,459,460,461,463,464,466,467,468,469,470,473,475,478,479,480,481,483,485,487,490,491,494,495,496,497,498,499,500,502,506,507,516,518,519,520,521,523,524,527,529,530,533,534,535,536,538,539,541,543,547,548,549,551,552,553,555,558,563,567,568,573,575,577,581,584,585,586,588,589,592,593,594,596,597,599,602,606,609,613,617,619,620,621,634,635,637,638,644,647,648,649,650,651,652,653,654,655,657,660,661,664,665,666,668,670,671,672,674,676,677,678,679,681,682,686,689,691,693,694,695,696,697,698,699,703,704,705,706,710,713,715,716,717,718,719,720,721,722,723,724,725,727,728,729,730,731,736,737,738,740,742,743,746,749,752,753,754,756,757,758,759,761,762,763,764,765,767,768,769,770,771,777,778,779,781,782,787,788,789,790,791,792,793,796,797,798,799,803,804,805,807,808,809,810,811,812,813,814,818,819,822,825,826,827,828,829,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853) ORDER BY pid DESC LIMIT 0 ,10 (0.022s)
)
==========================
GET :
------------------
Array
(
[album] => lastup
[cat] => 0
[pos] => 0
)
==========================
POST :
------------------
Array
(
)
==========================
Page generated in 0.22 seconds - 20 queries in 0.091 seconds - Album set : AND aid IN (1,2,3,4,9,10,14,15,16,17,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,39,40,41,42,43,44,49,53,58,59,61,62,64,65,66,67,70,72,77,80,93,100,105,113,117,118,119,121,122,123,124,125,126,127,128,129,130,131,132,136,137,138,139,140,141,142,143,144,146,147,148,151,152,156,159,160,161,162,163,165,168,169,170,171,172,173,174,175,176,177,178,179,181,182,183,184,185,186,187,188,189,190,192,193,194,196,197,198,203,204,205,206,207,208,211,212,213,214,215,216,222,223,224,225,226,227,229,230,231,232,233,234,239,241,242,243,244,245,246,250,251,252,253,255,258,262,264,265,266,267,268,269,270,271,274,276,279,280,282,285,286,287,288,289,290,291,292,293,295,296,297,298,300,301,308,309,310,314,315,319,320,321,323,324,326,330,331,332,333,334,339,341,343,344,346,347,349,352,353,354,356,357,358,359,360,361,362,363,364,365,366,369,370,371,373,381,383,384,386,387,389,390,391,399,400,415,417,418,419,421,424,427,429,430,431,432,433,434,436,439,440,441,442,443,444,445,446,449,450,451,452,453,454,455,458,459,460,461,463,464,466,467,468,469,470,473,475,478,479,480,481,483,485,487,490,491,494,495,496,497,498,499,500,502,506,507,516,518,519,520,521,523,524,527,529,530,533,534,535,536,538,539,541,543,547,548,549,551,552,553,555,558,563,567,568,573,575,577,581,584,585,586,588,589,592,593,594,596,597,599,602,606,609,613,617,619,620,621,634,635,637,638,644,647,648,649,650,651,652,653,654,655,657,660,661,664,665,666,668,670,671,672,674,676,677,678,679,681,682,686,689,691,693,694,695,696,697,698,699,703,704,705,706,710,713,715,716,717,718,719,720,721,722,723,724,725,727,728,729,730,731,736,737,738,740,742,743,746,749,752,753,754,756,757,758,759,761,762,763,764,765,767,768,769,770,771,777,778,779,781,782,787,788,789,790,791,792,793,796,797,798,799,803,804,805,807,808,809,810,811,812,813,814,818,819,822,825,826,827,828,829,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853) ; Meta set: AND aid IN (1,2,3,4,9,10,14,15,16,17,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,39,40,41,42,43,44,49,53,58,59,61,62,64,65,66,67,70,72,77,80,93,100,105,113,117,118,119,121,122,123,124,125,126,127,128,129,130,131,132,136,137,138,139,140,141,142,143,144,146,147,148,151,152,156,159,160,161,162,163,165,168,169,170,171,172,173,174,175,176,177,178,179,181,182,183,184,185,186,187,188,189,190,192,193,194,196,197,198,203,204,205,206,207,208,211,212,213,214,215,216,222,223,224,225,226,227,229,230,231,232,233,234,239,241,242,243,244,245,246,250,251,252,253,255,258,262,264,265,266,267,268,269,270,271,274,276,279,280,282,285,286,287,288,289,290,291,292,293,295,296,297,298,300,301,308,309,310,314,315,319,320,321,323,324,326,330,331,332,333,334,339,341,343,344,346,347,349,352,353,354,356,357,358,359,360,361,362,363,364,365,366,369,370,371,373,381,383,384,386,387,389,390,391,399,400,415,417,418,419,421,424,427,429,430,431,432,433,434,436,439,440,441,442,443,444,445,446,449,450,451,452,453,454,455,458,459,460,461,463,464,466,467,468,469,470,473,475,478,479,480,481,483,485,487,490,491,494,495,496,497,498,499,500,502,506,507,516,518,519,520,521,523,524,527,529,530,533,534,535,536,538,539,541,543,547,548,549,551,552,553,555,558,563,567,568,573,575,577,581,584,585,586,588,589,592,593,594,596,597,599,602,606,609,613,617,619,620,621,634,635,637,638,644,647,648,649,650,651,652,653,654,655,657,660,661,664,665,666,668,670,671,672,674,676,677,678,679,681,682,686,689,691,693,694,695,696,697,698,699,703,704,705,706,710,713,715,716,717,718,719,720,721,722,723,724,725,727,728,729,730,731,736,737,738,740,742,743,746,749,752,753,754,756,757,758,759,761,762,763,764,765,767,768,769,770,771,777,778,779,781,782,787,788,789,790,791,792,793,796,797,798,799,803,804,805,807,808,809,810,811,812,813,814,818,819,822,825,826,827,828,829,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853) ;
Notices
/include/themes.inc.php
Notice line 2240: Undefined index: uid
Notice line 2316: Undefined variable: ecard_tgt
Notice line 2317: Undefined variable: ecard_title
Notice line 2324: Undefined variable: report_tgt
Notice line 1943: Undefined index: uid
login page (see screenshot as well)