Jump to content

Slider module memory allocation


Recommended Posts

Trying to upload a jpeg image to slider and get this error message. [PrestaShop] Fatal error in module file: /home/u323187338/domains/hsvdesigns.com/public_html/classes/ImageManager.php:571
Allowed memory size of 268435456 bytes exhausted (tried to allocate 40050712 bytes)

Can anyone help? Thanks!

 

Link to comment
Share on other sites

HI,

You can check the memory_limit by server and memory_limit configuration using the below code in the root of the Prestashop file

For example below URL

https://www.presta-addons-modules.com/phpinfo.php

<?php

phpinfo();

?>

You can set values using the htaccess file like below, it will set values in the php.ini configuration file. The values changes as per your server values.


php_value upload_max_filesize 512M

php_value post_max_size 512M

php_value memory_limit 1024M

php_value max_input_time 18000

php_value max_execution_time 1800

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...