Arty
Well-known member
I'm using the following code in controller to redirect to account upgrade page:
It correctly redirects to account/upgrades, but instead of account upgrades page I see this error:
Any ideas why I'm getting error message?
Code:
return $this->responseRedirect(
XenForo_ControllerResponse_Redirect::SUCCESS,
XenForo_Link::buildPublicLink('account/upgrades')
);
URL is correct, simply refreshing page in browser shows correct content.You do not have permission to view this page or perform this action.
Any ideas why I'm getting error message?