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

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: 5.3-dev
    • Fix Version/s: 5.3
    • Component/s: Cronjobs
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              desorden Carlos Revillo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: