Welcome, Guest
Username: Password: Remember me

TOPIC: 1.91+ 11804 Error Message: Could not instantiate mail function

1.91+ 11804 Error Message: Could not instantiate mail function 2 years 3 months ago #71468

  • xamarshahx
  • xamarshahx's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 12
  • Karma: 0
I upgraded the survey and the tokens will not send out the e-mail. I have another older instance of LimeSurvey installed on the same server and same database server and that works fine.

Error I get: Error Message: Could not instantiate mail function.

I tried upgrading back in November and it did the same thing and I tried the newest evrsion and get the same error, but older versions work just fine.
The administrator has disabled public write access.

Re: 1.91+ 11804 Error Message: Could not instantiate mail function 2 years 3 months ago #71577

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5279
  • Thank you received: 289
  • Karma: 246
1. Please switch on debug mode by adding the following line to your config.php file:
$debug = '1';

Are there any additional errors reported on top of the page?

2. Which email method do you use?

3. When creating a new Limesurvey admin user, an email with login information is send as well. Does that work fine?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: 1.91+ 11804 Error Message: Could not instantiate mail function 2 years 3 months ago #71607

  • xamarshahx
  • xamarshahx's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 12
  • Karma: 0
1. PHP Default

2. No

(Same settings I have on the other instance of the survey).

I set debug 1, and still only get the attached error.

Untitled.png
The administrator has disabled public write access.

Re: 1.91+ 11804 Error Message: Could not instantiate mail function 2 years 3 months ago #71608

  • xamarshahx
  • xamarshahx's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 12
  • Karma: 0
I had debug on the config file twice, update to say debug = 1, and got the following:

(Sending to token ID: 16)
•Email to terst test (This email address is being protected from spambots. You need JavaScript enabled to view it. ) failed. Error Message: Could not instantiate mail function.

Subject : Leadership Skills Inventory<html dir="ltr"><head><title></title></head><body>
<div>Dear terst,
</div>
<div>As you know, your team is participating in the Leadership Program. The next part this process involves the completion of a second <i>Leadership Skills Inventory (LSI)</i>.
<div>
</div>
<div>Please complete your LSI within one week.
</div>
<div>Thank you in advance for your anticipated cooperation in this very important personal and organizational continuous improvement process.
</div>
<div><br />
To participate, please click on the link below.<br />
<a href='http://ourintranetsite/newsurvey/index.php?lang=en&sid=55862&token=1232456'>http://ourintranetsite/newsurvey/index.php?lang=en&sid=55862&token=1232456</a><br />
<br />
Sincerely,<br />
<br />
Your Manager</div>
</body></html>
The administrator has disabled public write access.

Re: 1.91+ 11804 Error Message: Could not instantiate mail function 2 years 3 months ago #71670

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5279
  • Thank you received: 289
  • Karma: 246
Hmm, strange...

Summing this up, is it correct that you are running an older version (which one) on the same server with the same PHP version and the like and this older version works fine with the exact same settings?

I don't think this will solve your problem, but can you test different email methods?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: 1.91+ 11804 Error Message: Could not instantiate mail function 2 years 3 months ago #71743

  • xamarshahx
  • xamarshahx's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 12
  • Karma: 0
Correct, I have version: Version 1.90+ Build 9642
I tried upgrading it and had to switch back to a backup.

I also tried a clean install with a new database and same issue.

I run PHP 5.2.5, thats the only thing I can think of, maybe I need to upgrade to 5.3.9?
The administrator has disabled public write access.

Re: 1.91+ 11804 Error Message: Could not instantiate mail function 2 years 3 months ago #71802

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5279
  • Thank you received: 289
  • Karma: 246
Did you update manually or did you use the comfort update?

Can you set up a fresh, new 1.91 version, import a test survey there and test using the same email settings? Maybe something went wrong during update?!

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: 1.91+ 11804 Error Message: Could not instantiate mail function 2 years 3 months ago #71853

  • xamarshahx
  • xamarshahx's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 12
  • Karma: 0
The Comfort Update doesn't work from our Intranet, so I use the manual method.

With the clean install I did I created a new survey from scratch and still got the same issue.
The administrator has disabled public write access.

Re: 1.91+ 11804 Error Message: Could not instantiate mail function 2 years 3 months ago #71864

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5279
  • Thank you received: 289
  • Karma: 246
Is it possible that some proxy or firewall is causing the problems?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.173 seconds
Donation Image