Jump to content

Memory limit, product with attributes, prestashop 1.7.1.2


dumiti

Recommended Posts

I got fatal error, after i try to edit product with many attributes.

 

Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in

 

vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/Type/FormType.php on line 150

 

I incrase php_memory_limit to 2 GB (sic!!!) with no affect...

 

ON screen (1.png) You got screen with generate combination. after click generate its save combinates to database but they don't show on product page, after refresh product page or try to edit it, i got error 500 memory size...

 

 

post-410577-0-66042200-1498070538_thumb.png

post-410577-0-38939300-1498070542_thumb.png

Link to comment
Share on other sites

  • 1 month later...
  • 8 months later...

PS 1.7. i still a product in development. It is not stable.

For the problem with memory exhausted, it is the same as on all other PS-Versions. It's a wrong server setting problem.

Check the min. server requirements needed to run PS 1.6 and PS 1.7. without any problems. Make the changes, or ask your Provider.

PS 1.7 https://www.prestashop.com/forums/topic/633857-server-requirements-for-ps-17/

PS 1.6. https://www.prestashop.com/forums/topic/633856-server-requirements-tested-in-production-for-ps-16/

If you have a hugh quantity of combinations fo to create, so encrease max_input_time and max_execution_time to 900. With this it will pass.

Other possibility is to don't use the Presta scripts for this, i.e. don't use Prestashop back-office native functions and instead of that use the Store Manager. You can test this too 30 days for free. You find it on back-office module list "store manager", or xou can download it for free from the addons: https://addons.prestashop.com/en/modules-prestashop/2937-store-manager-for-prestashop.html

 

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...