Bug #115

Unable to view tickets - memory exhausted

Added by Justin Freeman over 12 years ago. Updated about 11 years ago.

Status:Resolved Start date:30 Nov 2012
Priority:Normal Due date:
Assignee:Amarjeet Kaur % Done:

0%

Category:-
Target version:-

Description

Hi

Thanks for this module.

Submitting support tickets work fine, no error. As well as Knowledge Base and Downloads.

However when I click the Support -> Tickets, to display available tickets the page white screens and this error is logged to Apache error.log

PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 82 bytes) in /home/resolve/public_html/__swift/library/Database/class.SWIFT_Database.php on line 1006

So the module appears to be working with the exception of browsing tickets.

Using Kayako Resolve, 4.51.1891 and your latest code. Have followed the installation instructions and those in the Word document as well.

Would appreciate any tips on how to fix.

115-filter_email_lookup.patch (626 Bytes) Justin Freeman, 01/09/2013 09:04 pm

History

Updated by Justin Freeman over 12 years ago

By the way, it's not a PHP memory limit problem as have increased the memory up to 1GB and still have the error.

Updated by W Kish over 12 years ago

Having the same issue.

Updated by Mahesh Salaria over 12 years ago

  • Assignee set to Amarjeet Kaur

Updated by Justin Freeman about 12 years ago

To fix this, we've locally implemented a change that restricts the ticket retrieval to the current user's email when making the REST call, instead of filtering the results afterwards.

Patch attached.

Updated by hi@naveen.in almost 12 years ago

facing same issue ... does any body have solution for it...?

Updated by Amarjeet Kaur almost 12 years ago

  • Status changed from New to Closed

Updated by Justin Freeman almost 12 years ago

What is the outcome for this issue, is it fixed?

No one would know.. it's just "closed".

Updated by Amarjeet Kaur almost 12 years ago

  • Status changed from Closed to In Progress

Hi Justin,

Please accept my apologies for wrong status update for this issue.

Regarding update for this issue, I would like to inform you that we have added pagination support for tickets in WHMCS module.

But this feature is under auditing process, and will be available soon.

Your patience and understanding is highly appreciated.

Thank you,
Amarjeet Kaur

Updated by Justin Freeman almost 12 years ago

Thanks Amarjeet :)

Updated by Vitaliy almost 12 years ago

Thanks Justin for patch
Is it possible to apply this patch to clienareahome because we have huge memory usage on this page too.

Updated by Mansi Wason about 11 years ago

  • Status changed from In Progress to Closed

The latest WHMCS release version v01.00.03.

Updated by Mansi Wason about 11 years ago

  • Status changed from Closed to Resolved

Also available in: Atom PDF