I just upgraded from 1.8.1.2 to 1.9.4. Now when I open a ticket in the Agent Panel (scp/tickets.php?id=), I see the top of the ticket with the information like status, priority and department but where the ticket thread should be I get:Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 523800 bytes) in /var/www/htdocs/osticket-testing/include/class.list.php on line 1227There does not seem to be any relevant errors in the Apache or MySQL logs. In the osticket log there is a DB error before the upgrader messages: DB Error #1146 Table 'osticket_testing.ost_content' doesn't exist---- Backtrace ----#0 (root)/include/mysqli.php(177): osTicket->logDBError('DB Error #1146', '[ SELECT id FRO...')#1 (root)/include/class.page.php(218): db_query(' SELECT id FROM...')#2 (root)/scp/login.php(26): Page:('banner-staff')#3 {main} 

System InformationOS 12.04OSTicket: v1.9.4 (c18eac4)Web Server Software: Apache/2.2.22 (Ubuntu)MySQL: 5.5.40PHP: 5.3.10-1ubuntu3.15

Do you have full control of this host machine? Or is it hosted by someone else, maybe even on a shared machine or cloud?Jack

It is a local machine I have full control over.

Can you edit your php.ini and try setting memory_limit to say 512MB (you appear to have it set to 256MB right now) and then restart Apache.

Now I get:Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 523800 bytes) in /var/www/htdocs/osticket-testing/include/class.list.php on line 1227

but /include/class.list.php only has 1155 lines... /boggle.try re-uploading that one file I guess.  You can grab it from the download archive or from https://github.com/osTicket/osTicket-1.8/blob/v1.9.4/include/class.list.php

Replaced the file, same error.

How many lines are you seeing in your copy of class.list.php?Jack

I've been having the resource issues too.. I've had to upgrade my server instance and I still have some issues.

Hi, I have the same problem. I try to debug but it's very difficult.I can reproduce problem each time and I think I isolate the problem with this backtrace. I just dump the last line. The other are the same of sequence #62 to #67 :....#62 DynamicFormEntryAnswer->getValue() called at #63 DynamicFormEntryAnswer->toString() called at #64 DynamicFormEntryAnswer->__toString() called at #65 FormField->getAnswer() called at #66 SelectionField->getChoices() called at #67 SelectionField->to_php(, ) called at #68 DynamicFormEntryAnswer->getValue() called at #69 DynamicFormEntryAnswer->toString() called at #70 DynamicFormEntryAnswer->__toString() called at #71 FormField->getAnswer() called at #72 SelectionField->getChoices() called at #73 SelectionField->to_php(, ) called at #74 DynamicFormEntryAnswer->getValue() called at #75 DynamicFormEntryAnswer->getSearchable() called at #76 MysqlSearchBackend->IndexOldStuff(Array ( => 1), )#77 call_user_func_array(Array ( => MysqlSearchBackend Object ( => 60, => ost__search), => IndexOldStuff), Array ( => Array ( => 1), => )) called at #78 Signal:(cron, Array ( => 1)) called at My request is just a request on autocron.php modified to disable image output$ curl -v -H "Cookie: OSTSESSID=............" http://osticket/scp/autocron2.phpIs there someone who can explain this backtrace ?

6 days later

I have 1154 lines in my class.list.php, also puzzled. Is there anything else I can do to diagnose the error?

Write a Reply...