Welcome Guest, Not a member yet? Register   Sign In
View not loading
#1

[eluser]Atrhick[/eluser]
Hello guys I have a problem here and i cant see the error.

these URL works fine
http://mydomain.com/administrator/
http://mydomain.com/administrator/index....r/register
http://mydomain.com/administrator/index...._view.html

however i have made a new page and it is styled and uploaded. and here is my controller code..

Code:
<?php

class Client_detail extends Controller{

function Client_detail(){
  
  parent::Controller();
  $this->view_data['base_url'] = base_url();
}

function index(){
  
  $this->client_details();
}

function client_details(){
  
  if ($this->session->userdata('logged_in') !== FALSE)
   {
    $this->load->view('client_details_view', $this->view_data);
   }
  else
   {
     $hackerror['hackerror'] = "Please Login First!";
     $this->load->view('login_view', $hackerror);
   }
}
}


and here is the link that is not working
http://mydomain.com/administrator/index...._view.html

its telling me that:

404 Page Not Found

The page you requested was not found.

I don't get it.





Theme © iAndrew 2016 - Forum software by © MyBB