PHP-Web-Stat Support Forum
https://www.php-web-statistik.de/cgi-bin/yabb/YaBB.pl
Board (English) >> English board >> Unable to get PHPWebStat to work
https://www.php-web-statistik.de/cgi-bin/yabb/YaBB.pl?num=1454665366

Beitrag begonnen von KevinA am 05.02.16 um 10:42:46

Titel: Unable to get PHPWebStat to work
Beitrag von KevinA am 05.02.16 um 10:42:46
Hi
   first of all I'm not very good at this and I'm just starting out with my website.  I can't get it to work as it keeps saying 'the domain entry differs from the server response' I'm using 123-reg to host www.kevinagar.co.uk and using web forwarding to my home webserver.  All other parts of the website work ok.  Any other information required?   Can someone point me in the right direction  please

http://i653.photobucket.com/albums/uu257/kevinagar/phpwebstat/2016-02-05_093003.jpg

http://i653.photobucket.com/albums/uu257/kevinagar/phpwebstat/2016-02-05_093122.jpg

Titel: Re: Unable to get PHPWebStat to work
Beitrag von Reimar am 05.02.16 um 20:51:56
Hi there,

first of all, please remove all ip address within the section of the domain names. There should not be any domainname. Only the kevin... entry is the right one.
You are making a redirect to an ip address where the real website is running. There you are using the target address http://82.30.9.112:80.
Just enter http://82.30.9.112 without the port, cause the port 80 is the default one, you do not need this.
The tracking does not work in your case, because you have to enter the host or domainname of the real hosting site. In your case, the hostname of http://82.30.9.112 is cpc91560-seac25-2-0-cust367.7-2.cable.virginm.net.
So enter this hostname in the domain name section.
Last but not least, you entered the tracking code twice in your site. At the top and the bottom. Delete the one at the top, its outside the html construct. Just leave the one at the bottom.
Then test again, hoping that it works ::)
Cheers
Reimar

Titel: Re: Unable to get PHPWebStat to work
Beitrag von KevinA am 08.02.16 um 16:07:46
Hi Reimar
             first of all thank you for answering my query and giving me some suggestions.  I removed the 1st entry in my index.php file as suggested.  If I follow you correctly I've changed the general settings to
http://i653.photobucket.com/albums/uu257/kevinagar/2016-02-08_145556.jpg

I rebooted my system and checked again but I'm still getting the same errors.  Sorry for being so stupid, but I still need help


Kevin

Titel: Re: Unable to get PHPWebStat to work
Beitrag von KevinA am 08.02.16 um 17:24:16
Hi Reimar
             think things are getting better but still not there.  I'm now not getting some errors as shown below but still not working
http://i653.photobucket.com/albums/uu257/kevinagar/2016-02-08_162036.jpg

Titel: Re: Unable to get PHPWebStat to work
Beitrag von Reimar am 09.02.16 um 14:15:00
Hi Kevin,

Domains to track should also be set to
http://cpc91560-seac25-2-0-cust367.7-2.cable.virginm.net

Hope it works
Reimar

Titel: Re: Unable to get PHPWebStat to work
Beitrag von KevinA am 09.02.16 um 18:06:04
Hi Reimar
              thank you for your patience.  I've tried several different combinations and 2 seem to give me the right setup although I don't know if it works when someone else looks at my website.  Here are some screen captures to show what's happening.  Which one should I use #3 or #4, or doesn't it matter?  I'm hoping someone looks at the site soon and then I can let you know the results

http://i653.photobucket.com/albums/uu257/kevinagar/2016-02-09_165129.jpg

http://i653.photobucket.com/albums/uu257/kevinagar/2016-02-09_165249.jpg

http://i653.photobucket.com/albums/uu257/kevinagar/2016-02-09_165357.jpg

http://i653.photobucket.com/albums/uu257/kevinagar/2016-02-09_165506.jpg


Titel: Re: Unable to get PHPWebStat to work
Beitrag von Reimar am 10.02.16 um 14:10:08
Hi Kevin,

please delete the first lines within your html file:

Code (javascript):
  <script type="text/javascript" src="http://82.30.9.112/phpwebstat/track.php?mode=js"></script>
  <noscript><img src="http://82.30.9.112/phpwebstat/track.php?mode=img" border="0" alt="" width="1" height="1"></noscript>


and take the number #3 or #4 again.
Seems to work?

Good luck
Reimar

Titel: Re: Unable to get PHPWebStat to work
Beitrag von KevinA am 10.02.16 um 15:19:13
Hi Reimar
              I removed the code that you suggested but I don't understand what you mean by "and take the number #3 or #4 again."
The only entries in the stats are all generated by me when checking with Syscheck>tracking.  In the Admin Centre Index it does show that you logged in today at 11:12 am

Titel: Re: Unable to get PHPWebStat to work
Beitrag von KevinA am 11.02.16 um 09:51:21
Hi Reimar
            sorry, reread the complete thread and now I understand what you mean.  I've tried both #3 and #4 but still it only logs system checks and nothing else.  Any other suggestions?

Titel: Re: Unable to get PHPWebStat to work
Beitrag von Reimar am 12.02.16 um 14:18:07
Please change the code of your kevinagar.co.uk Domain:

before:

Code (html):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html lang="en">
<head><title>Kevin B Agar</title>
</head>
<frameset rows="100%">
<frame title="http://82.30.9.112:80" src="http://82.30.9.112:80" name="mainframe" frameborder="0" noresize="noresize" scrolling="auto">
<noframes>Sorry, you don"t appear to have frame support.
Go here instead - <a href="http://82.30.9.112:80">Kevin B Agar</a></noframes>
</frameset>


after:

Code (html):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html lang="en">
<head><title>Kevin B Agar</title>
</head>
<frameset rows="100%">
<frame src="cpc91560-seac25-2-0-cust367.7-2.cable.virginm.net" name="mainframe" frameborder="0" noresize="noresize" scrolling="auto">
<noframes>Sorry, you don"t appear to have frame support.
Go here instead - <a href="http://82.30.9.112:80">Kevin B Agar</a></noframes>
</frameset>


and then try again.
If its not working, i suggest you taking a "real" hoster.
This means, having a domain and hosting of the site together. If you want to separath both (domain versus hosting), i would recommend the following:
1. keep the domain kevinagar.co.uk
2. register a hosting site (you are in england right?), i suggest https://www.exclusivehosting.net/
3. pointing the domain kevinagar.co.uk to your hoster via dns entries (A records)
4. or you register at https://www.exclusivehosting.net/ and do a transfer of your domain to this hoster

I think in your current technical situation, there is a lack of functionality.

Titel: Re: Unable to get PHPWebStat to work
Beitrag von berto am 14.01.19 um 10:41:33
Hi,
Thank you for a beautiful application. But I cannot make it work.
I find the setup a bit confusing…

In Admin Center version 1.8
General Configuration
What is your domain? http://mt-alpes.fr
Starting page of your domain:      index.php
Stat folder: stat/
Which domains should be tracked by the stat? mt-alpes.fr
(obviously I want to track my own website!)

When I go to http://mt-alpes.fr/stat/
I see my own home page (index.php) ???

In my home page I included tracking_code.php

I edited stat/config/tracking_code.php to fit my domain name.

What is the mistake?

Thank you.

Titel: Re: Unable to get PHPWebStat to work
Beitrag von Reimar am 22.01.19 um 17:11:39
Hi there,

please check this: http://mt-alpes.fr/stat/sysinfo.php

The uploaded files should not be marked red. So please upload the desired files again to solve this problem. The index.php of the stat is not present on your server. Please follow our instructions for uploading or our faq on our site.

Thx
Reimar

PHP-Web-Stat Support Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2012. Alle Rechte vorbehalten.