1
Feichtl
Xoops 2.5.5 Could not instantiate mail function
  • 2012/9/3 12:13

  • Feichtl

  • Not too shy to talk

  • Posts: 126

  • Since: 2004/11/8


I did a fresh install of xoops 2.5.5 on my shared host. Everything seemed to work fine so far. As i installed "eforms" and submitted a form, i got the above error. To check, if it's a core oder module problem, i tried to register as new user and no mail was sent to.

I tried several settings. Sendmail also didn't work and with SMTPAuth all sent mails have been eaten by the spam filter. I also switched between differnt PHP-versions from 5.2.x to 5.3.x with no result.

My last attempt was to copy the complete /class/mail folder from a working xoops 2.5.1 to my 2.5.5 installation and - whoops! - it works!

So, what can be the problem here? Debug mode brings up no error. What are the main disadvantages using this "old" version of phpmailer class?

2
Anonymous
Re: Xoops 2.5.5 Could not instantiate mail function
  • 2012/9/3 14:16

  • Anonymous

  • Posts: 0

  • Since:


Did you also try replacing /class/mail with freshly downloaded 2.5.5 files?

3
Feichtl
Re: Xoops 2.5.5 Could not instantiate mail function
  • 2012/9/3 17:18

  • Feichtl

  • Not too shy to talk

  • Posts: 126

  • Since: 2004/11/8


Yes. I downloaded Xoops 2.5.5 from another source and copied the complete /class/mail folder. But it didn't work too.

Additional info: Two other Xoops Websites are installed and running on the shared host. Both are older Xoops versions and running fine!

4
irmtfan
Re: Xoops 2.5.5 Could not instantiate mail function
  • 2012/9/4 3:50

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Its very strange.
try to download the full package of xoops 2.5.5 and replace all files not only class/mail

I have at least 4 website with xoops 2.5.5 and there is no problem with xoopsMailer function.
one of them is php 5.2 and others are php5.3

5
Feichtl
Re: Xoops 2.5.5 Could not instantiate mail function
  • 2012/9/4 8:04

  • Feichtl

  • Not too shy to talk

  • Posts: 126

  • Since: 2004/11/8


Hmmm ... there are no other problems in my xoops installation except phpmail. No debug errors, no missbehaviour. Why copy files, which are not affected?

/class/mail files are all exchanged, which one could be affected to?

6
Feichtl
Solved: Xoops 2.5.5 Could not instantiate mail function
  • 2012/9/19 6:20

  • Feichtl

  • Not too shy to talk

  • Posts: 126

  • Since: 2004/11/8


With the help of alfred the problem could be solved. I had to turn OFF the SAFE MODE!

Hope this information can help other useres with similar problems.

7
audizioni
Re: Solved: Xoops 2.5.5 Could not instantiate mail function
  • 2013/3/7 18:14

  • audizioni

  • Just popping in

  • Posts: 7

  • Since: 2009/1/11


I have the same problem. I replaced the folder class/mail/phpmailer of xoops 2.5.5 with that of 2.5.1 and everything works. My SAFE MODE is already OFF.
If I put the folder back to phpmailer of xoops 2.5.5 returns the error in sending email

8
xoobaru
Re: Solved: Xoops 2.5.5 Could not instantiate mail function
  • 2013/3/7 18:46

  • xoobaru

  • Just can't stay away

  • Posts: 494

  • Since: 2010/12/2


Try temporarily enabling php error reporting to all and see if the log doesn't reveal more. Don't forget to turn it off after you are done.

Login

Who's Online

71 user(s) are online (32 user(s) are browsing Support Forums)


Members: 0


Guests: 71


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits