USER:
------------------
While executing query "SELECT * FROM nat07_pictures WHERE approved = 'YES' ORDER BY RAND() LIMIT 8" on 0
mySQL error: Can't create/write to file 'C:\WINDOWS\TEMP\#sql_550_1.MYD' (Errcode: 17)
Should I speak to my host or do you have a solution?
Array
(
[ID] => f1d64145437fbc938a4bfd34324596ce
[am] => 1
[lang] => danish
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => Steffen
[groups] => Array
(
- => 1
)
[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] => 0
[priv_upl_need_approval] => 0
[group_name] => Administrators
[upload_form_config] => 3
[group_quota] => 0
[can_see_all_albums] => 1
[group_id] => 1
)
==========================
Queries:
------------------
Array
(
- => SELECT extension, mime, content, player FROM nat07_filetypes; (0.001s)
[1] => select * from nat07_plugins order by priority asc; (0s)
[2] => delete from `ducodesigndk`.nat07_sessions where time<1207911038 and remember=0; (0s)
[3] => delete from `ducodesigndk`.nat07_sessions where time<1206705038; (0s)
[4] => select user_id from `ducodesigndk`.nat07_sessions where session_id=md5("aa492ba43a465bb572413ced62f8bb0964c80ef3347255fbe92e5b2890f0bb5b"); (0.001s)
[5] => select user_id as id, user_password as password from `ducodesigndk`.nat07_users where user_id=1 (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 `ducodesigndk`.nat07_users AS u INNER JOIN `ducodesigndk`.nat07_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
[7] => SELECT user_group_list FROM `ducodesigndk`.nat07_users AS u WHERE user_id='1' 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 nat07_usergroups WHERE group_id in (1) (0s)
[9] => SELECT group_name FROM nat07_usergroups WHERE group_id= 1 (0s)
[10] => update `ducodesigndk`.nat07_sessions set time='1207914638' where session_id=md5('aa492ba43a465bb572413ced62f8bb0964c80ef3347255fbe92e5b2890f0bb5b'); (0.001s)
[11] => SELECT user_favpics FROM nat07_favpics WHERE user_id = 1 (0.003s)
[12] => DELETE FROM nat07_banned WHERE expiry < '2008-04-11 11:50:39' (0.001s)
[13] => SELECT * FROM nat07_banned WHERE (ip_addr='130.226.173.112' OR ip_addr='130.226.173.112' OR user_id=1) AND brute_force=0 (0.001s)
[14] => SELECT cid, name, description, thumb FROM nat07_categories WHERE parent = '' ORDER BY name (0.002s)
[15] => SELECT aid FROM nat07_albums WHERE category = 10 (0.001s)
[16] => SELECT count(*) FROM nat07_pictures as p, nat07_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 10 (0s)
[17] => SELECT cid, name, description, thumb FROM nat07_categories WHERE parent = '10' ORDER BY name (0.003s)
[18] => SELECT aid FROM nat07_albums WHERE category = 14 (0s)
[19] => SELECT count(*) FROM nat07_pictures as p, nat07_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 14 (0s)
[20] => SELECT cid, name, description, thumb FROM nat07_categories WHERE parent = '14' ORDER BY name (0s)
[21] => SELECT aid FROM nat07_albums WHERE category = 11 (0s)
[22] => SELECT count(*) FROM nat07_pictures as p, nat07_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 11 (0s)
[23] => SELECT cid, name, description, thumb FROM nat07_categories WHERE parent = '11' ORDER BY name (0s)
[24] => SELECT aid FROM nat07_albums WHERE category = 12 (0s)
[25] => SELECT count(*) FROM nat07_pictures as p, nat07_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 12 (0s)
[26] => SELECT cid, name, description, thumb FROM nat07_categories WHERE parent = '12' ORDER BY name (0s)
[27] => SELECT aid FROM nat07_albums WHERE category = 4 (0s)
[28] => SELECT count(*) FROM nat07_pictures as p, nat07_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 4 (0s)
[29] => SELECT count(*) FROM nat07_albums as a WHERE category = '4' (0s)
[30] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM nat07_albums as a LEFT JOIN nat07_pictures as p ON a.thumb=p.pid WHERE category=4 ORDER BY a.pos LIMIT 0,1 (0s)
[31] => SELECT a.aid, count( p.pid ) AS pic_count, max( p.pid ) AS last_pid, max( p.ctime ) AS last_upload, a.keyword FROM nat07_albums AS a LEFT JOIN nat07_pictures AS p ON a.aid = p.aid AND p.approved = 'YES' WHERE a.aid IN (21)GROUP BY a.aid (0s)
[32] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM nat07_pictures WHERE pid='1257' (0s)
[33] => SELECT cid, name, description, thumb FROM nat07_categories WHERE parent = '4' ORDER BY name (0.001s)
[34] => SELECT aid FROM nat07_albums WHERE category = 3 (0s)
[35] => SELECT count(*) FROM nat07_pictures as p, nat07_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 3 (0s)
[36] => SELECT count(*) FROM nat07_albums as a WHERE category = '3' (0s)
[37] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM nat07_albums as a LEFT JOIN nat07_pictures as p ON a.thumb=p.pid WHERE category=3 ORDER BY a.pos LIMIT 0,5 (0.001s)
[38] => SELECT a.aid, count( p.pid ) AS pic_count, max( p.pid ) AS last_pid, max( p.ctime ) AS last_upload, a.keyword FROM nat07_albums AS a LEFT JOIN nat07_pictures AS p ON a.aid = p.aid AND p.approved = 'YES' WHERE a.aid IN (19, 20, 22, 27, 37)GROUP BY a.aid (0.001s)
[39] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM nat07_pictures WHERE pid='1207' (0.001s)
[40] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM nat07_pictures WHERE pid='1049' (0.001s)
[41] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM nat07_pictures WHERE pid='1449' (0.001s)
[42] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM nat07_pictures WHERE pid='1721' (0s)
[43] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM nat07_pictures WHERE pid='2168' (0s)
[44] => SELECT cid, name, description, thumb FROM nat07_categories WHERE parent = '3' ORDER BY name (0.001s)
[45] => SELECT aid FROM nat07_albums WHERE category = 7 (0s)
[46] => SELECT count(*) FROM nat07_pictures as p, nat07_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 7 (0s)
[47] => SELECT cid, name, description, thumb FROM nat07_categories WHERE parent = '7' ORDER BY name (0s)
[48] => SELECT aid FROM nat07_albums WHERE category = 8 (0s)
[49] => SELECT count(*) FROM nat07_pictures as p, nat07_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 8 (0s)
[50] => SELECT cid, name, description, thumb FROM nat07_categories WHERE parent = '8' ORDER BY name (0s)
[51] => SELECT aid FROM nat07_albums WHERE category = 16 (0s)
[52] => SELECT count(*) FROM nat07_pictures as p, nat07_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 16 (0s)
[53] => SELECT cid, name, description, thumb FROM nat07_categories WHERE parent = '16' ORDER BY name (0s)
[54] => SELECT aid FROM nat07_albums WHERE category = 9 (0s)
[55] => SELECT count(*) FROM nat07_pictures as p, nat07_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 9 (0s)
[56] => SELECT cid, name, description, thumb FROM nat07_categories WHERE parent = '9' ORDER BY name (0s)
[57] => SELECT aid FROM nat07_albums WHERE category = 13 (0s)
[58] => SELECT count(*) FROM nat07_pictures as p, nat07_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 13 (0s)
[59] => SELECT cid, name, description, thumb FROM nat07_categories WHERE parent = '13' ORDER BY name (0s)
[60] => SELECT aid FROM nat07_albums WHERE category = 15 (0s)
[61] => SELECT count(*) FROM nat07_pictures as p, nat07_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 15 (0s)
[62] => SELECT cid, name, description, thumb FROM nat07_categories WHERE parent = '15' ORDER BY name (0s)
[63] => SELECT aid FROM nat07_albums WHERE category = 17 (0s)
[64] => SELECT count(*) FROM nat07_pictures as p, nat07_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 17 (0s)
[65] => SELECT cid, name, description, thumb FROM nat07_categories WHERE parent = '17' ORDER BY name (0s)
[66] => SELECT aid FROM nat07_albums WHERE category = 2 (0s)
[67] => SELECT count(*) FROM nat07_pictures as p, nat07_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 2 (0s)
[68] => SELECT count(*) FROM nat07_albums as a WHERE category = '2' (0s)
[69] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM nat07_albums as a LEFT JOIN nat07_pictures as p ON a.thumb=p.pid WHERE category=2 ORDER BY a.pos LIMIT 0,11 (0.001s)
[70] => SELECT a.aid, count( p.pid ) AS pic_count, max( p.pid ) AS last_pid, max( p.ctime ) AS last_upload, a.keyword FROM nat07_albums AS a LEFT JOIN nat07_pictures AS p ON a.aid = p.aid AND p.approved = 'YES' WHERE a.aid IN (3, 4, 5, 9, 10, 11, 12, 18, 26, 31, 36)GROUP BY a.aid (0.001s)
[71] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM nat07_pictures WHERE pid='153' (0s)
[72] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM nat07_pictures WHERE pid='309' (0s)
[73] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM nat07_pictures WHERE pid='233' (0s)
[74] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM nat07_pictures WHERE pid='392' (0s)
[75] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM nat07_pictures WHERE pid='421' (0s)
[76] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM nat07_pictures WHERE pid='802' (0s)
[77] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM nat07_pictures WHERE pid='480' (0.001s)
[78] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM nat07_pictures WHERE pid='919' (0s)
[79] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM nat07_pictures WHERE pid='1634' (0.001s)
[80] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM nat07_pictures WHERE pid='1791' (0.001s)
[81] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM nat07_pictures WHERE pid='2858' (0s)
[82] => SELECT cid, name, description, thumb FROM nat07_categories WHERE parent = '2' ORDER BY name (0.001s)
[83] => SELECT aid FROM nat07_albums WHERE category = 18 (0s)
[84] => SELECT count(*) FROM nat07_pictures as p, nat07_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 18 (0.001s)
[85] => SELECT count(*) FROM nat07_albums as a WHERE category = '18' (0.074s)
[86] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM nat07_albums as a LEFT JOIN nat07_pictures as p ON a.thumb=p.pid WHERE category=18 ORDER BY a.pos LIMIT 0,5 (0.001s)
[87] => SELECT a.aid, count( p.pid ) AS pic_count, max( p.pid ) AS last_pid, max( p.ctime ) AS last_upload, a.keyword FROM nat07_albums AS a LEFT JOIN nat07_pictures AS p ON a.aid = p.aid AND p.approved = 'YES' WHERE a.aid IN (40, 41, 42, 43, 44)GROUP BY a.aid (0.008s)
[88] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM nat07_pictures WHERE pid='3914' (0.007s)
[89] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM nat07_pictures WHERE pid='4832' (0.001s)
[90] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM nat07_pictures WHERE pid='4116' (0.002s)
[91] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM nat07_pictures WHERE pid='4388' (0.004s)
[92] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM nat07_pictures WHERE pid='4555' (0.043s)
[93] => SELECT cid, name, description, thumb FROM nat07_categories WHERE parent = '18' ORDER BY name (0.002s)
[94] => SELECT aid FROM nat07_albums as a WHERE category>=10000 (0s)
[95] => SELECT count(*) FROM nat07_pictures as p, nat07_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0s)
[96] => SELECT cid, name, description, thumb FROM nat07_categories WHERE parent = '1' ORDER BY name (0s)
[97] => SELECT aid FROM nat07_albums as a WHERE category = '0' (0s)
[98] => SELECT count(*) FROM nat07_albums as a WHERE 1 (0s)
[99] => SELECT count(*) FROM nat07_pictures as p LEFT JOIN nat07_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0s)
[100] => SELECT count(*) FROM nat07_comments as c LEFT JOIN nat07_pictures as p ON c.pid=p.pid LEFT JOIN nat07_albums as a ON a.aid=p.aid WHERE 1 (0s)
[101] => SELECT count(*) FROM nat07_categories WHERE 1 (0s)
[102] => SELECT sum(hits) FROM nat07_pictures as p LEFT JOIN nat07_albums as a ON p.aid=a.aid WHERE 1 (0s)
[103] => SELECT COUNT(*) FROM nat07_pictures WHERE approved = 'NO' (0s)
[104] => SELECT count(*) FROM nat07_albums as a WHERE category = '0' (0s)
[105] => SELECT COUNT(*) from nat07_pictures WHERE approved = 'YES' (0s)
[106] => SELECT * FROM nat07_pictures WHERE approved = 'YES' ORDER BY RAND() LIMIT 8 (0.003s)
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version: 5.1.2 - OK
------------------
mySQL version: 5.0.27-community-nt
------------------
Coppermine version: 1.4.12(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support:
XBM Support: 1
JIS-mapped Japanese Font Support:
==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.1.7
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
safe_mode_exec_dir | C:\safe\ | C:\safe\
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | C:\safe\ | C:\safe\
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .;C:\php5\pear | .;C:\php5\pear
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | post@elitemail.dk | post@elitemail.dk
sendmail_path | no value | no value
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 180300 | 180300
max_input_time | 180600 | 180600
upload_max_filesize | 180M | 180M
post_max_size | 180M | 180M
==========================
Page generated in 1.161 seconds - 107 queries in 0.173 seconds - Album set : ; Meta set: ;
Talk to your host. Disable the random files meta album as a workaround until they fix it. Then update your gallery.