Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 01:49:34 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155533 Posts in 21713 Topics by 7739 Members
Latest Member: audillino
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: chCounter Error message  (Read 1218 times)
jsn

Offline Offline

Posts: 51


WWW
« on: October 31, 2009, 08:46:29 PM »

After copy/pasting this code

Code:
<?php
if(file_exists(WB_PATH.'/modules/expcount/counter.php')){
include(
WB_PATH.'/modules/expcount/counter.php'); }
?>





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

Luisehahne
Board Member
Development Team
*****
Offline Offline

Posts: 3147



WWW
« 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

We are human beings - and nobody is perfect at all.
jsn

Offline Offline

Posts: 51


WWW
« 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

Luisehahne
Board Member
Development Team
*****
Offline Offline

Posts: 3147



WWW
« 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

We are human beings - and nobody is perfect at all.
jsn

Offline Offline

Posts: 51


WWW
« 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
Development Team
*****
Offline Offline

Posts: 343


WWW
« 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
maverik

Offline Offline

Posts: 1568



WWW
« 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

Signatur wird geladen...
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!