Welcome Guest, Not a member yet? Register   Sign In
Hook from redirect to page
#4

That's a completely different message. For some reason you are creating a infinite loop of redirects. You need to start removing some code and see where it always returns true (or false) and keeps redirecting the user.
If the problem gets solved by just removing "redirect('admin/index','location');" you are always returning false on "$this->CI->session->userdata('paid')" and you should stop checking for it in admin/index.
Reply


Messages In This Thread
Hook from redirect to page - by Wilmer - 08-25-2018, 05:33 AM
RE: Hook from redirect to page - by jreklund - 08-25-2018, 06:03 AM
RE: Hook from redirect to page - by Wilmer - 08-25-2018, 11:27 AM
RE: Hook from redirect to page - by jreklund - 08-26-2018, 05:33 AM
RE: Hook from redirect to page - by Wilmer - 08-27-2018, 03:43 PM



Theme © iAndrew 2016 - Forum software by © MyBB