Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-13045

updateviewcount.php problems with url's

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Customer request
    • 4.0.0
    • Cronjobs
    • 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.

      Attachments

        Activity

          People

            gl gl
            kurdalen kurdalen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: