Error 500 after order confirm.


  • Default avatar
    riccardo9    
     10 years ago
    0

    Hi,
    sorry for my english.

    Environment:
    Joomla 2.5.19
    Virtuemart 2.0.24


    I have a problem when accept the order. The server return error 500.
    Into the log I have find this:
    mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 491520 bytes) in /administrator/components/com_awocoupon/helpers/estore/estoregiftcerthandler.php on line 374

    The service provider have set max memory allow into php.ini at 48Mb.

    How can I do to prevent these excesses memory?

    Many thanks
    Riccardo
  • Your avatar
    seyi    
     10 years ago
    0

    Hello,

    That is very low amount of memory. On an ecommerce website, I would think theminimum amount of memeory you need is 128mb. You are likely to have problems with other extensions moving forward.

    But for your question, I think you need more memory to create the gift certificate image. The only thing I can suggest is to use a 'text' profile and not an 'html' profile. Set a 'text' profile to the default and in the gift certificate product, make sure you have not selected a profile image. Then test it again.
  • Default avatar
    riccardo9    
     10 years ago
    0

    Thank you for your response. indeed the amount of memory was very low. I proceeded through my provider to increase it, and the problem is back.

    thanks
    Riccardo
  • Your avatar
    seyi    
     10 years ago
    0

    Did you try changing the gift certificate email to a text email? And if so did that go through?