vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Error in my Database (https://vborg.vbsupport.ru/showthread.php?t=290596)

aspen1018 11-12-2012 11:01 PM

Error in my Database
 
I keep getting this error emailed to me:

Database error in vBulletin 4.1.0:

Invalid SQL:
SELECT
SUM(counter) as sum_att_views
FROM attachment as a
INNER JOIN post AS p ON p.postid = a.postid
INNER JOIN thread AS t ON p.threadid = t.threadid
WHERE a.userid=1;

MySQL Error : Unknown column 'a.postid' in 'on clause'
Error Number : 1054
Request Date : Monday, November 12th 2012 @ 04:52:00 PM
Error Date : Monday, November 12th 2012 @ 04:52:00 PM

However the forum seems to be functioning fine?

Any suggestions?

Lynne 11-13-2012 02:09 AM

That is from a modification as there is no postid field in the attachment table in vB4. You need to disable/remove the modification to get rid of the error.

aspen1018 11-13-2012 02:13 AM

ok but I never added a mod for about a year now? Hmmmmm I guess I could try disabling one by one


All times are GMT. The time now is 11:03 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01024 seconds
  • Memory Usage 1,705KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete