WebsiteBaker Community Forum
General Community => Global WebsiteBaker 2.8.x discussion => Topic started by: jsn on October 31, 2009, 08:46:29 PM
-
After copy/pasting this 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.
-
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 After copy/pasting
Dietmar
-
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?
-
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
-
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.
-
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
-
or try this to generate the template for your need
http://www.expblog.net/expcounter/templategenerator/