Redirect causing error
Setting redirect for after editing a listing.
Version: 5.1.24
URL:
|
sparkalina
Forum Regular Usergroup: Customer Joined: Nov 25, 2003 Total Topics: 69 Total Posts: 198 |
Posted 03/11/10 - 8:35 PM:
When I force a redirect, I want the user to go back to their memberhome area after editing a listing. Currently when I use: profile.php?action=memberhome&id={MEMBERID} The edit is saved however after pressing submit the page goes blank except for this error: "Non-numeric id value requested: {MEMBERID}" EDIT ----------------- When Bypass redirects is YES the error is present, when set to NO, it works. This looks like a bug. For now I'll leave the redirect blank. Edited by sparkalina on 03/11/10 - 8:37 PM |
|
Paul
developer Usergroup: Administrator Joined: Dec 20, 2001 Location: Diamond Springs, California Total Topics: 65 Total Posts: 7614 |
Posted 03/12/10 - 4:28 PM:
If I were to handle member template variables in that spot (which I haven't been), {MEMBERID} would end up redirecting to the link owner's home (or an error page for guest submissions) rather than yours. {THISMEMBERID} would go to the page viewer's home as you probably want. Neither is processed though, so it only falls to the catch-all processing at the end of the page which assumes it's for the viewer -- but that spot is never reached if you bypass the redirect page. I'll add {THISMEMBER handling for redirect bypassing. |
Sorry, you don't have permission to post. Log in, or register if you haven't yet.

Print