By Peter McLeland on Tuesday, 01 November 2016
Posted in Technical Issues
Likes 0
Views 337
Votes 0
Hi EasySocial 2.0 RC2

When a new user registers they should be redirected with automatic login to a predetermined page. This has been working fine but since upgrading to RC2 the destination url is missing a / so instead of going to mydomain.co.uk/index.php?etc it is being given mydomain.co.ukindex.php?etc so the process fails.

How can I fix this quickly please?

Thanks
Hi there,

It seems this is know issues. Someone has issued this on our issues tracker as you can see here https://stackideas.com/issues/easysocial/454. After i further check on your php.ini, it seems that you have set "allow_url_include" to off. I have change it to on and it seems to works fine now . Please give it a try and see how it goes. Maybe you can consult with your web hosting provider regarding this issues.

Some references regarding "allow_url_include"
https://my.bluehost.com/cgi/help/377
http://stackoverflow.com/questions/5633813/php-allow-url-include
·
Tuesday, 01 November 2016 11:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Warith,

Thanks but I'm afraid that's not it.

The problem happens when automatic login is set and a redirect page is specified. When you tested a registration it was set to manual login to avoid users getting this error until the problem is fixed.

I reset it to auto login again this morning and tried a test which failed - screenshot shows the result.

(The issue you linked to relates to incorrect syntax which is different I think)

Regards,

Neil
·
Tuesday, 01 November 2016 15:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

I am a bit lost here actually. I have tested to register on your site and it seems to redirect correctly as shown http://prntscr.com/d1kijt.

May i know how to reproduce it again? Can you provide us steps or how to reproduce this?
·
Tuesday, 01 November 2016 16:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Warith,

ES setting for auto login after registration has to be set to get the error. I'll set it again now so that you can see
·
Tuesday, 01 November 2016 16:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Peter,

Yes i can hit the error now. Maybe the link used is wrong as you can see here

http://www.clubmotorhome.co.ukindex.php/?option=com_osmembership&view=plans&id=0&Itemid=5131
//As you can see here, it should got "/" between http://www.clubmotorhome.co.uk and index.php
http://www.clubmotorhome.co.ukindex.php

Maybe you can try to edit it the URL with "/" and see whether it redirect correctly or not.
·
Tuesday, 01 November 2016 16:28
·
0 Likes
·
0 Votes
·
0 Comments
·
But the redirect is set by using your options within ES, how can I change that please?

See screenshot
·
Tuesday, 01 November 2016 16:33
·
0 Likes
·
0 Votes
·
0 Comments
·
If its any help the tooltip on the Redirection selector looks odd....
·
Tuesday, 01 November 2016 16:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Sorry for the confusion earlier. I have attached temporary fixed regarding this issues. Please replace attached file into this path ...\administrator\components\com_easysocial\includes\router.php

This fix will be included on our next released. Please give it a try and see how it goes.
·
Tuesday, 01 November 2016 20:58
·
0 Likes
·
0 Votes
·
0 Comments
·
That's perfect - thank you for your perseverance
·
Tuesday, 01 November 2016 21:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Wednesday, 02 November 2016 11:14
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post