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

Inline doc in logfile.ini can lead to error in updateviewcount script

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 5.3
    • 5.3-dev
    • Cronjobs
    • None

    Description

      Inline doc added in the logfile.ini gives an example of how you can set your storage logs dir.
      This example includes and ending slash
      https://github.com/ezsystems/ezpublish-legacy/blob/master/settings/logfile.ini#L6

      It happens that viewcount.php adds an slash by itself.
      https://github.com/ezsystems/ezpublish-legacy/blob/master/cronjobs/updateviewcount.php#L46
      Because of that, you can end with this kind of path...
      /var/log/httpd//yourlog.log. That double slash may produce a not found error in your script.

      Attachments

        Activity

          People

            Unassigned Unassigned
            desorden desorden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: