vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Database error on last posts (https://vborg.vbsupport.ru/showthread.php?t=320097)

kryssluck 09-02-2015 08:05 PM

Database error on last posts
 
When i click the last message on the category, I am receiving this error.

This will occur only when login is made. I tried to turn off all extensions. I tried to repair the post table.

What should I do ?

https://vborg.vbsupport.ru/external/2015/09/17.jpg


Code:

Database error in vBulletin 3.8.9:

Invalid SQL:

                        SELECT MIN(postid) AS postid
                        FROM post
                        WHERE threadid = 20
                                AND visible = 1
                                AND dateline > 1441226037
                                AND userid NOT IN (//)
                        LIMIT 1;

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 '//)
                        LIMIT 1' at line 6
Error Number  : 1064
Request Date  : Wednesday, September 2nd 2015 @ 09:58:36 PM
Error Date    : Wednesday, September 2nd 2015 @ 09:58:36 PM
Script        : http://******.com/showthread.php?t=20&goto=newpost
Referrer      : http://*****.com/
IP Address    : 78.177.*****
Username      : K******
Classname    : vB_Database
MySQL Version : 5.5.45

PHP Version 5.4.44

Edit: This error message came up again message editing

Code:

Database error in vBulletin 3.8.9:

Invalid SQL:

                        SELECT thread.postuserid, COUNT(*) AS threadcount
                        FROM thread AS thread
                        WHERE thread.postuserid IN (//)
                                AND thread.visible = 1
                                AND thread.open <> 10
                                AND thread.forumid = 52
                        GROUP BY thread.postuserid;

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 thread.visible = 1
                                AND thread.open <> 10
                                AND thread.forumid ' at line 3
Error Number  : 1064
Request Date  : Wednesday, September 2nd 2015 @ 10:14:41 PM
Error Date    : Wednesday, September 2nd 2015 @ 10:14:41 PM
Script        : http://********.com/editpost.php?do=updatepost&postid=28
Referrer      : http://*******.com/guncel-yarismalar/22-asdfasdf.html
IP Address    : 78.177.*****
Username      : K******
Classname    : vB_Database
MySQL Version : 5.5.45


Lynne 09-02-2015 08:41 PM

Please look in AdminCP > Settings > Options > User Banning Options > Coventy (or Global Ignore, whatever they call it in that version) and make sure you enter the *userid* not the username.

kryssluck 09-02-2015 08:59 PM

Quote:

Originally Posted by Lynne (Post 2554141)
Please look in AdminCP > Settings > Options > User Banning Options > Coventy (or Global Ignore, whatever they call it in that version) and make sure you enter the *userid* not the username.

What should i write in that field? "Tachy Goes to Coventry = [// ]"

It is not about my membership, this error occurs comes in all membership, except guests...


Edit: Solved. I deleted "//" in the field. Its empty now. I say many thanks to my problem is resolved :)


All times are GMT. The time now is 12:02 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.01438 seconds
  • Memory Usage 1,722KB
  • 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)bbcode_quote_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