0

I have Magento 1.7. My customers have recently been receiving this error message when trying to upload photos to our site. We use a FTP to hold our pictures. I was wondering if anyone can assist with what to do about the following error.

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 7680 bytes) in /home1/photofet/public_html/app/code/core/Mage/Catalog/Model/Category.php on line 674

Thanks for any assistance you can give us!

1

Try increasing the PHP memory limit. You can do this by either editing the .htaccess file in the Magento installation folder, or by editing the php.ini configuration file for your web server i.e. for Ubuntu this is in /etc/php5/apache2/php.ini

I don't know how much RAM your server has, but you could try:

php_value memory_limit 512M
0

Your PHP memory limit is set to 256MB which is absolute minimum to run Magento and still most of time throws errors like this one. Increase memory limit to 512MB or even more and this problem should go away.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.