While i was changing my manager in department . Its taking time and got crash. See the screenshots.
Setting a externel task scheduler in Ubunutu 18.04 step by step.
The query is not working.
- Now a new problem arised. Cron fetches mail but doesn,t generate new tickets and doesnt send auto response or auto reply.
- 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,
its already set to 1024m
still the department section lags and i cant make any changes.
error after increasing the memory limit
[Tue Aug 20 09:34:25.884696 2019] [php7:error] [pid 14935] [client 10.200.234.107:38328] PHP Fatal error: Allowed memory size of 4294967296 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/osticket/include/class.orm.php on line 3474, referer: https://10.200.236.106/osticket/scp/departments.php?id=3](http://10.200.236.106/osticket/scp/departments.php?id=3)
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.
- Department section not working.
- Please help me to change Asia/Jerusalem to Asia/Kolkata.
- 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.