VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: Efferinie on November 22, 2013, 09:10:22 AM

Title: after update virtuemart not sending emails
Post by: Efferinie on November 22, 2013, 09:10:22 AM
Hello,

After the update to .22, virtuemart doesn't send any email to the site owner and the purchaser when an order is placed.
Now i've updated to .24, but the same problem.

My contact form on the joomla site sends email succesfull.

How this is possible?

Thanx,
Marvin
Title: Re: after update virtuemart not sending emails
Post by: jenkinhill on November 22, 2013, 09:13:43 AM
Check settings for Default Order Status to send email to shoppe/vendor in Configuration/Checkout
Title: Re: after update virtuemart not sending emails
Post by: Efferinie on November 22, 2013, 11:07:52 AM
(http://i.imgur.com/BJNXlKy.png)
Title: Re: after update virtuemart not sending emails
Post by: GJC Web Design on November 25, 2013, 16:22:44 PM
Have just fixed a site that was doing this..

Contact and send to friend emails fine, settings correct etc

Turned out it was a Fatal error: Allowed memory size of 33554432 bytes exhausted - obviously during checkout you don't see this

To test try changing the status of orders in the admin and see if the email sends - that's when I saw the error - we increased the memory allocation and emails sending successfully now..
Title: Re: after update virtuemart not sending emails
Post by: Milbo on November 25, 2013, 20:40:31 PM
Interesting, we increase the memory already for creation of pdfs. But it seems we need to ensure 32MB also for the emails.
Title: Re: after update virtuemart not sending emails
Post by: Jimmie on November 25, 2013, 20:47:47 PM
Simple question. How do I increase the memory? So I can check...

I have the same problem since update to 2.0.24 (a,b)

Regards, John
Title: Re: after update virtuemart not sending emails
Post by: GJC Web Design on November 25, 2013, 20:54:32 PM
Milbo - yes the site I fixed was attaching the pdf invoice as well

John - ask your host normally  - some hosts let you do it with a php ini etc - but check with them - they will know

Check your allocated memory in Joomla-> Site->system information
php information tab

search for memory_limit
Title: Re: after update virtuemart not sending emails
Post by: GJC Web Design on November 26, 2013, 10:04:54 AM
Just to confirm - had a 2nd site this morning - no confirm emails - memory_limit 32MB - raised to 128 and emails now sending
Title: Re: after update virtuemart not sending emails
Post by: jenkinhill on November 26, 2013, 11:34:14 AM
My view on this is that Joomla 2.5. really needs a minimum of 128Mb - and I prefer to use 256MB although that does not give any speed advantage. Problem is that too many people use shared hosts where it is not possible or permitted to increase memory_limit.
Title: Re: after update virtuemart not sending emails
Post by: GJC Web Design on November 26, 2013, 12:02:15 PM
Indeed - agree - but for some bizarre reason clients tend to think hosting shouldn't cost more than $20 a year ..
supposed they're fed on a diet of Host Gator all you can eat for a dollar...  ;)
Title: Re: after update virtuemart not sending emails
Post by: Jimmie on November 27, 2013, 12:09:49 PM
Hmm... mine is on 128mb. So propably I have an other issue
Title: Re: after update virtuemart not sending emails
Post by: GJC Web Design on November 27, 2013, 12:18:02 PM
just manually change a status in admin and notify the customer - fatal error? email sent and received? no email?
Title: Re: after update virtuemart not sending emails
Post by: Jimmie on November 27, 2013, 13:16:19 PM
Strange thing is when I change something/a status, I receive an VM email once ??? Changing something again results (mostly) in another email to the vendor once... I don't have a clou  ??? (but luckily I also have ccVOAM which do send an email, so it is not that big problem)

Thanks for your help, John
Title: Re: after update virtuemart not sending emails
Post by: Milbo on December 02, 2013, 11:08:40 AM
I added

VmConfig::ensureMemoryLimit(96);

to the private sendVmMail function.