visitor statistics?

Cazz

ahh yes I have add that code to index.php

sternchen8875

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
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.

Cazz

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
<?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

Cazz

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

hgs

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
<?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
LG Harald

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

paulchen

And you are quite sure that you have adjusted the template for the frontend?


Cazz

WB version: 2.13.2 r133
PHP version 8.1.2
webstats version: 0.2.5.3

Line 2 in index.php, after
<?php

hgs

What WB version
What php version
What wbstats version
and
which line did you insert where?
LG Harald

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

Cazz

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 :)

gba


dbs

[url="https://onkel-franky.de"]https://onkel-franky.de[/url]

gba

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):