VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: spacecash21 on September 22, 2012, 18:20:04 PM

Title: VM 2.0.10 emails dont get sent
Post by: spacecash21 on September 22, 2012, 18:20:04 PM
Hi,

I'm using Joomla 2.5.7 + VM 2.0.10 and the problem is the order emails don't get sent to client and admin.

Joomla SMTP email configuration part works just fine, as you get a registration emails when you register to the site. Also, I noticed that once in "Orders" tab you try to edit an order and when "Notify shopper" is checked, I get to blank page, but once it is unchecked, everything works just fine.
Title: Re: VM 2.0.10 emails dont get sent
Post by: Jumbo! on September 23, 2012, 09:16:26 AM
I think VirtueMart uses PHP Mail for sending emails. Please check if PHP mail is enabled on your server and also check the config.
Title: Re: VM 2.0.10 emails dont get sent
Post by: spacecash21 on September 23, 2012, 10:27:29 AM
PHP mail is enabled and works fine problem is somewhere else.
Title: Re: VM 2.0.10 emails dont get sent
Post by: John2400 on September 23, 2012, 10:56:34 AM
http://forum.virtuemart.net/index.php?topic=99492.0

have a look here too
Title: Re: VM 2.0.10 emails dont get sent
Post by: spacecash21 on September 23, 2012, 12:00:08 PM
I don't think that's that either. I think there is an error somewhere, because when you update order status and if you leave the " notify shopper" checked, you get white screen of death.
Title: Re: VM 2.0.10 emails dont get sent
Post by: jenkinhill on September 23, 2012, 16:28:46 PM
So what does the server error log show?
Title: Re: VM 2.0.10 emails dont get sent
Post by: spacecash21 on September 23, 2012, 16:38:52 PM
here's the apache error log:

[Sun Sep 23 15:36:03 2012] [error] [client 178.250.33.161] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /home/site.co.uk/public_html/administrator/components/com_virtuemart/tables/userinfos.php on line 115, referer: http://site.co.uk/administrator/index.php?option=com_virtuemart&view=orders

[Sun Sep 23 15:36:46 2012] [error] [client 178.250.33.161] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 7680 bytes) in /home/site.co.uk/public_html/administrator/components/com_virtuemart/tables/userinfos.php on line 69, referer: http://site.co.uk/administrator/index.php?option=com_virtuemart&view=orders
Title: Re: VM 2.0.10 emails dont get sent
Post by: Milbo on September 23, 2012, 21:21:26 PM
I think your image is too big, or something like this.

At the ned I think it is the pdf invoice. The pdf invoice needs usually something around 32 MB, so you should rise the memory limit to 42 or so and it should work.
Title: Re: VM 2.0.10 emails dont get sent
Post by: spacecash21 on September 23, 2012, 21:31:43 PM
Quote from: Milbo on September 23, 2012, 21:21:26 PM
I think your image is too big, or something like this.

At the ned I think it is the pdf invoice. The pdf invoice needs usually something around 32 MB, so you should rise the memory limit to 42 or so and it should work.

This actually has solved the problem. I think you should put a notice somewhere that VM2 needs at least 40 MB of memory to operate properly. Thanks!