Having errors when using Opencart

December 2, 2014 4.2k views

Dear All,

I have a droplet having WHM+Cpanel installed.

Till few days back everything seems to be fine without any issue.

But Now we are having issue when we install and use Opencart. When we are trying to access admin section of opencart it throws following error :

<^>Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 13728 bytes) in /home/nazrana/public_html/system/library/image.php on line 34

Then, i though its because of some missing or corrupt files, So, i have uploaded the file again and tried to install again, installation was pretty smooth and not having any issues, but again when i try to access admin (Catalog > Product) its through the same error.

Then i through something is wrong with the server/php configuration. Then i have changed the PHP memory limit to 4000M, again the same issue.

Finally I tried to install opencart on a different hosting provider and their i haven’t got any error.

For your information, GD library is already installed on my droplet.

Please help guys! as i really need your support.

  • What size droplet do you have this installed on? By default droplets do not have a swap partition so services can crash if the system runs out of available memory. I’d recommend enabling a swapfile on your droplet to see if it resolves the problem. You may also want to consider upgrading to a larger droplet.

    by Justin Ellingwood
    Swap space can be used as an "overflow" area for your system when you run out of RAM. The operating system can store data that would normally be kept in RAM on the hard drive in a specially formatted file. In this guide, we'll demonstrate how to create and use one of these files in Ubuntu 14.04.
  • 4GB RAM, 60GB SSD (30% used)

  • Server is not getting crashed, only the error get displayed.

  • You can see the size above in the comment.

1 Answer

I’m having the same to same error.

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!