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
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

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: Google [Bot], Yahoo [Bot] and 1 guest