While i was changing my manager in department . Its taking time and got crash. See the screenshots.

amarnath Sorry, I'll admit I'm struggling to find useful answers here, but maybe the following would work? Try typing into MySQL (as root or other user with system privs)

SET `time_zone` = 'Asia/Kolkata'

The query is not working.

  1. Now a new problem arised. Cron fetches mail but doesn,t generate new tickets and doesnt send auto response or auto reply.
  2. And there is some issue with the department tab whatever changes i am making it gets crashes. I have changed my memory_limit to 1024m and max_time_execution to 300 in apache2/php.ini.
    Apache error.log>>
    [Fri Aug 16 15:20:16.581075 2019] [php7:error] [pid 20697] [client 10.200.234.107:58144] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/osticket/include/class.orm.php on line 3474, referer: http://10.200.236.106/osticket/scp/departments.php?id=3
    [Fri Aug 16 15:20:16.594188 2019] [php7:error] [pid 20697] [client 10.200.234.107:58144] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/osticket/include/class.orm.php on line 3439, referer: http://10.200.236.106/osticket/scp/departments.php?id=3
    [Fri Aug 16 15:20:16.610378 2019] [php7:warn] [pid 20697] [client 10.200.234.107:58144] PHP Warning: Unknown: Cannot call session save handler in a recursive manner in Unknown on line 0, referer: http://10.200.236.106/osticket/scp/departments.php?id=3
    [Fri Aug 16 15:20:16.610433 2019] [php7:warn] [pid 20697] [client 10.200.234.107:58144] PHP Warning: Unknown: Failed to write session data using user defined save handler. (session.save_path: /var/lib/php/sessions) in Unknown on line 0, referer: http://10.200.236.106/osticket/scp/departments.php?id=3

please find the solution.

    any solution team.???????????????????????????????????

    amarnath [Fri Aug 16 15:20:16.581075 2019] [php7:error] [pid 20697] [client 10.200.234.107:58144] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/osticket/include/class.orm.php on line 3474, referer: http://10.200.236.106/osticket/scp/departments.php?id=3

    Your PHP is running out of memory. I would address that first.
    You take care of that by changing the php.ini file, and upping the memory_limit directive,

    still the department section lags and i cant make any changes.

    I got this error on gmail.

    Unable to connect to the database — No such file or directory
    http://:var/www/html/osticket/api/cron.php
    Ref-Mid: BMAMEu2-oqYie-AAAAAAAAAAAAAAAAP6ml55Pg-@osTicketMailer

    You have had more issues with this one installation than I have in the past ten years of setting up osTicket of various versions on various OSes.

    Version of osTicket?
    Version of PHP?
    Webserver being used?
    Are you running SELinux?

      I dont run SeLinux. Ubuntu 18.04. See the screenshot . ntozier I just want to get rid of three issue.

      1. Department section not working.
      2. Please help me to change Asia/Jerusalem to Asia/Kolkata.
      3. cgi.fix_pathinfo "1" is recommended if AJAX is not working. I have change it to '1' but still show thw error.

      Just because you are running Ubuntu does not in fact mean that you are not running SELinux... or something similar. Packages like SELinux or AppArmor are packages that implements access control in linux. These types of packages have been known to cause issues with osTicket.

      regarding 1.
      how many departments do you have?
      running out of memory seems to be the issue. I've never seen someone run out of memory on going into departments before. What is department 3? Since the url indicates 3 as causing the error. You may have to access the database directly to see what the department is.

      regarding 2.
      RBGE told you how to do that 6 days ago.

      Regarding 3
      cgi.fix_pathinfo 1 is for windows. You are not running windows/IIS and can ignore it.

      Write a Reply...