header

Collapse

Latest Activity Tab - Database Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Go to Thank You pogo
    Junior Member
    • 01.2021
    • 21
    • 1
    • 0

    Font Size
    #1

    Latest Activity Tab - Database Error

    Go to Thank You
    When a guest user clicks the "Latest Activity" tab on the forum, the AJAX call returns a database error. The following query gets generated:

    PHP Code:
    SELECT DISTINCT CASE WHEN starter.nodeid IN (15,23,24) OR starter.parentid in (15,23,24THEN starter.nodeid ELSE node.lastcontentid END AS nodeidnode.parentidnode.userid FROM node as node JOIN closure AS closure ON node.nodeid closure.child WHERE node.starter node.nodeid AND node.contenttypeid <> 29 AND node.showpublished AND closure.parent '18' AND node.nodeid <> closure.parent AND node.inlist AND node.protected <> '1' AND node.lastcontent >= 1609866328 AND (node.public_preview OR ( ( ( (node.parentid IN (1,2,13,14,16,25,40,47,3,18,32,9,19,33,48,6,20,30,21,46,51,12,50,37,34,27) ) AND node.showapproved AND node.viewperms AND node.showpublished )) OR ( node.nodeid IN (15,23,24) OR node.parentid IN (15,23,24) ) OR node.parentid AND node.userid IN (0))) ORDER BY node.lastcontent DESC LIMIT 100
    The error:
    Code:
    Unknown column 'starter.nodeid' in 'field list'
    There is no alias or reference to anything called 'starter'. Changing 'starter' to 'node' seems to fix it.Go to Top of Post
    Similar Threads
X

Thread Information

Collapse

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

    Those who read this thread

    Collapse

    Members who have read this thread: 0

      Related Topics

      Collapse

      Topics Statistics Last Post
      Started by vB-Info, 1 week ago
      0 responses
      2 views
      0 reactions
      Last Post vB-Info
      by vB-Info
      Started by vB-Info, 1 week ago
      0 responses
      1 view
      0 reactions
      Last Post vB-Info
      by vB-Info
      Started by vB-Info, 13.03.24, 20:42
      0 responses
      21 views
      0 reactions
      Last Post vB-Info
      by vB-Info
      Working...
      😀
      😂
      🥰
      😘
      🤢
      😎
      😞
      😡
      👍
      👎

      AdBlock Detected

      Please Disable Adblock

      Please consider supporting us by disabling the ad blocker.

      I've Disabled AdBlock
      Home