Search code examples
php.htaccessmemorymemory-managementopencart

Fatal error: Allowed Memory size of 67108864 in opencart


I'm using opencart. In my admin page when I access CATALOG>PRODUCTS (I have 73 products - Totally I have four pages). When I access my second page it shows this following error

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 4000 bytes) in /home/justborn/public_html/system/library/image.php on line 34

But, I can access first, third and fourth page. I have tried this solution (Allowed memory size of 67108864 bytes exhausted (tried to allocate 4459414 bytes) in writing an xml file) in my .htaccess file

php_value memory_limit 128M

But, it returns 500 Internal error.. How do I solve this Fatal error: Allowed Memory size of 67108864 ?


Solution

  • I have found the Solution

    In my admin folder I have a php.ini file

    I have changed my memory_limit = 64M; to memory_limit = 128M;. Now it works fine.. I didn't get Fatal Error.