2 months later

Hi BrettR

Just came across this issue myself, wasn't able to access the dashboard audit logs, i found that changing 19th and 21st line in the audits.php (\htdocs\System-name\scp) helped

from:

require_once(sprintf('phar:///%s/plugins/audit.phar/class.audit.php', INCLUDE_DIR));

$page= sprintf('phar:///%s/plugins/audit.phar/templates/auditlogs.tmpl.php', INCLUDE_DIR);

to:

require_once(sprintf('phar://%s/plugins/audit.phar/class.audit.php', INCLUDE_DIR));

$page= sprintf('phar://%s/plugins/audit.phar/templates/auditlogs.tmpl.php', INCLUDE_DIR);

Like KevinTheJedi mentioned there seemed to be an extra / in the path

hope this helps

    6 days later
    a month later

    I have the same issue, but in other everimonet

    When a i go to "control panel" -- "Audit logs" i recibe a error 500.

    CentOS Linux release 8.1.1911 (Core)
    PHP 7.4.4
    mysql Ver 15.1 Distrib 10.3.17-MariaDB
    Apache/2.4.37 (centos)

    Log apache:

    "GET /scp/audits.php HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36"

    I look for the Richard-Treanor recomendation, i found a "///" and change. But the error persist.

    ¿something to check?

    Thanks!!!

    @Gastondc then you do not appear to have the "same issue".
    This issue only appears in a windows server environment.

    In your case it could be:

    • You are running a version of PHP that osTicket does not support yet.
    • SELinux (or some other security feature like mod_security) could be preventing the file from being opened.

      ntozier Thanks for your fast reply.

      • I have disabled SELinux.
      • I try to change de PHP versión. I don't knok osticket don't support php 7.4.

      Thanks.

      ntozier

      No, i have disabled before post here. (Sorry for my english)

      Maybe is the php versión.

      3 months later

      Hi , can some help me with this error HTTP 5000 when i click on audit page , i have installed plugin audit
      i am running with this configuration installed in RHEL7
      osTicket Version v1.14.1 (f1e9e88) — v1.14.2 is available
      Web Server Software Apache/2.4.6 () OpenSSL/1.0.2k-fips PHP/7.4.8
      MySQL Version 5.5.65
      PHP Version 7.4.8

        srini
        You are running a version of PHP 7.4.8 that osTicket does not support yet

        Write a Reply...