vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Problem with searching in the site (https://vborg.vbsupport.ru/showthread.php?t=279428)

eman81 03-02-2012 08:16 AM

Problem with searching in the site
 
Hi I have some problem with search in my site. When I try to find the word "диета" threre is appear sql error : site http://jenyne.ru
but another queries is ok
Database error in vBulletin 4.1.11:

Invalid SQL:


SELECT
fd.thumbnail_dateline, fd.filesize, IF(fd.thumbnail_filesize > 0, 1, 0) AS hasthumbnail, fd.thumbnail_filesize,
a.dateline, a.state, a.attachmentid, a.counter, a.contentid, a.filename, a.userid, a.settings, a.displayorder,
at.contenttypes
FROM vb_attachment AS a
INNER JOIN vb_filedata AS fd ON (fd.filedataid = a.filedataid)
LEFT JOIN vb_attachmenttype AS at ON (at.extension = fd.extension)

WHERE
a.contentid IN (158,159,160,163,168,170,171,173,174,175,177,178,1 82,184,189,190,)
AND
a.contenttypeid = 18

ORDER BY a.contentid, a.displayorder;

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
a.contenttypeid = 18

ORDER BY a.contentid, a.displayorder' at line 10
Error Number : 1064
Request Date : Friday, March 2nd 2012 @ 02:08:36 PM
Error Date : Friday, March 2nd 2012 @ 02:08:36 PM
Script : http://jenyne.ru/search.php?searchid=102793
Referrer : http://jenyne.ru/search.php?searchid=102794
IP Address : 93.185.67.62
Classname : vB_Database
MySQL Version : 5.0.26-log


All times are GMT. The time now is 04:37 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.02333 seconds
  • Memory Usage 1,708KB
  • 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
  • (1)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