angeljs
Customer
When trying to view a post I'm receiving the following error message:
Code:
Database error in vBulletin 4.2.3:
Invalid SQL:
(
SELECT COUNT(*) AS count, varname
FROM dbtech_thanks_entry AS entry,
(
SELECT postid
FROM post
WHERE threadid = 2563
AND visible IN (1,2,0)
) AS tmp
WHERE entry.contenttype = 'post'
AND entry.varname = 'thanks'
AND contentid = tmp.postid
) UNION ALL (
SELECT COUNT(*) AS count, varname
FROM dbtech_thanks_entry AS entry,
(
SELECT postid
FROM post
WHERE threadid = 2563
AND visible IN (1,2,0)
) AS tmp
WHERE entry.contenttype = 'post'
AND entry.varname = 'likes'
AND contentid = tmp.postid
) UNION ALL (
SELECT COUNT(*) AS count, varname
FROM dbtech_thanks_entry AS entry,
(
SELECT postid
FROM post
WHERE threadid = 2563
AND visible IN (1,2,0)
) AS tmp
WHERE entry.contenttype = 'post'
AND entry.varname = 'dislikes'
AND contentid = tmp.postid
);
MySQL Error : Column 'varname' cannot be null
Error Number : 1048
Request Date : Saturday, June 18th 2016 @ 07:41:08 PM
Error Date : Saturday, June 18th 2016 @ 07:41:09 PM
Script : http://www.simfansuk.com/sims/threads/2563-Impossible-to-Install-or-quot-Doesn-t-Work-quot-questions
Referrer : http://www.simfansuk.com/sims/forums/194-Sims-2
IP Address : 86.175.82.36
Username : LadyAngel
Classname : vB_Database_MySQLi
MySQL Version : 5.0.96-community-log