joomla 2.5.22 new upgrade Could not instantiate mail functio

The support for Joomla 2.5 ended on December 31, 2014. Possible bugs in Joomla 2.5 will not be patched anymore. This forum has been closed. Please update your website to Joomla 3.x

Moderator: ooffick

Forum rules
Please use the official Bug Tracker to report a bug: https://issues.joomla.org
Locked
FDigital01
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 245
Joined: Wed May 11, 2011 7:31 am

joomla 2.5.22 new upgrade Could not instantiate mail functio

Post by FDigital01 » Wed Jun 25, 2014 6:32 am

Could not instantiate mail function.

how can this be fixed? looks like a bug.

User avatar
RustyJoomla
Joomla! Explorer
Joomla! Explorer
Posts: 395
Joined: Wed Aug 01, 2007 12:08 am
Location: UK
Contact:

Re: joomla 2.5.22 new upgrade Could not instantiate mail fun

Post by RustyJoomla » Wed Jun 25, 2014 8:13 am

Are you running this locally (on your local machine) or on-line?
Follow me on Twitter - http://twitter.com/RustyJoomla
Company Joomla Website - https://storm.agency

FDigital01
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 245
Joined: Wed May 11, 2011 7:31 am

Re: joomla 2.5.22 new upgrade Could not instantiate mail fun

Post by FDigital01 » Wed Jun 25, 2014 10:52 am

on-line. Everything was fine - the site has been live for 2 years, but today I noticed the error message. This was after I upgraded to 2.5.22

User avatar
RustyJoomla
Joomla! Explorer
Joomla! Explorer
Posts: 395
Joined: Wed Aug 01, 2007 12:08 am
Location: UK
Contact:

Re: joomla 2.5.22 new upgrade Could not instantiate mail fun

Post by RustyJoomla » Wed Jun 25, 2014 10:59 am

Is it using PHP mail? If so, try changing the set up to use SMTP Authentication rather than the PHP mail function().

This is a good walk through:

http://www.inmotionhosting.com/support/ ... -over-smtp
Follow me on Twitter - http://twitter.com/RustyJoomla
Company Joomla Website - https://storm.agency

FDigital01
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 245
Joined: Wed May 11, 2011 7:31 am

Re: joomla 2.5.22 new upgrade Could not instantiate mail fun

Post by FDigital01 » Wed Jun 25, 2014 12:26 pm

i have tried that but smtp just crashes everything.

User avatar
RustyJoomla
Joomla! Explorer
Joomla! Explorer
Posts: 395
Joined: Wed Aug 01, 2007 12:08 am
Location: UK
Contact:

Re: joomla 2.5.22 new upgrade Could not instantiate mail fun

Post by RustyJoomla » Wed Jun 25, 2014 12:27 pm

Sounds like you may have more problems on your site than originally thought...
Follow me on Twitter - http://twitter.com/RustyJoomla
Company Joomla Website - https://storm.agency

FDigital01
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 245
Joined: Wed May 11, 2011 7:31 am

Re: joomla 2.5.22 new upgrade Could not instantiate mail fun

Post by FDigital01 » Wed Jun 25, 2014 9:38 pm

everything was working perfectly until the upgrade to j.2.5.22 and then this error message.

i have checked the email address of the system sender and everything is ok. i have checked all the admin emails on the server and all are ok.

everything else on the site works perfectly.

FDigital01
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 245
Joined: Wed May 11, 2011 7:31 am

Re: joomla 2.5.22 new upgrade RESOLVED

Post by FDigital01 » Thu Jun 26, 2014 12:21 am

The problem seems to have resolved itself. The email server did not clear the deleted emails (or did not recognise they were cleared). I set the admin email to unlimited and this seems to have fixed the problem.

User avatar
RustyJoomla
Joomla! Explorer
Joomla! Explorer
Posts: 395
Joined: Wed Aug 01, 2007 12:08 am
Location: UK
Contact:

Re: joomla 2.5.22 new upgrade Could not instantiate mail fun

Post by RustyJoomla » Thu Jun 26, 2014 9:47 am

That's odd. Glad it's working for you now.
Follow me on Twitter - http://twitter.com/RustyJoomla
Company Joomla Website - https://storm.agency

FDigital01
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 245
Joined: Wed May 11, 2011 7:31 am

Re: joomla 2.5.22 new upgrade Could not instantiate mail fun

Post by FDigital01 » Fri Jun 27, 2014 1:21 am

The error is back! It disappeared and emails were sent. But it is now back and I cannot get rid of it!

This is a very serious problem.... can anyone give me a clue as to why this has happened after the update to 2.5.22

User avatar
RustyJoomla
Joomla! Explorer
Joomla! Explorer
Posts: 395
Joined: Wed Aug 01, 2007 12:08 am
Location: UK
Contact:

Re: joomla 2.5.22 new upgrade Could not instantiate mail fun

Post by RustyJoomla » Fri Jun 27, 2014 5:26 am

When you say the error is back, is it showing an error message? If so can you share it please? Or add a screen shot to the post?
Follow me on Twitter - http://twitter.com/RustyJoomla
Company Joomla Website - https://storm.agency

User avatar
toivo
Joomla! Exemplar
Joomla! Exemplar
Posts: 9701
Joined: Thu Feb 15, 2007 5:48 am
Location: Oxford, UK
Contact:

Re: joomla 2.5.22 new upgrade Could not instantiate mail fun

Post by toivo » Fri Jun 27, 2014 5:48 am

@FDigital01 - I am just curious to know if yours was a new installation of 2.5.22 or an upgrade from an earlier version of 2.5?

The files in /libraries/phpmailer are different in 1.5 and again in 3.x but have remained the same within 2.5 at least from 2.5.8.
Toivo Talikka, Global Moderator
my first programs were assembled and run in 16KB :)
troubleshooting smtp and other articles https://talikka.com/joomla

FDigital01
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 245
Joined: Wed May 11, 2011 7:31 am

Re: joomla 2.5.22 new upgrade Could not instantiate mail fun

Post by FDigital01 » Fri Jun 27, 2014 8:13 am

this was an upgrade. the site has been running for about a year with joomla 2.5 versions. this is the first time i have had a problem. nothing else was changed.

attached is a screen shot of the admin panel.

i have checked the emails and all are working correctly.

i have set them to unlimited so as to mitigate issues that may occur if mailboxes get full.

all extensions seem to be working correctly.
You do not have the required permissions to view the files attached to this post.

FDigital01
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 245
Joined: Wed May 11, 2011 7:31 am

Re: joomla 2.5.22 new upgrade Could not instantiate mail fun

Post by FDigital01 » Tue Jul 01, 2014 5:49 am

i finished up removing the site and setting up a new joomla 3 site.

User avatar
toivo
Joomla! Exemplar
Joomla! Exemplar
Posts: 9701
Joined: Thu Feb 15, 2007 5:48 am
Location: Oxford, UK
Contact:

Re: joomla 2.5.22 new upgrade Could not instantiate mail fun

Post by toivo » Tue Jul 01, 2014 6:55 am

Are all email functions in Joomla nw working all right, after the installation of a new Joomla 3 site? Is it the latest version, 3.3.1?
Toivo Talikka, Global Moderator
my first programs were assembled and run in 16KB :)
troubleshooting smtp and other articles https://talikka.com/joomla

FDigital01
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 245
Joined: Wed May 11, 2011 7:31 am

Re: joomla 2.5.22 new upgrade Could not instantiate mail fun

Post by FDigital01 » Sun Jul 06, 2014 12:43 am

the email works in the new joomla 3 set up but I have just noticed the "cannot instantiate email" on another joomla 3 site.

The commonality seems to be that I have updated them within the last 2 months. There is nothing special about the site and I have used the same template I have always used....this is very disturbing

This is the contact form that does not work:

http://www.birregurrafarmfoods.com.au/index.php/contact

This is the system info:
Setting Value

PHP Built On Linux vps42277.mylogin.co 2.6.32-042stab088.4 #1 SMP Thu Apr 3 17:41:05 MSK 2014 i686
Database Version 5.1.61
Database Collation utf8_general_ci
PHP Version 5.3.28
Web Server Apache/2.2.26 (Unix) mod_ssl/2.2.26 OpenSSL/1.0.0d mod_fcgid/2.3.7 mod_auth_pgsql/2.0.3
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.3.0 Stable [ Ember ] 30-April-2014 14:00 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36

User avatar
toivo
Joomla! Exemplar
Joomla! Exemplar
Posts: 9701
Joined: Thu Feb 15, 2007 5:48 am
Location: Oxford, UK
Contact:

Re: joomla 2.5.22 new upgrade Could not instantiate mail fun

Post by toivo » Sun Jul 06, 2014 4:50 am

I have just noticed the "cannot instantiate email" on another joomla 3 site.
That sounds as if some of the settings are not correct. If you are using the PHP Mail option, try switching to SMTP and use an external STMP server to forward the emails. Here are two tutorials:
http://docs.joomla.org/How_do_I_use_Gma ... _server%3F
http://www.inmotionhosting.com/support/ ... igure-smtp
Toivo Talikka, Global Moderator
my first programs were assembled and run in 16KB :)
troubleshooting smtp and other articles https://talikka.com/joomla

FDigital01
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 245
Joined: Wed May 11, 2011 7:31 am

Re: joomla 2.5.22 new upgrade Could not instantiate mail fun

Post by FDigital01 » Sun Jul 06, 2014 5:26 pm

that can't be the reason because i have 50 sites set up on this hosting server that have been running for 3+ years and only a couple recently have experienced the email problem. It seems to happen when I upgrade a site.

FDigital01
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 245
Joined: Wed May 11, 2011 7:31 am

Re: joomla 2.5.22 new upgrade Could not instantiate mail fun

Post by FDigital01 » Sun Jul 06, 2014 7:15 pm

I think i found the problem. It seems something did not upgrade correctly which I changed these sites, so I have installed the joomla upgrade package and that seems to have fixed the problem.

FDigital01
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 245
Joined: Wed May 11, 2011 7:31 am

Re: joomla 2.5.22 new upgrade Could not instantiate mail fun

Post by FDigital01 » Thu Jul 10, 2014 9:12 am

me again... this problem has come back - or rather i didn't fix it ...

the mass email function does not work and i have checked everything i can think of and have re-loaded the update package but it is still a problem.

when i turned on the debugger i found that there were duplicate id's that were probably causing the problem, but i cannot find them.

the attached image is from the database where i did a table check and it says there are duplicate id's but i cannot see them??

how can i resolve this?

any ideas?

any help would be much appreciated.
You do not have the required permissions to view the files attached to this post.

FDigital01
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 245
Joined: Wed May 11, 2011 7:31 am

Re: joomla 2.5.22 new upgrade Could not instantiate mail fun

Post by FDigital01 » Fri Jul 11, 2014 12:13 am

This is definitely a bug of some sort. I have just had another site come up with this error.

Joomla 2.5 site. I have just updated to the latest Joomla 2.5.22 and admintools and akeebabackup. But nothing seems to work to remove this problem.

Can anyone shed light on this problem?

monlike
Joomla! Intern
Joomla! Intern
Posts: 71
Joined: Fri Jun 06, 2014 10:57 am
Location: sweden

Re: joomla 2.5.22 new upgrade Could not instantiate mail fun

Post by monlike » Fri Jul 11, 2014 11:37 am

hi FDigital01
i think if you upgrade to joomla 3 your problem will be solve


Locked

Return to “Joomla! 2.5 Bug Reporting”