News:

Support the VirtueMart project and become a member

Main Menu

Error: Could not instantiate mail function

Started by jelly, July 05, 2012, 16:26:52 PM

Previous topic - Next topic

jelly

I have been digging in the forum, but still did not find the answer.
After check out, I get the error:
Could not instantiate mail function

Help is very much appreciated, since my site is completely stuck: no orders, I turned off the ask a question form for this reason. And I am completely stuck in my exploration of the new VM.

I know I have to change some data in joomla - GLOBAL CONFIGURATION ->MAIL SETTINGS but I don't know what to change. I tried some things, but with no success...

My site is online and I am using Joomla! 2.5.6 and VM 2.0.8.


finbarr69

This is a known bug in Joomla 2.5.6 (and related to a specific version of php and use of Safe Mode).

Easy solution is to log in to the Joomla Administrator backend and go to Global Configuration -> Server and change the Mailer option from PHP Mailer to SMTP instead.  Try and see if you can send an email.  You may or may not need to fill in the smtp authentication parameters (depending on your hosting).

If not, you need to replace a file.  See the bottom post here http://forum.joomla.org/viewtopic.php?f=615&t=727435 and the bug report here: http://code.google.com/a/apache-extras.org/p/phpmailer/issues/detail?id=68

HTH

Brian

jelly

Finbarr,

Thank you very very very much for pointing me in the right direction. I really didn't know what to do!
I read the links you posted.

THE SOLUTION:
The hot fix is to upload an older version of the file phpmailer.php from an earlier version of Joomla 2.5.4
Location of the file: \libraries\phpmailer\phpmailer.php

WHAT A RELIEF!!!! It is working again!
Thanks again!