Announcement

Collapse
No announcement yet.

Database error after user deletion

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] Database error after user deletion

    Hello

    I get a database error in one of my threads that had a deleted user post in it.

    Any idea what i need to do to fix that

    Invalid SQL:

    SELECT COUNT(threadid) AS total FROM thread WHERE postuserid=;


    error #1064

    if that may help

    thanks

  • #2
    Check to see if the user had a blog.
    I drank WHAT?! - Socrates

    Comment


    • #3
      Originally posted by Biker View Post
      Check to see if the user had a blog.
      I am sure there is no blog.

      Comment


      • #4
        Try disabling your modifications/plugins and see if you still have this problem.
        Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

        PHP Code:
        define('DISABLE_HOOKS'true); 

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools &lt;- awesome site for html/css help

        Comment


        • #5
          Also, additionally, can you post here the exact full mysq error as well?

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X