vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   MySQL Error! Help Please! (https://vborg.vbsupport.ru/showthread.php?t=123060)

SiriusBlack22 08-04-2006 09:16 PM

MySQL Error! Help Please!
 
Error I get when viewing any thread or member profile (www.hpinaction.com)

Code:

Database error in vBulletin 3.6.0:

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 post AS post
        LEFT JOIN user AS user ON(user.userid = post.userid)
        LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)
        LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
        LEFT JOIN icon AS icon ON(icon.iconid = post.iconid)
        LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
            LEFT JOIN deletionlog AS deletionlog ON(post.postid = deletionlog.primaryid AND type = 'post')
        LEFT JOIN editlog AS editlog ON(editlog.postid = post.postid)
        LEFT JOIN 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,130,150,220,335,509,515,586,589,816,826,828,863,1257,1271,1322,2383,2419,2757,2765,2766)
        ORDER BY post.dateline;

MySQL Error  : Table 'hpinacti_hpinacti.post_parsed' doesn't exist
Error Number : 1146
Date        : Friday, August 4th 2006 @ 05:07:04 PM
Script      : http://www.hpinaction.com/showthread.php?t=42
Referrer    : http://www.hpinaction.com/forumdisplay.php?f=8
IP Address  : 67.142.130.18
Username    : SiriusBlack22
Classname    : vB_Database


Paul M 08-05-2006 12:00 AM

Already answered on vb.com I believe - reupload the 3.6 files, making sure you overwrite the 3.5 files (because that code is from a 3.5 version of showthread.php).

SiriusBlack22 08-05-2006 12:28 AM

Oh I fixed that. But what is up with this?!?!

When I upload products:

Code:

Database error in vBulletin 3.6.0:

Invalid SQL:
DELETE FROM cron WHERE product = 'chrism_latestthreads' AND volatile = 1;

MySQL Error  : Unknown column 'product' in 'where clause'
Error Number : 1054
Date        : Friday, August 4th 2006 @ 08:27:52 PM
Script      : http://www.hpinaction.com/admincp/plugin.php?do=productimport
Referrer    : http://www.hpinaction.com/admincp/plugin.php?do=productadd
IP Address  : 67.142.130.42
Username    : SiriusBlack22
Classname    : vB_Database



All times are GMT. The time now is 08:31 AM.

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.00945 seconds
  • Memory Usage 1,723KB
  • 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
  • (2)bbcode_code_printable
  • (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