Accessory, Module

Community
Support

DevDemon does not actively monitor this forum
(but you can still get help from other EE users).

For official support, visit the official support site »

EE 1
EE 2
Hits

Back to this add-on's main page
View Other Add-ons From DevDemon

     

You must be logged in to post.

Database Error

Bug Report

Andrew L Philpott
Andrew L Philpott

When I log into a site that has been using Hits for the past few months, I’m getting the following Database Error:

Error Number1054

Unknown column 
'hs.d_9' in 'field list'

SELECT `ct`.`title`, `hs`.`entry_id`, hs.d_9 AS hits FROM (`exp_hits_statshsLEFT JOIN `exp_channel_titlesct ON `hs`.`entry_id` = `ct`.`entry_idWHERE `hs`.`type` = AND `hs`.`year` = '2012' ORDER BY `hs`.`d_9DESC LIMIT 10

Filename
third_party/hits/acc.hits.php

Line Number
124 

Nothing has changed apart from new entries that were created by my client, so I’m not sure what would have caused this problem.

Andrew L Philpott
# 1
Andrew L Philpott

Nevermind. Found the solution here: http://www.devdemon.com/forums/viewthread/1471/.