Welcome Guest, Not a member yet? Register   Sign In
ErrorException #1 reported
#3

(This post was last modified: 02-01-2023, 03:03 PM by b126.)

(01-31-2023, 07:06 PM)kenjis Wrote:
Quote:Allowed memory size of 134217728 bytes exhausted (tried to allocate 65015808 bytes)
APPPATH\Views\errors\html\error_exception.php at line 96

It seems difficult to improve the error message, because it is memory shortage.

1. increase PHP memory
2. comment out the PHP code in error_exception.php around line 96
3. set CI_ENVIRONMENT to production and check the log file

1. Increasing the memory from 128MB to 1GB didn't helped
2. Commenting line 96 in the view did the job and I got the proper error displayed (see below)
3. And the log is also properly fed

Thank you.
But, don't you think it's a bit sad that this "error_exception" view prevents this message from coming up when it could be very useful in development?
Can this be improved in next version?

For info, the error was : 
Doctrine\Common\Annotations\AnnotationException
[Semantical Error] The annotation "@ORM\Table" in class Test was never imported. Did you maybe forget to add a "use" statement for this annotation?
Reply


Messages In This Thread
ErrorException #1 reported - by b126 - 01-31-2023, 09:33 AM
RE: ErrorException #1 reported - by kenjis - 01-31-2023, 07:06 PM
RE: ErrorException #1 reported - by b126 - 02-01-2023, 03:03 PM
RE: ErrorException #1 reported - by kenjis - 02-01-2023, 09:33 PM
RE: ErrorException #1 reported - by b126 - 02-02-2023, 01:05 AM
RE: ErrorException #1 reported - by kenjis - 02-01-2023, 08:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB