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 »
  • WebsiteBaker Support (2.13.x) »
  • General Help & Support »
  • visitor statistics?
  • Print
Pages: [1]   Go Down

Author Topic: visitor statistics?  (Read 10928 times)

Offline gba

  • Posts: 64
visitor statistics?
« on: December 17, 2022, 08:29:37 PM »
What happened to visitor statistics?

I use it on an other installation (WB2.12.1) and wanted to use it on a new installation, but I can't find it in the add-on section of WB.
My older version 0.1.11 doesn't work.

I get this error message:
There was an uncatched exception
Argument 1 passed to database::escapeString() must be of the type string, null given, called in /www/htdocs/w013bc51/dasyware/modules/wbstats/class.count.php on line 176
in line (257) of (/framework/class.database.php):
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8914
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: visitor statistics?
« Reply #1 on: December 17, 2022, 10:26:05 PM »
You can find it on the authors site.
https://dev4me.com/modules-snippets/opensource/wbstats/
Hope it helps.
Logged
https://onkel-franky.de

Offline gba

  • Posts: 64
Re: visitor statistics?
« Reply #2 on: December 17, 2022, 11:22:15 PM »
Thanks, it helped  :-)
Logged

Offline Cazz

  • Posts: 93
Re: visitor statistics?
« Reply #3 on: December 18, 2022, 12:06:13 PM »
Hi
I was a little curious about this visitor statistics and did install it and add the line in my index.php file (Line 2 after <?php)
But I did get this error

same error that gba have.

Any idea what it can be. was just curious :)
Logged

Offline hgs

  • WebsiteBaker Org e.V.
  • **
  • Posts: 1883
    • EFG MG
Re: visitor statistics?
« Reply #4 on: December 18, 2022, 02:48:25 PM »
What WB version
What php version
What wbstats version
and
which line did you insert where?
Logged
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

"Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

Offline Cazz

  • Posts: 93
Re: visitor statistics?
« Reply #5 on: December 18, 2022, 03:29:41 PM »
WB version: 2.13.2 r133
PHP version 8.1.2
webstats version: 0.2.5.3

Line 2 in index.php, after
Code: [Select]
<?php
Logged

Offline paulchen

  • Posts: 185
  • Gender: Male
    • PV-Steuer-Shop
Re: visitor statistics?
« Reply #6 on: December 18, 2022, 08:00:31 PM »
And you are quite sure that you have adjusted the template for the frontend?

Logged

Offline hgs

  • WebsiteBaker Org e.V.
  • **
  • Posts: 1883
    • EFG MG
Re: visitor statistics?
« Reply #7 on: December 18, 2022, 08:15:53 PM »
Quote from: Cazz on December 18, 2022, 03:29:41 PM
WB version: 2.13.2 r133
PHP version 8.1.2
webstats version: 0.2.5.3

Line 2 in index.php, after
Code: [Select]
<?php


This works for me on all websites without any problems with these versions.

Then we need the access data to the backend as "SuperAdmin" via pm
Logged
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

"Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

Offline Cazz

  • Posts: 93
Re: visitor statistics?
« Reply #8 on: December 18, 2022, 08:24:28 PM »
Quote from: paulchen on December 18, 2022, 08:00:31 PM
And you are quite sure that you have adjusted the template for the frontend?

Hmm not sure what you mean about that. I did just add the line in index.php
Logged

Offline Cazz

  • Posts: 93
Re: visitor statistics?
« Reply #9 on: December 18, 2022, 09:31:10 PM »
Quote from: hgs on December 18, 2022, 08:15:53 PM
Quote from: Cazz on December 18, 2022, 03:29:41 PM
WB version: 2.13.2 r133
PHP version 8.1.2
webstats version: 0.2.5.3

Line 2 in index.php, after
Code: [Select]
<?php

Going to upload a new WB site (I have to see if menu works) and give you access to it.

This works for me on all websites without any problems with these versions.

Then we need the access data to the backend as "SuperAdmin" via pm
Logged

Offline sternchen8875

  • Global Moderator
  • *****
  • Posts: 601
Re: visitor statistics?
« Reply #10 on: December 19, 2022, 12:21:34 AM »
Quote from: Cazz on December 18, 2022, 08:24:28 PM
Quote from: paulchen on December 18, 2022, 08:00:31 PM
And you are quite sure that you have adjusted the template for the frontend?

Hmm not sure what you mean about that. I did just add the line in index.php

right place for this code
Code: [Select]
include (WB_PATH.'/modules/wbstats/count.php');is in the index.php of the in this project used frontend-templates
(remember: in WB, it is possible, to use seperates frontend-templates for every single page and if you use more then one frontend-template, you've to add this code in all used frontend-templates.)

not the right place is (for example) the index.php in the root-folder of this installation.
Logged

Offline Cazz

  • Posts: 93
Re: visitor statistics?
« Reply #11 on: December 19, 2022, 05:46:20 PM »
ahh yes I have add that code to index.php
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • General Help & Support »
  • visitor statistics?
 

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