WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • chCounter Error message
  • Print
Pages: [1]   Go Down

Author Topic: chCounter Error message  (Read 9812 times)

jsn

  • Guest
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 »
Logged

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4548
  • Gender: Male
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
Logged
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

jsn

  • Guest
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?
Logged

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4548
  • Gender: Male
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
Logged
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

jsn

  • Guest
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 »
Logged

LordDarkman

  • Guest
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
Logged

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/
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • chCounter Error message
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2