Welcome Guest, Not a member yet? Register   Sign In
Gateway time out CI 4.4.1
#5

Start with a simple one. 
Comment out the routes except for one + SQL call code and show an empty template. Then uncomment the requests.
PHP Code:
    public function admin_rutinas()
    {
        $user_id    =$this->request->getGet('id');

        // $admin_model= new Admin_users_model();
        // $user_name=$admin_model->get_username($user_id);

        $data['user_name']='Username';
        $data['user_id']=$user_id;
        $data['content_view']="admin/admin_rutinas_view";
      
        
return view('admin/admin_main_view',$data);
    }

//$routes->get('admin_start',  'Admin::index');
//$routes->get('admin_ejercicios',  'Admin::admin_ejercicios');
$routes->get('admin_rutinas',  'Admin::admin_rutinas'); 
Simple CI 4 project for beginners codeigniter-expenses ( topic )
Reply


Messages In This Thread
Gateway time out CI 4.4.1 - by adleon73 - 05-07-2024, 01:35 PM
RE: Gateway time out CI 4.4.1 - by ozornick - 05-08-2024, 12:53 AM
RE: Gateway time out CI 4.4.1 - by adleon73 - 05-08-2024, 02:18 AM
RE: Gateway time out CI 4.4.1 - by adleon73 - 05-08-2024, 12:00 PM
RE: Gateway time out CI 4.4.1 - by ozornick - 05-08-2024, 11:44 PM
RE: Gateway time out CI 4.4.1 - by kenjis - 05-09-2024, 03:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB