vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   When i merge thread , i get Database error (https://vborg.vbsupport.ru/showthread.php?t=284223)

harpreetxi 06-09-2012 04:17 PM

When i merge thread , i get Database error
 
Database error in vBulletin 4.2.0:

Invalid SQL:
DELETE FROM activitystream
WHERE
typeid =
AND
contentid IN (SELECT postid FROM post WHERE threadid IN (339,251));

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND
contentid IN (SELECT postid FROM post WHERE threadid IN (339,251))' at line 4
Error Number : 1064
Request Date : Saturday, June 9th 2012 @ 10:15:04 AM
Error Date : Saturday, June 9th 2012 @ 10:15:05 AM
Script : http://forum.fckya.com/inlinemod.php...eadids=339,251
Referrer : http://forum.fckya.com/login.php?do=login
IP Address : 117.205.1.9
Username : H4ppy!
Classname : vB_Database
MySQL Version : 5.0.95



But if i refresh , or even go back its always done. how do i fix it ?

kh99 06-09-2012 05:09 PM

This is a known bug in the activitystream code: http://tracker.vbulletin.com/browse/VBIV-15189 . If you want you could apply one of the fixes mentioned there.

Thunderbird8 06-10-2012 08:00 AM

If you are using the Forum Only version (a similar bug does exist in the Suite if the CMS has been uninstalled and reinstalled a few times), the issue is fixed by 4.2.0 Patch Level 1.


All times are GMT. The time now is 05:28 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.01008 seconds
  • Memory Usage 1,711KB
  • 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