Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.0.0
-
None
-
N/A
Description
This bugreport contains two issues that I just discovered when using updateviewcount.php on a new site.
1) The path_identification_string in ezcontentobject_tree is all lower case. If you use nice URL names like "News/Top-Stories", the path_identification_string is "news/top_stories", and hence will not match and make view counting not work.
2) If you have a slightly more complex site prefix than simply "http://siteurl/siteaccess". In example:
SitePrefix[]
SitePrefix[]=~knut/ezpublish/sites/example.com/index.php/example_site
in logfile.ini.append.php the updateviewcount.php will not match the access log entries.
See attached patch against trunk that fixed the problems for me and makes updateviewcount.php to work again.