Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

View Counter


Recommended Posts

A new version has been uploaded with these changes:

  • Added the sending IP to the bottom of the contact us email.
  • Added bots to the extra robots file.
  • Changed code to remove php 7.4 warnings.
  • Changed bad word code to skip empty lines in the bad words file to prevent php warnings. Pro Version only.
  • Changed code in Version Checker for php warning.
  • Changed code in the new address file to prevent duplicate file loading.
  • Corrected the entry for Vietnam in the countries list.
  • Corrected typo in the country blocking code.
  • Corrected mistake in the user agent identifier code. Found by member @Mikepo.
  • Corrected mistake in the word tracker module. Pro Version only.
  • Corrected failure in the Page Counts report. Found by member @Kofod.
  • Deleted the old countries list from the new files.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

@mendohThanks for pointing that out. To upgrade, just upload these files, or all of the files in the new files directory if it is easier{

admin/includes/functions/version_checker.php
admin/includes/functions/view_counter.php
includes/modules/view_counter.php

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

8 hours ago, Jack_mcs said:

Thanks for pointing that out.

Welcome!

I have upgraded by adding only the three files as per your suggestion, however:

  1. the displayed version is still 1.9 (even after refreshing the page/clearing the cache)
  2. the MYSQL page counts error is still there: 
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ggorderggbyggargggggascgg' at line 1

What is wrong?

Link to comment
Share on other sites

2 hours ago, mendoh said:
  • the displayed version is still 1.9 (even after refreshing the page/clearing the cache)
  • the MYSQL page counts error is still there: 

The version number just wasn't changed. You can change it in the admin/view_counter.php file if you like.

For the error, I made that change but it didn't get in this version. To fix it, please edit this file:

admin/includes/modules/view_counter/view_counter_report_page_count.php

and change

 $groupBy = ($showArg['yes'] == ' checked ' ? ' group by file_name, arg ' : ' group by file_name ');
 $sortByTmp = (strpos($sortBy, 'view_count') !== FALSE ? str_replace('view_count', 'cnt', $sortBy) : $sortBy);

to

 $groupBy = (isset($showArg['yes']) && $showArg['yes'] == ' checked ' ? ' group by file_name, arg ' : ' group by file_name ');
 $sortByTmp = (strpos($sortBy, 'view_count') !== FALSE ? str_replace('view_count', 'cnt', $sortBy) : $sortBy);
 $sortByTmp = str_replace('gg', ' ', $sortByTmp); 
 

 

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

2 hours ago, Jack_mcs said:

For the error, I made that change but it didn't get in this version. To fix it, please edit this file:

Thanks Jack!

Your latest fix along with the remake of all the previous fixes as per my previous highlights, now appear to have brought my Viev Counter from a 1.9 to a 1.10 fully functional version...

Link to comment
Share on other sites

@Jack_mcs

I followed all the instructions, but unable to get this module to work properly yet. Have not came across solution to my issue.

If I stop error reporting on admin, all errors/ warning disappears  not sure what I did wrong,

any advise pls. 

Standard header on all admin pages:

image.thumb.png.7cc49cf1f4045a78c72651ae3dcf7ee5.png

 

Below list of warnings including fatal error are on https://www.site.com/admin/view_counter.php 

Notice: Undefined index: color5 in /homepages/31/D*************/htdocs/Live/admin/includes/functions/view_counter.php on line 663

Notice: Undefined index: color4 in /homepages/31/D*************/htdocs/Live/admin/includes/functions/view_counter.php on line 662

Notice: Undefined index: color5 in /homepages/31/D*************/htdocs/Live/admin/includes/functions/view_counter.php on line 663

Notice: Undefined index: color4 in /homepages/31/D*************/htdocs/Live/admin/includes/functions/view_counter.php on line 663

Notice: Undefined index: color5 in /homepages/31/D*************/htdocs/Live/admin/includes/functions/view_counter.php on line 663

Notice: Undefined index: color5 in /homepages/31/D*************/htdocs/Live/admin/includes/functions/view_counter.php on line 663

Notice: Undefined index: ip in /homepages/31/D*************/htdocs/Live/admin/includes/functions/view_counter.php on line 662

Notice: Undefined index: color5 in /homepages/31/D*************/htdocs/Live/admin/includes/functions/view_counter.php on line 663

Notice: Undefined index: color5 in /homepages/31/D*************/htdocs/Live/admin/includes/functions/view_counter.php on line 663

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Notice: Trying to access array offset on value of type null in /homepages/31/D*************/htdocs/Live/includes/system/versioned/1.0.7.other/1.0.7.12/product_builder.php on line 87

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Deprecated: The tep_get_products_name function has been deprecated. in /homepages/31/D*************/htdocs/Live/admin/includes/functions/general.php on line 412

Warning: require_once(includes/classes/currencies.php): failed to open stream: No such file or directory in /homepages/31/D*************/htdocs/Live/admin/includes/functions/view_counter.php on line 1429

Fatal error: require_once(): Failed opening required 'includes/classes/currencies.php' (include_path='.:/usr/lib/php7.4') in /homepages/31/D*************/htdocs/Live/admin/includes/functions/view_counter.php on line 1429
English  (access count for last 24 hours is 30)

Notice: Undefined index: visitor in /homepages/31/D*************/htdocs/Live/admin/view_counter.php on line 802
VISITOR	
Notice: Undefined index: file_name in /homepages/31/D*************/htdocs/Live/admin/view_counter.php on line 803
FILE NAME	
Notice: Undefined index: arg in /homepages/31/D*************/htdocs/Live/admin/view_counter.php on line 804
PARAMETERS	
Notice: Undefined index: count in /homepages/31/D*************/htdocs/Live/admin/view_counter.php on line 805
COUNT	
Notice: Undefined index: ip in /homepages/31/D*************/htdocs/Live/admin/view_counter.php on line 806
IP	
Notice: Undefined index: date in /homepages/31/D*************/htdocs/Live/admin/view_counter.php on line 807
LAST DATE TIME	BAN	IGNORE	DELETE	KICK	?
Guest	
Notice: Undefined index: color12 in /homepages/31/D*************/htdocs/Live/admin/view_counter.php on line 824
ajax_buttons.php	 	3	
Notice: Undefined index: color12 in /homepages/31/D*************/htdocs/Live/admin/view_counter.php on line 827
United Kingdom of Great Britain and Northern Ireland192.11.11.1	Sat, 30th 13:49:22					
Guest	
Notice: Undefined index: color12 in /homepages/31/D*************/htdocs/Live/admin/view_counter.php on line 824
  -> checkout_shipping.php	 	1	
Notice: Undefined index: color12 in /homepages/31/D*************/htdocs/Live/admin/view_counter.php on line 827
United Kingdom of Great Britain and Northern Ireland192.11.11.1	Sat, 30th 13:47:28					

 

Edited by zeeshop
Link to comment
Share on other sites

@zeeshopDid you set the color scheme in the colors section? What version is your shop? What version of php are you using?

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Thanks,

Phoenix ver: 1.0.7.14  -  

PHP Version    7.4.14 (Zend 3.4.0)

by turning default colour schemes on, most error are gone and left with the following: 

on all pages top of Admin header:


Deprecated: The tep_session_id function has been deprecated. in /homepages/31/d#######0/htdocs/#####/admin/includes/functions/sessions.php on line 113

 

and on /admin/view_counter.php

image.thumb.png.df9ab34c0f5875e8406899eb53434b0f.png

Edited by zeeshop
Link to comment
Share on other sites

View Counter hasn't been changed to work with that version of Phoenix so I would expect errors or warnings.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

  • 4 months later...

A new version has been uploaded with these changes:

V 1.11

  • Added an error message when an invalid entry is made in the Ignore Range box.
  • Added code to stop an IP from being blocked or ignored when it is already in the other list.
  • Added partial searching for IP's in the Show Only IP box. So entering something like 54.56. will show all IP starting with 54.56.
  • Added an option for debug tracing.
  • Added more google search bots to the bots array.
  • Added an option to check blocked IP's to see if one is google since not all of their IP's follow normal rules.
  • Added more tables to the Clear Tables tool.
  • Added the remote host field to the VC table to help catch bad bots.
  • Added code to record the page name instead of the parameter when the server error addon is installed (recommended) and it gets accessed.
  • Changed the code for getting IP details to prevent failures for some IP's.
  • Changed the code to handle incorrectly entered IP's in the block and ignore boxes.
  • Changed the code in Monitor to greatly speed up the page load.
  • Changed the input boxes in the header of the Monitor section to accept input by pressing enter.
  • Changed the validate domain code since it was missing some bots due to multiple dots.
  • Changed the install script to restore the settings when a reset is done.
  • Changed robots.txt file in Extras to reduce size and correct some minor issues.
  • Changed code for sending emails for hackers and spoofers to ignore customers.
  • Corrected the emails sent for hackers and spoofers to show if the IP was actually blocked or not.
  • Corrected the code that identifies search bots that was added in the last version.
  • Corrected the missing text and layout in the Warning box on the Monitor page.
  • Corrected the Ignore list checking on the shop side. It was not seeing all ignored IP's.
  • Corrected mistakes in some of the language files that affected formatting.s
  • Fixed mistake in email logging code that used the wrong address.
  • Fixed mistakes in Tools->Maintenance.

PRO VERSION ONLY:

  • Added option to delete individual emails from the email log, Pro Version only.
  • Added a report to show the blocked countries history. Pro Version only.
  • Added a report to allow blocking by hosts. Pro Version only.
  • Added a report to display a log of all changes made. Pro Version only.
  • Added an on-page indicator showing it a hacking attempt has occurred. Pro Version only.
  • Changed the email tracking code to ignore emails from registered customers. Pro Version only.
  • Changed the email tracking code to record the customers IP in the Ignore list to prevent accidental banning. Pro Version only.
  • Changed option for Bad Words to delete the persons account or not. Pro Version only.
  • Changed the code for Bad Words to validate the email address. Pro Version only.
  • Corrected the code in the Skimmers report to handle CIDR's properly. Pro Version only.

Recommendations:

  • Install the Custom Server Error addon. This has long been recommended but in this version of View Counter, the argument in the url that caused the 404 is displayed. This catches attempts that were previously not seen.
  • Replace your robots.txt file with the one in the extra directory. It has a very long list of bots that will prevent unwanted traffic, in some cases. If you do this, be sure to change the url (top and bottom of file) and un-comment the bottom one. Only do this if you have a sitemap file to reference (strongly recommended).

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

  • 2 weeks later...

Be sure only the Related checkbox in the Type column is checked. Assuming that is the case, then it appears the change to the includes/application_top.php file was not made, if on a non-Phoenix shop, or the hook files were not uploaded, if on a Phoenix shop.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

I've never seen that happen and other than what I mentioned I can't think of any reason for it. Does the name of the database file in he view_counter directory match what is in the setting?  If you have changed any settings since installing it, other than turning it on, try switching those back. If you can't remember, run the database script and choose delete and then install again. This all assumes you are actually using a relatively new Phoenix shop. If not, the hook won't work and you would have to make the change to the application_top file. 

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

  • 2 weeks later...

Hi Jack,

Thank you for this wonderful add-on.

Installation is done (phoenix 1.0.3.0, but for some reason we are only seeing visitors to admin. Not visitors within catalog.

Tried to be fastidious! What did we mess up?

You are awesome!

 

 

 

Link to comment
Share on other sites

1 hour ago, wetzel said:

Installation is done (phoenix 1.0.3.0,

That version is closer to the non-Phoenix version than the Phoenix one. See my comments above about installing the changes in the application_top file. In fact, you probably should start over an use the "Other_Than_Phoenix" directory to install from.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Do you have a raw database sql file I can use to update my database? When trying the view_counter_db_handler.php I'm getting fatal errors such as Fatal error: Uncaught Error: Undefined constant "VIEW_COUNTER_GOOD_IP_LIST" . I'm using PHP8 on a test server.

Edited by Smoky Barnable

The water in a vessel is sparkling; the water in the sea is dark. The small truth has words which are clear; the great truth has great silence.

- Rabindranath Tagore

Link to comment
Share on other sites

Thanks Jack. Rather than start over, I made the file changes to see if that would rectify things.

The html_output change caused an error, but making the two changes to application_topl.php allows those visitors to appear in the report.

So we may be missing a few features, but it seems to be working okay.

Thank you!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...