Empty email to all users when we create a new announcements

OJS sends an empty email to all users when we create a new announcements.
We check the box.“Send Notification”

I think there should be the announced text in the mail, not empty.
I looked the prepared emails in journal menegement, but couldn’t find automatic annoounce mail.

Any help appreciated.

Hi @birkok,

What version of OJS are you using?

Regards,
Alec Smecher
Public Knowledge Project Team

​Current version

2.4.7.1 (October 24, 2015 - 10:52 AM)

Selamlar,
M. Cüneyt Birkök

www.J-HumanSciences.com

Hi @birkok,

Can you check in your Prepared Emails area to make sure you have an email template called “NOTIFICATION_MAILLIST” with text in it?

Regards,
Alec Smecher
Public Knowledge Project Team

No. There is not such a template.

Is this the problem?
But how could it be? We upgraded completely new ojs file. This template
must be included.

Wouıld you please send me?

Selamlar,
M. Cüneyt Birkök

www.J-HumanSciences.com

Hi @birkok,

The default email text is available here in the XML file:

(For other languages, change the en_US part.)

Regards,
Alec Smecher
Public Knowledge Project Team

I have cheked. My.template file same as you send.
And our site is only english

Here is mine:

Hi @birkok,

But just to confirm, you don’t see the template in the Journal Manager’s “Prepared Templates” area? If it’s not there, you’ll need to create it. OJS only loads from the .xml file when the journal is created (or the locale is reset, which you probably don’t want to do).

Regards,
Alec Smecher
Public Knowledge Project Team

Hi Alec

Resetting is not problem. Because we use english and don’t need any special template.
Meanwhile I have resetted just. But noting changed. There is still not “NOTIFICATION_MAILLIST” in the template list.

Can you send me xml template that I upload?

Hi @birkok,

Why not just create it using the “Create Email” link there?

Regards,
Alec Smecher
Public Knowledge Project Team

OK. Sure
But would you please send me what I should put in the template?

Selamlar,
M. Cüneyt Birkök

www.J-HumanSciences.com

Hi @birkok,

That’s in the content I quoted above:

Regards,
Alec Smecher
Public Knowledge Project Team

Thank you for your patience , I am not programmer.

I created following template, but didn’t work. (I sent new announcements, users received empty mail)

And also following explanation written in “edit email” page of NOTIFICATION_MAILLIS template

“This email is sent to unregistered users on the notification mailing list.”
There must be a mistake, because this NOTIFICATION_MAILLIS should send to registered users.

You’ll also want to check the NOTIFICATION template. It is cut off on your screenshot, but also appears to be empty.

There are two ways to subscribe to notifications. Unregistered users can subscribe to a mailing list by submitting their email address. They will receive NOTIFICATION_MAILLIST on publication of a new announcement. Registered users can subscribe when logged in. They will receive NOTIFICATION on publication of a new announcement. The difference is that NOTIFICATION_MAILLIST contains an unsubscribe link in the email body.

  1. I have created those three template:.

NOTIFICATION

NOTIFICATION MAILLIST WELCOME

NOTIFICATION MAILLIST

  1. problem solved. Now when we put new announcement, notification mail sent

  2. why did I experienced this problem? There must be a mysql problem. How
    can I repair it?

Thanks a lot

,
M. Cüneyt Birkök

www.J-HumanSciences.com

Hi @birkok,

Those email templates were introduced with OJS 2.3.0, but should’ve been added by the upgrade script during the upgrade process. If you upgraded from pre-2.3.0, then something must’ve happened there; if not, the templates should’ve been installed when the journal was created.

Regards,
Alec Smecher
Public Knowledge Project Team

Is there any way to recover default settings including all of missing
things?

Or how can I repair my current installation? Any script pr similar (easy)
way for non professional?

Selamlar,
M. Cüneyt Birkök

www.J-HumanSciences.com

Hi @birkok,

Without knowing the installation’s history, I can only guess at how this happened – but if everything else seems to be working OK, I’d continue using it. A missing email template is not necessarily indicative of more widespread problems.

Regards,
Alec Smecher
Public Knowledge Project Team

Actually we have two problems as I mentioned somewhere in this forum
earlier.

  1. “Submission acknowledgment” mail is not send when new submission made.
    We solved this problem temporarily as replaced old
    “AuthorSubmitStep5Form.inc.php”
  2. there is following error message in Journal “Management/Stats &
    Reports”…
    http://www.j-humansciences.com/ojs/index.php/IJHS/manager/statistics
    We still couldn’t solve this problem. We want to solve because it is
    important to show some statistics in about page.

“DB Error: The SELECT would examine more than MAX_JOIN_SIZE rows; check
your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the
SELECT is okay”

  1. I think no way to solve them, as I am not expert.

Thank all of you, helped much

​Regards,
M. Cüneyt Birkök

www.J-HumanSciences.com

Hi @birkok,

Rather than discussing those here, could you find the previous threads that dealt with the issues and continue there? That would help to keep the forum organized.

Regards,
Alec Smecher
Public Knowledge Project Team