OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Registration redirect for not logged in users

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.

Registration redirect for not logged in users

Postby pilone » Wed Mar 26, 2014 3:32 am

Hi there,

i've found several topics in here that describe a similar problem. The link to the registration page redirects to the index (see http://www.erc2014.hu-berlin.de/test/in ... gistration). A lot of people get this when they didn't configure the payment method. I did configure the payment method and it works now but only for logged in users.

I know from an earlier conference, that this should be possible for users which are not logged in too. They would be redirected to a form to create a user account for the website during the registration process. This doesn't work.

I tried to find files that contain the "Request::redirect(null, null, 'index');"-command and systematically disable the command in each file, so i'd see where the redirect happens, but to no avail.

Does anyone have an idea what to look and and how to proceed. There are no errors happening, so there is no stacktrace produced.

Best Regards,
Stephan
pilone
 
Posts: 11
Joined: Wed Dec 19, 2012 3:11 am

Re: Registration redirect for not logged in users

Postby asmecher » Thu Mar 27, 2014 1:28 pm

Hi Stephan,

I wonder if the redirect that's causing this is the one in pages/schedConf/SchedConfHandler.inc.php, near line 576, in the "validate" function:
Code: Select all
                if(!SchedConfAction::mayViewSchedConf($schedConf)) {
                        Request::redirect(null, 'index');
                }
If so, it probably indicates that you don't have the Scheduled Conference's "enabled" checkbox set.

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

Re: Registration redirect for not logged in users

Postby pilone » Fri Mar 28, 2014 4:23 am

Hi Alec!

Thanks a lot, that has been the issue. I totally forgot this checkbox.

Best Regards,
Stephan
pilone
 
Posts: 11
Joined: Wed Dec 19, 2012 3:11 am


Return to OCS Technical Support

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest