The requested page could not be found, after $dw->save();

cedivad

Active member
I'm using the datawriter to save some stuff. Once that i call "$dw->save();", i get that error. What can it be?
I think that the "_xfToken" field can be the cause of this, however even if i suppose it to be working great i don't know how to check it.
 
Check your link for responseRedirect, and be sure it is typed correctly:

if an Admin Link:

return $this->responseRedirect(
XenForo_ControllerResponse_Redirect::SUCCESS,
XenForo_Link::buildAdminLink('where-i-should-redirect-to')

or Public Link:

return $this->responseRedirect(
XenForo_ControllerResponse_Redirect::SUCCESS,
XenForo_Link::buildPublicLink('where-users-should-redirect-to')
);
 
Top Bottom