Announcement

Collapse
No announcement yet.

mysql error number: 1064

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

  • mysql error number: 1064

    Hi!

    why i take this error?
    Code:
     
    
    Invalid SQL: 
    
    SELECT COUNT(*) AS threads,
    
    SUM(IF(lastpost>= AND open<>10,1,0)) AS newthread
    
    FROM rus_thread AS thread
    
    LEFT JOIN rus_deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread')
    
    WHERE forumid = 6
    
    AND sticky = 0
    
    AND visible = 1
    
    
    
    AND lastpost >= 1084467897
    
    
    
    AND deletionlog.primaryid IS NULL
    
    
    
    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 open<>10,1,0)) AS newthread
    
    FROM rus_thread AS thread
    
    L
    
    mysql error number: 1064

  • #2
    Is that the whole error?

    Comment


    • #3
      yes...

      Code:
        [size=2]
      
      Database error in vBulletin 3.0.1:
      
      Invalid SQL: 
      
      SELECT MIN(postid) AS postid
      
      FROM rus_post
      
      WHERE threadid = 26600 AND visible = 1 AND dateline > 
      
      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 4
      
      mysql error number: 1064
      
      Date: Saturday 12th of June 2004 02:20:50 PM
      
      Script: .....[/size][url="http://forum.nival.com/rus/showthread.php?goto=newpost&t=26600"][u][size=2][color=#0000ff]/showthread.php?goto=newpost&t=26600[/color][/size][/u][size=2][color=#0000ff][/color][/size][/url]
      
      [size=2]Referer: [/size][url="http://forum.nival.com/rus/forumdisplay.php?s=&daysprune=&f=7"][u][size=2][color=#0000ff]...../forumdisplay.php?s=&daysprune=&f=7[/color][/size][/u][size=2][color=#0000ff][/color][/size][/url]
      
      [size=2]IP Address: 217.198.224.144
      
      [/size]
      Code:
        [size=2]
      Database error in vBulletin 3.0.1:
      
      Invalid SQL: 
      
      SELECT COUNT(*) AS threads,
      
      SUM(IF(lastpost>= AND open<>10,1,0)) AS newthread
      
      FROM rus_thread AS thread
      
      LEFT JOIN rus_deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread')
      
      WHERE forumid = 8
      
      AND sticky = 0
      
      AND visible = 1
      
      
      
      AND lastpost >= 1084458045
      
      
      
      AND deletionlog.primaryid IS NULL
      
      
      
      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 open<>10,1,0)) AS newthread
      
      FROM rus_thread AS thread
      
      L
      
      mysql error number: 1064
      
      Date: Saturday 12th of June 2004 02:20:46 PM
      
      Script: .....[/size][url="http://forum.nival.com/rus/forumdisplay.php?f=8"][u][size=2][color=#0000ff]/rus/forumdisplay.php?f=8[/color][/size][/u][size=2][color=#0000ff][/color][/size][/url]
      
      [size=2]Referer: [/size][url="http://forum.nival.com/rus/forumdisplay.php?s=&daysprune=&f=7"][u][size=2][color=#0000ff]...../forumdisplay.php?s=&daysprune=&f=7[/color][/size][/u][size=2][color=#0000ff][/color][/size][/url]
      
      [size=2]IP Address: 217.198.224.144
      
      [/size]

      Comment


      • #4
        Reupload your original vB 3.0.1 non-image files. Make sure you upload in ASCII and overwrite the ones on the server.
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment

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