Rob B
Thu 21st Sep '06, 8:47pm
I have to get my forum back my morning and its 12.45am, and I want to sleep as well, and I have had some problems when upgrading!
I have this at the top of every page:
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /global.php(334) : eval()'d code on line 69
When trying to view a thread, this:
Database error in vBulletin 3.6.1:
Invalid SQL:
SELECT
post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
user.*, userfield.*, usertextfield.*,
icon.title as icontitle, icon.iconpath,
avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight,
deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason,
editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
editlog.reason AS edit_reason,
post_parsed.pagetext_html, post_parsed.hasimages,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM vb_post AS post
LEFT JOIN vb_user AS user ON(user.userid = post.userid)
LEFT JOIN vb_userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN vb_usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
LEFT JOIN vb_icon AS icon ON(icon.iconid = post.iconid)
LEFT JOIN vb_avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN vb_customavatar AS customavatar ON(customavatar.userid = user.userid)
LEFT JOIN vb_deletionlog AS deletionlog ON(post.postid = deletionlog.primaryid AND type = 'post')
LEFT JOIN vb_editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN vb_post_parsed AS post_parsed ON(post_parsed.postid = post.postid AND post_parsed.styleid_code = -1 AND post_parsed.styleid_html = -1 AND post_parsed.styleid_php = -1 AND post_parsed.styleid_quote = -1)
WHERE post.postid IN (0,42504,42506,42508,42513,42517,42519,42520,42523 ,42545,42569,42572,42576,42585,42610,42612,42624,4 2629,42635,42642,43331)
ORDER BY post.dateline;
MySQL Error : Table 'cric247_vbforum.vb_post_parsed' doesn't exist
Error Number : 1146
Date : Thursday, September 21st 2006 @ 07:46:18 PM
Script : http://www.cricket247.net/forum/showthread.php?t=2154
Referrer : http://www.cricket247.net/forum/forumdisplay.php?f=52
IP Address : 90.193.233.174
Username : Rob
Classname : vb_database
:( :( :( :( :( :( :( :(
I have this at the top of every page:
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /global.php(334) : eval()'d code on line 69
When trying to view a thread, this:
Database error in vBulletin 3.6.1:
Invalid SQL:
SELECT
post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
user.*, userfield.*, usertextfield.*,
icon.title as icontitle, icon.iconpath,
avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight,
deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason,
editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
editlog.reason AS edit_reason,
post_parsed.pagetext_html, post_parsed.hasimages,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM vb_post AS post
LEFT JOIN vb_user AS user ON(user.userid = post.userid)
LEFT JOIN vb_userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN vb_usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
LEFT JOIN vb_icon AS icon ON(icon.iconid = post.iconid)
LEFT JOIN vb_avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN vb_customavatar AS customavatar ON(customavatar.userid = user.userid)
LEFT JOIN vb_deletionlog AS deletionlog ON(post.postid = deletionlog.primaryid AND type = 'post')
LEFT JOIN vb_editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN vb_post_parsed AS post_parsed ON(post_parsed.postid = post.postid AND post_parsed.styleid_code = -1 AND post_parsed.styleid_html = -1 AND post_parsed.styleid_php = -1 AND post_parsed.styleid_quote = -1)
WHERE post.postid IN (0,42504,42506,42508,42513,42517,42519,42520,42523 ,42545,42569,42572,42576,42585,42610,42612,42624,4 2629,42635,42642,43331)
ORDER BY post.dateline;
MySQL Error : Table 'cric247_vbforum.vb_post_parsed' doesn't exist
Error Number : 1146
Date : Thursday, September 21st 2006 @ 07:46:18 PM
Script : http://www.cricket247.net/forum/showthread.php?t=2154
Referrer : http://www.cricket247.net/forum/forumdisplay.php?f=52
IP Address : 90.193.233.174
Username : Rob
Classname : vb_database
:( :( :( :( :( :( :( :(