Upgrade to 1.3.5 – redirect to create advert not working

This topic contains 10 replies, has 5 voices, and was last updated by  sargon b 9 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #28475

    adriangraham
    Expired Member
    Post count: 426

    (think I might know why).

    On my site if I click “create advert” I link to

    http://www.childcarefinder.ie/add-listing/?listing_type=gd_place

    and I am taken to the “sign up or sign in screen” as normal… but when I do a signup I a redirected to the homepage instead of the the create advert page like it was…. and I really need my customers to be taken to the data entry part!

    I think it might be possibly down to the fact that the URL is now getting a “redirect” appended to it as follows:

    http://www.childcarefinder.ie/?geodir_signup=true&redirect_to=http://childcarefinder.ie/add-listing/?listing_type=gd_place

    but I notice the redirect is missing the “www” part and this might be causing an issue with the smooth redirecting…. perhaps?

    Help REALLY appreciated.

    Adrian

    #28487

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Adrian,

    This bug has been reported already and a fix will be in the next release.
    (should not be next few days)

    Thanks,

    Stiofan

    #28489

    adriangraham
    Expired Member
    Post count: 426

    Hi there,

    Thanks. Any chance you could give me the fix as I might not get upgrading again for a little while.

    Thanks a mil,

    Adrian

    #28631

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    sorry it’s in a few files, if it were a one line thing i would, this should be released on mon/tue.

    Stiofan

    #28633

    adriangraham
    Expired Member
    Post count: 426

    Understood, thanks Stiofan

    #29416

    deanbarrow
    Buyer
    Post count: 17

    Did this get fixed in 1.3.6?
    I’ve just downloaded the latest and it’s still broken for me.

    #29494

    adriangraham
    Expired Member
    Post count: 426

    Going to wait off upgrading until this has been confirmed. Thanks a mil

    #29495

    dave@ocl.ie
    Buyer
    Post count: 59

    Hi Guys

    Can you please confirm if this is fixed before we upgrade

    Thanks a lot

    dave

    #29497

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    This has been fixed in 1.3.6, tested and confirmed. If you are having problems please start your own topic so we can ask for login details in private.

    Thanks,

    Stiofan

    #29531

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    OK this was my bad, i tested the new user registration redirect so much i forgot to test the normal user login, i have fixed this now and it will be in the next version.

    to fix now u can edit geodirectory-functions/signup_function.php line 490
    add just below the /////////////////////////

    
    
    if(isset($_REQUEST['redirect_add_listing']) ){
    				$_REQUEST['redirect_to'] = $_REQUEST['redirect_add_listing'];
    			}

    Thanks,

    Stiofan

    #30138

    sargon b
    Expired Member
    Post count: 16

    I tried your solution but am experiencing an issue with what seems to be the URL encoding.

    1. non-logged in user: click ‘Add Place’ on http://www.qurbee.com

    2. user will be taken to the signup page (redirect part of the url has a lot of escaped characters)
    http://www.qurbee.com/?geodir_signup=true&redirect_add_listing=http%3A%2F%2Fqurbee.com%2Fadd-listing%2F%3Flisting_type%3Dgd_place

    3. after signing up, the redirect takes the user back to the home page of my site (I’ve noticed there’s a 302 response code error)

    NOTE: I’ve removed the escaped characters and paste this url into my browser. With this url, the user is correctly taken to the add listing page after signing up. Any idea what’s going on?
    http://www.qurbee.com/?geodir_signup=true&redirect_add_listing=http://www.qurbee.com/add-listing/?listing_type=gd_place

Viewing 11 posts - 1 through 11 (of 11 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount