You are viewing the PKP Support Forum | PKP Home Wiki

Debugging Email delivery - Using OJS on SourceForge.

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Debugging Email delivery - Using OJS on SourceForge.

Postby steinbeck » Tue Sep 26, 2006 6:24 am

Hi everybody,

we are trying to use OJS to produce our quartly Open Source Chemoinformatics Toolkit Newsletter "The CDK News". Since the topic of this newsletter is hosted on SourceForge, I installed OJS on our SourceForge web space, where we have both PHP as well as MySQL available.
All worked fine, exept the delivery of mails from the system, which is disabled by the SF staff to prevent mass mailings.
I've tried using SMTP delivery but could not get it to work, due to a total lack of feedback other than "Ok, the email did not arrive" :-)
Is there a way to enable logging of debug messages in OJS?
Or better, has someone already tried using OJS on SourceForge?


Posts: 1
Joined: Tue Sep 26, 2006 6:05 am

Postby asmecher » Tue Sep 26, 2006 6:48 am

Hi Chris,

Unfortunately, OJS won't give you much feedback beyond PHP error messages in an error situation when sending emails, but here are a few things to try:
  • Make sure PHP errors are being displayed by adding the following line near the top of index.php:
    Code: Select all
    ini_set('display_errors', E_ALL);
  • Try removing the @ from the calls to fsockopen, fwrite, and fgets in classes/mail/SMTPMailer.inc.php; this might result in error messages being displayed where they were previously suppressed
  • If all else fails, you'll need to step through classes/mail/SMTPMailer.inc.php to find out where the message sending is failing.
Alec Smecher
Open Journal Systems Team
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Return to OJS Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests