Hello!
We are using Admidio in our non-profit organisation and it works well.
However we have had some issue with message system.
We get this error: "Could not instantiate mail function".
Our setup
1) We use PHP mail.
2) We send with users name and email.
3) We have 4 different roles with 10-70 members.
4) Sometimes we send to all 4 roles at the same time, sometimes only to 1 or 2.
5) We have noticed that in 2 of the groups we had some wrong emails. This is now corrected.
Today we sent a mail to all 4 roles. 2 of them worked,
however the error message appeared and the message did not save to database table.
Later we sent to all for roles separately. 2 above didnt work.
Later we sent to all 4 roles separately. All did work!
Anyone having any idea?
We have right now Admidio 3.3.12.
Greetings from Sweden
Johan
Message system works occasionally
-
- Beiträge: 4
- Registriert: 15. Sep 2020, 15:00
Re: Message system works occasionally
Hi Johan,
maybe it's a problem with the timing and your server. But I don't exactly know. I don't think it's a problem of Admidio because than it must be a problem everytime.
But it should be better if you use mail with SMTP. You need to config some things but it will work better.
Best regards
Fasse
maybe it's a problem with the timing and your server. But I don't exactly know. I don't think it's a problem of Admidio because than it must be a problem everytime.
But it should be better if you use mail with SMTP. You need to config some things but it will work better.
Best regards
Fasse
-
- Beiträge: 4
- Registriert: 15. Sep 2020, 15:00
Re: Message system works occasionally
Thanks Fasse!
I have asked for error logs from server provider.
Maybe we can see something there.
I did check the opportunity for running with SMTP but
do I understand that I need a real email account and only can send from that account
specified in the settings of the module?
Is there any requirements for SMTP settings in php, I tried to find some?
May debug mode be useful?
Is it a feature request that message that has been partly sent (like for me) should be saved, maybe the possibility do store the message and then give a status (new table) for each sending to a member and/or group. Storing the recievers in a column maybe it is not the best solution?
By all respect!
Best regards
Johan
I have asked for error logs from server provider.
Maybe we can see something there.
I did check the opportunity for running with SMTP but
do I understand that I need a real email account and only can send from that account
specified in the settings of the module?
Is there any requirements for SMTP settings in php, I tried to find some?
May debug mode be useful?
Is it a feature request that message that has been partly sent (like for me) should be saved, maybe the possibility do store the message and then give a status (new table) for each sending to a member and/or group. Storing the recievers in a column maybe it is not the best solution?

Best regards
Johan
-
- Beiträge: 4
- Registriert: 15. Sep 2020, 15:00
Re: Message system works occasionally
This is error messages:
FastCGI: server "/usr/lib/cgi-bin/php5-fcgi-9097" stderr: PHP message: PHP Warning: disk_total_space(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/forss/www:/web8/www:/home/nameOfAccount).
Is this a problem for running Admidio in a good manner?
Also this file does not exist:
adm_program/libs/bootstrap-datepicker/dist/locales/bootstrap-datepicker.en.min.js,
I hade also some questions about SMTP
I did check the opportunity for running with SMTP but
do I understand that I need a real email account and only can send from that account
specified in the settings of the module?
Is there any requirements for SMTP settings in php, I tried to find some?
FastCGI: server "/usr/lib/cgi-bin/php5-fcgi-9097" stderr: PHP message: PHP Warning: disk_total_space(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/forss/www:/web8/www:/home/nameOfAccount).
Is this a problem for running Admidio in a good manner?
Also this file does not exist:
adm_program/libs/bootstrap-datepicker/dist/locales/bootstrap-datepicker.en.min.js,
I hade also some questions about SMTP
I did check the opportunity for running with SMTP but
do I understand that I need a real email account and only can send from that account
specified in the settings of the module?
Is there any requirements for SMTP settings in php, I tried to find some?
Re: Message system works occasionally
Hi Johan,
your right, our database model within the messages is not ideal. There we could have some improvements.
What is the problem with the missing file that you describe. Within my installation everything works because the library "bootstrap-datepicker" has english as default language.
What is your setting within the preference Receiver in roles. Try to set it to Sender and use the fix that I have postet here: viewtopic.php?p=30420#p30420 . Just replace the file in adm_program/modules/messages. Thats not exactly what you post, but it may could help.
If you use SMTP than a real email account is needed. Otherwise Admidio must provide a full SMTP server that will be to much and unnecessary implementation.
Best regards
Fasse
your right, our database model within the messages is not ideal. There we could have some improvements.
What is the problem with the missing file that you describe. Within my installation everything works because the library "bootstrap-datepicker" has english as default language.
What is your setting within the preference Receiver in roles. Try to set it to Sender and use the fix that I have postet here: viewtopic.php?p=30420#p30420 . Just replace the file in adm_program/modules/messages. Thats not exactly what you post, but it may could help.
If you use SMTP than a real email account is needed. Otherwise Admidio must provide a full SMTP server that will be to much and unnecessary implementation.
Best regards
Fasse
-
- Beiträge: 4
- Registriert: 15. Sep 2020, 15:00
Re: Message system works occasionally
Hi Fasse!
Thank you.
I already have "Sender". I did not really understand what your fix is doing.
Maybe I also should upgrade to latest but honestly, I am waiting for next big milestone.
So if I use SMTP - will Admidio log in into the mail provder "web mail" system?
Or is it still a php-function?
Is it better with Smtp?
Thank you.
I already have "Sender". I did not really understand what your fix is doing.
Maybe I also should upgrade to latest but honestly, I am waiting for next big milestone.
So if I use SMTP - will Admidio log in into the mail provder "web mail" system?
Or is it still a php-function?
Is it better with Smtp?