OCS Announcements Problems and the Mailing List

Hi

I have as a test user subscribed to the mailing list in my test OCS i.e. just subscribed and not created an account… The email address got the email to subscribe OK and I clicked the link to acknowledge. This showed on the OCS page “You have been successfully subscribed.”

If I create an announcement when I save the announcement a blank page is displayed.
http://mysite/index.php/uis/index/manager/updateAnnouncement
If I just go to the announcements page http://mysite/index.php/uis/index/manager/announcements I can see the announcement is listed there OK

No announcements arrive though to users.

Also as the conf manager I cannot see a way to see who has subscribed to the mailing list. The “All Enrolled Users” link does not show them, it just lists registered users of the Conference.

Thanks
Mike

Hi @MikeL,

Blank pages usually mean that a PHP error occurred; you should be able to find more information in your server’s error log.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi

[Mon May 23] FastCGI: server “/usr/lib/cgi-bin/php5-fcgi” stderr: PHP message: PHP Fatal error: Call to undefined method Conference::getLocalizedTitle() in /home/ocs/public_html/lib/pkp/classes/notification/NotificationManager.inc.php on line 115

Mike

Hi @MikeL,

See https://pkp.sfu.ca/bugzilla/show_bug.cgi?id=8794 – there’s a patch there that you can apply to correct the issue.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi :slight_smile:

That patch worked. I now get returned to the Announcements page when I save the new announcement and an email arrives OK:

"A new announcement has been created. Link:
http://mysite/index.php/uis/speleo2017/announcement/view/1

Though this link takes me to the first announcement and not the latest one. At least it is working now. Thanks Alec.

PS. Is the Expiry date for an announcement a required field?

Mike

Hi @MikeL,

Wow, the announcement ID has been hard-coded to 1 but nobody has noticed this in years. Please try the two patches attached to Announcement notifications hard-coded to announcement ID #1 · Issue #1476 · pkp/pkp-lib · GitHub – one for the install directory, and one for the submodule in lib/pkp.

Thanks,
Alec Smecher
Public Knowledge Project Team

Ace

The email notification now goes to Announcement number 10 as it should instead of the first one.

Thanks Alec.

Hi @MikeL,

Thanks for confirming! I’ve moved those two commits over to the ocs-dev-2_3 branch, so they’ll be included in any forthcoming OCS releases.

Regards,
Alec Smecher
Public Knowledge Project Team

Ace. I look forward to a newer OCS.

Hi @MikeL,

We don’t have concrete plans for the next OCS release – as you’ll notice, it’s been neglected in recent years compared to OJS and OMP. But we hope, once OJS 3.0 is released in the summertime, to be able to return to it for a proper rewrite.

Regards,
Alec Smecher
Public Knowledge Project Team

Hello,

This link is broken: https://pkp.sfu.ca/bugzilla/show_bug.cgi?id=8794

I need the patch to solve a similar problem please.

Kindly help me.

Hi all,

With apologies for the delay – the patch is available at *8794* Add missing notification getter (and deprecate old style funct… · pkp/ocs@7655632 · GitHub.

Regards,
Alec Smecher
Public Knowledge Project Team