ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Database problem

January 01, 2012 11:30pm

Subscribe [1]
  • #1 / Jan 01, 2012 11:30pm

    Ali-ahmadi

    1 posts

    Hello!
    i can not access my database, when i wanna login the following error appears please help me to solve this problem.

    A Database Error Occurred
    Error Number: 1054

    Unknown column ‘hs.d_0’ in ‘field list’

    SELECT ct.title, hs.entry_id, hs.d_0 AS hits FROM (`exp_hits_stats` hs) LEFT JOIN `exp_channel_titles` ct ON `hs`.`entry_id` = `ct`.`entry_id` WHERE `hs`.`type` = 1 AND `hs`.`year` = ‘2012’ ORDER BY `hs`.`d_0` DESC LIMIT 10

    Filename: third_party/hits/acc.hits.php

    Line Number: 124

    regards
    Ali

  • #2 / Mar 07, 2012 4:25am

    Ali-ahmadi

    1 posts

    when i click to my article the following Error appears to me
    please helpe me where can i correct this error?


    Error

    The following tag has a syntax error:

    {exp:hits:count_hits}

    Please correct the syntax in your template.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases