OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Email Notifications for Non Registered Users Giving 404

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

Moderators: jmacgreg, michael, John

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

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. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.

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 OCS Conference Support and Discussion subforum; if you have a development question, try the OCS Development subforum.

Email Notifications for Non Registered Users Giving 404

Postby BVBAccelerate » Mon Nov 29, 2010 9:41 am

Hey Everyone, we have an installation of OCS on the website for IASSID (http://www.iassid.org/conference/).

If you visit the site as an unregistered user and go to the World Congress page (http://iassid.org/conference/index.php/HPC/2012IWC) There is a link in the right to Subscribe / Unsubscribe from notifications. When a user clicks the subscribe link and fills out their email then they are sent a confirmation email with links to follow. Here is the email:

You have signed up to receive notifications from IASSID World Congress.

Please click on this link to confirm your request and add your email
address to the mailing list:
http://iassid.org/conference/index.php/ ... bscription

If you wish to stop receiving notification emails, please go to
http://iassid.org/conference/index.php/ ... beMailList
and enter your email address and password.

Your password for disabling notification emails is: XXXXXXX

Mike Dejesus
________________________________________________________________________
IASSID World Congress 2012 IASSID World Congress
http://ambeta1.info/conference/index.ph ... 2IWC/index


Now when any of those links are followed, I get a 404 error. I noticed that in the confirmMailListSubscription function in the /lib/pkp/pages/notification/NotificationHandler.inc.php file there are supposed to be arguments for the email and the keyHash that aren't being included in the link sent out in the email. I am not sure if this is part of the problem.

I also noticed that in these URLs they are not including the path to the specific scheduled conference, which I'm thinking might also be part of the problem. I noticed this because the unsubscribe link in the email gives the 404 error but the one that is on the page of the conference on the site (http://iassid.org/conference/index.php/HPC/2012IWC) works.

I have been able to find the email addresses in the notification_settings table in the database but no where could I discern a keyHash value. It looks like if I add the Scheduled conference path back into the email link then it doesn't give the 404, but I still need to include that email address and keyHash value in there to get it to confirm properly.

If anyone has any insight into how to accomplish these things or why they might not be working it would really help me out.

Thanks!
BVBAccelerate
 
Posts: 33
Joined: Mon Apr 19, 2010 2:01 pm

Re: Email Notifications for Non Registered Users Giving 404

Postby mcrider » Tue Nov 30, 2010 4:44 pm

HI BVBAccelerate,

Thanks for spotting this. I've filed a bug and uploaded a patch to http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=6262.

Cheers,
Matt
mcrider
 
Posts: 952
Joined: Mon May 05, 2008 10:29 am
Location: Vancouver, BC

Re: Email Notifications for Non Registered Users Giving 404

Postby tonreproc » Wed Dec 29, 2010 7:07 am

Well, I have a comparable problem. When an unregistered user subscribes for the notification list, then an email is sent with the two links. Both gave the 404 error message. After applying the 6262 patch, the first link was in order, but the second one, for stopping receiving notification emails, still gave the 404 error.
Now I noticed that the path in both links is different, this is the test of the email message:
=======================================================================
You have signed up to receive notifications from ISG and ISARC Conferences.

Please click on this link to confirm your request and add your email address
to the mailing list:
//archweb1.bwk.tue.nl/isg-isarc2012/index.php/ISGISARC2012/ISGISARC2012/notification/confirmMailListSubscription/9c579d5e9f90672da2cb4e1a1445157a/c.pernot%40upcmail.nl

If you wish to stop receiving notification emails, please go to
//archweb1.bwk.tue.nl/isg-isarc2012/index.php/ISGISARC2012/notification/unsubscribeMailList
and enter your email address and password.

Your password for disabling notification emails is: xxxxx
========================================================================
(I skipped the http:// in the links to get the text of the link complete)

In the second link, the /ISGISARC2012 is mentioned once, as was the case in both links before applying the patch. Now the first link is all right but the second not.
I wonder what could be the reason for this. Any help would be appriciated.

BTW: I am using version 2.3.3-1 of the OCS and I applied all the recommended patches as mentioned in: http://pkp.sfu.ca/wiki/index.php/OCS_2. ... ed_Patches

Thanks,
Cor
tonreproc
 
Posts: 22
Joined: Sat Mar 06, 2010 8:56 am
Location: Netherlands

Re: Email Notifications for Non Registered Users Giving 404

Postby jmacgreg » Wed Jan 05, 2011 8:10 am

Hi Cor,

Could you try the patch listed here: http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=6323 and let us know if the problem persists?

Cheers,
James
jmacgreg
 
Posts: 4186
Joined: Tue Feb 14, 2006 10:50 am

Re: Email Notifications for Non Registered Users Giving 404

Postby wardi » Wed Jan 12, 2011 12:37 pm

I had the same problem and tried those patches. The URLs look better but I now get a "There was an error confirming your subscription." message on the confirm page. Nothing in the apache error logs.
wardi
 
Posts: 7
Joined: Mon Oct 11, 2010 8:17 am

Re: Email Notifications for Non Registered Users Giving 404

Postby asmecher » Wed Jan 12, 2011 12:49 pm

Hi wardi,

Which of the patches did you apply?

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8470
Joined: Wed Aug 10, 2005 12:56 pm

Re: Email Notifications for Non Registered Users Giving 404

Postby wardi » Wed Jan 12, 2011 4:19 pm

wardi
 
Posts: 7
Joined: Mon Oct 11, 2010 8:17 am

Re: Email Notifications for Non Registered Users Giving 404

Postby wardi » Thu Jan 13, 2011 8:21 am

Applied these patches as well:
5497.diff
5547.diff
5570.diff
5787.diff
5984.diff
6248.diff
6283.diff

These did not apply:
5503.diff
5786.diff
5946.diff
6326.diff

I'm still seeing the same problem confirming my subscription.
wardi
 
Posts: 7
Joined: Mon Oct 11, 2010 8:17 am

Re: Email Notifications for Non Registered Users Giving 404

Postby mcrider » Thu Jan 13, 2011 6:26 pm

Hi wardi,

Could you post the contents of the function sendMailingListEmail method in classes/notification/Notification.inc.php so we can make sure that the patch was correctly applied? Also, please try resubscribing to the mailing list (you should be able to use the same email address) and trying the URL in the new email.

Cheers,
Matt
mcrider
 
Posts: 952
Joined: Mon May 05, 2008 10:29 am
Location: Vancouver, BC


Return to OCS Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests