Author Topic: chCounter Error message  (Read 4455 times)

Offline jsn

  • Posts: 51
    • Just testing!!
chCounter Error message
« on: October 31, 2009, 08:46:29 PM »
After copy/pasting this code

Code: [Select]
<?php
if(file_exists(WB_PATH.&#39;/modules/expcount/counter.php&#39;)){
include(WB_PATH.&#39;/modules/expcount/counter.php&#39;); }
?>





from this module http://www.websitebakers.com/pages/modules/listings/counter/expcount.php I get the following error message:


chCounter: MySQL error!
SQL query:

    * SELECT setting, value FROM `#####`.`exp_config`


Error number: 1146
Table '#####.exp_config' doesn't exist
Script stopped.
« Last Edit: November 01, 2009, 12:39:29 AM by jsn »

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4252
  • Gender: Male
    • Webdesign und Entwicklung WebsiteBaker
Re: chCounter Error message
« Reply #1 on: October 31, 2009, 09:43:24 PM »
There is missing a Database Tabel exp_config. A new install is not possible withou deleting all database table with prefix exp_

You can do it with phpadmin and then do to a new install. If you have any problems pls post it.

Another questions, how do you install it? Because you wrote
Quote
After copy/pasting

Dietmar
Immer nur von der Zukunft reden, die Gegenwart vergessen und auf die Vergangenheit schimpfen
Neues Unwort: Schnappatmung

Offline jsn

  • Posts: 51
    • Just testing!!
Re: chCounter Error message
« Reply #2 on: November 01, 2009, 12:42:06 AM »
Sorry could you explain how to fix the problem?

Do I have to create the table or Do I have to delete the whole database?

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4252
  • Gender: Male
    • Webdesign und Entwicklung WebsiteBaker
Re: chCounter Error message
« Reply #3 on: November 01, 2009, 01:16:58 AM »
You have only to delete the tables in database with the prefix exp_, not the whole database. Be carefull, for your safty create a backup from your database.

Dietmar
Immer nur von der Zukunft reden, die Gegenwart vergessen und auf die Vergangenheit schimpfen
Neues Unwort: Schnappatmung

Offline jsn

  • Posts: 51
    • Just testing!!
Re: chCounter Error message
« Reply #4 on: November 01, 2009, 03:18:19 AM »
I missed the whole installation that is indicated in the file: install_en.txt.

After doing the installation I am trying to remove the folder"Install"l and it does not remove. I do not have an error message but the folder stays there after clicking on the trash can.

Also when it displays the counter, it shows:
Total visitors:      1
Visitors today:     1
Visitors yesterday:     0
Max. visitors per day:     1
Currently online:     1
Max. online:     0
Total page views:     1
Page views of this page:     1

I only want to see the Total Visitors.

« Last Edit: November 01, 2009, 03:25:37 AM by jsn »

Offline LordDarkman

  • Posts: 343
  • Gender: Male
  • Leben ist schön. Nur nicht drüber nachdenken...
    • Internet Radio Gates of Doom
Re: chCounter Error message
« Reply #5 on: November 01, 2009, 03:50:43 AM »
Than you have to edit your counter template file to do this. If you don't know how, read the readme. If you done this and don't know what to do read the readme in docs. If you don't know what to do than, Explain your problem again.

Try removing the folder with ftp.

CU Moritz

Offline maverik

  • Posts: 1572
  • Gender: Male
  • ..:: viva los tioz ::..
Re: chCounter Error message
« Reply #6 on: November 01, 2009, 04:33:10 AM »
or try this to generate the template for your need

http://www.expblog.net/expcounter/templategenerator/