Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
"Could not instantiate mail function" in 2.1.1 on BlueHost
DoyceT
✭✭✭
The subject line pretty much covers the problem. It came up out of nowhere, while trying to create and send notifications to new users: Five people got the email, the last did not, and when I tried to simply reset her password, I got this message (and continue to get it).
Nothing has changed on the forum or the server (as far as I know) between the fifth and sixth user setup.
0
Comments
is the email address valid? or is it blocked on the receivers end? for the user that doesn't receive e-mail.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Yeah. I'm sending emails back and forth with the user, using the same address (and copy-pasted from the one I typed into the forum).
and if you reset the sixth users notification preferences (and also set mention for e-mail) and then mention them does e-mail get sent out and do they have spam filters blocking from what and whoever you use to send email smtp or whatever on your host.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Is it possible that the forum's ability to mail notifications and alerts is being throttled by the hosting site in some way? Poking around, I'm starting to see more than a few messages I should have been notified about in the last few hours, none of which came in.
I just sent the admin account a private message, which I know is set up to send me a notification, and that didn't happen either.
Hrm.
talk to your host.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
do you by chance have advanced notifications set up for all your users. e.g. all comments get sent out to everyone?
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
this might shed some light https://my.bluehost.com/cgi/help/2266
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Yup.
my back of the napkin math would indicate that we're sending out more than 2,000 email messages on a busy day.
that isn't a feature we can decide not to use, however, it's part and parcel of running a live campus online.
that' might be part of your problem - you might be flagged as a spammer somewhere. or the mail server you are using can't handle it.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
This might be unrelated, but this is the errorlog generated by the forum in the last few days:
How many categories do you have?
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
191, at the moment. Students all have private space with each of their faculty, and private 'gradebook' categories that only they and the registrar can see, and off course there's the classrooms etc. The activity spike at the start of this week is pretty pronounced.
Is there a way to set up a different mail server as the forum's default, rather than using the BlueHost server? The workshop uses Google Apps Education (GAE) and the IT guy sent me all the info I'd probably need to set up that as the mail server.
Edit: nevermind I found it.
I would definitely suggest using an SMTP server for all your mail.
I only asked about the categories because this error: "PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0" is known to be found when sorting categories over 200. I would be greatly interested to know what access causes this error.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Is there a way I can dig that information up? I'd love to know as well.
@hgtonight I apologize - I miscounted the categories (scrolling through the list on my phone) - I counted 229 on my full-size screen, and it's actually 231 rows in GDN_Category in the database, right now.
We have to keep the old categories around for at least a year after the class wraps up, so once we're into our third semester, I'd guess we'll be topping out around 300 categories.
According to that message, you are only able to sort the first 200 categories. Sorting anything after that will cause the sort tree to be corrupted. No data will be lost, but the sort order could look funny.
If you need to sort things after category 200, you need to increase that PHP setting to 5x the number of categories.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Is that something I can change inside the Vanilla install, or which I need to do 'higher up'?
you could probably ini_set in bootstrap. But your host may be able to provide a better way for you by changng the php.ini file. Check out the php pages (official php documentation), Talk to your host as well.
http://php.net/manual/en/function.ini-set.php
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
This is a limitation of your PHP configuration not Vanilla, @peregrine knows what he is talking about.
Vanilla could probably send a category count along with the tree sort information and throw a warning/not save the incomplete tree.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.