View Single Post
  #7  
Old 02-26-2009, 10:04 PM
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Location: Little Elm, TX
Posts: 817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This appears to be an issue beyond a compatibility issue with a plug-in I'm afraid.

I've disabled all plug-ins except for the Blog plug-in, I still get the error. I've added the code to config.php, I still get the error. I've created a new style and checked it using that style, I still get the error. I have not tried uploading the files again, but I'm not sure that would fix the problem considering the type of error I'm actually getting.

When I try to go to the Blog page, I get a page telling me that there's been a DB error, but nothing telling me exactly what the DB error is.

When I then go to my profile page, I get the following DB error:

Code:
Database error in vBulletin 3.8.1:

Invalid SQL:

					SELECT
						blog_text.username AS postusername, blog_text.ipaddress AS blogipaddress, blog_text.state, blog_text.blogtextid, blog_text.title, blog_text.dateline, blog_text.pagetext, blog_text.allowsmilie,
						blog.userid AS blog_userid, blog.blogid, blog.title AS entrytitle, blog.state AS blog_state, blog.firstblogtextid, blog.options AS blogoptions, blog_user.memberids, blog_user.memberblogids, blog.postedby_userid, blog.postedby_username,
						user2.usergroupid AS blog_usergroupid, user2.infractiongroupids AS blog_inractiongroupids, user2.membergroupids AS blog_membergroupids,
						user.*,
						blog_user.title AS blogtitle,
						IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, user.infractiongroupid, options_ignore, options_buddy, options_member, options_guest, blog.userid AS blog_userid,
						blog.state AS blog_state, blog.firstblogtextid
					,avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight
					, blog_read.readtime AS blogread, blog_userread.readtime AS bloguserread
					
					FROM blog_text AS blog_text
					LEFT JOIN blog AS blog ON (blog.blogid = blog_text.blogid)
					LEFT JOIN user AS user ON (user.userid = blog_text.userid)
					LEFT JOIN user AS user2 ON (user2.userid = blog.userid)
					LEFT JOIN blog_user AS blog_user ON (blog_user.bloguserid = blog.userid)
					
					LEFT JOIN blog_read AS blog_read ON (blog_read.blogid = blog.blogid AND blog_read.userid = 1641)
					LEFT JOIN blog_userread AS blog_userread ON (blog_userread.bloguserid = blog.userid AND blog_userread.userid = 1641)
					
					
					LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
					
					WHERE blog.state IN('visible')
	AND blog.dateline <= 1235692882
	AND blog.pending = 0
	AND blog_text.state IN('visible')
	AND blog.firstblogtextid <> blog_text.blogtextid
	AND blog_text.bloguserid = 1641
					ORDER BY blog_text.dateline DESC
					LIMIT 5;

MySQL Error   : Unknown column 'blog_user.memberids' in 'field list'
Error Number  : 1054
Request Date  : Thursday, February 26th 2009 @ 07:01:22 PM
Error Date    : Thursday, February 26th 2009 @ 07:01:22 PM
Script        : http://xxxxxxx/member.php?action=getinfo&u=1641
Referrer      : http://xxxxxxx/profile.php?do=editoptions
IP Address    : xxxx
Username      : xxxx
Classname     : vB_Database
MySQL Version : 5.0.51b-community-nt
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01160 seconds
  • Memory Usage 1,774KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete