Welcome Guest, Not a member yet? Register   Sign In
404 page after upgrade
#1

Hi there,

I was using CI3 for a while, and recently I wanted to catch up with the latest update.
I first upgraded to from 3.0.0 TO 3.0.1 and all went well.

But from 3.0.1 to 3.0.2 throws a 404 page when accessing some controllers.
I replaced system folder and constants.php.

Code:
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

Class Biz extends CI_controller {

    public function __construct() {
        parent::__construct();
    }
    public function privacy() {
        
         if (!$this->agent->is_mobile()) {
                    
                
        $this->load->view('footer/privacy');
                
                }  else {
                  $this->load->view('mobile/footer/privacy');
                }
    }
}


The file controller is Biz.php

On localhost I access the page with this link: http://localhost/ci/biz/privacy

Code:
$config['base_url'] = 'http://localhost/ci/';
$config['index_page'] = '';
$config['uri_protocol']    = 'REQUEST_URI';

routes
Code:
$route['biz/privacy']='biz/privacy';

And like I said, everything worked fine on 3.0.1 but same error 404 page with any version above that.

Any help and suggestions will be much appreciated

Thank you
Reply


Messages In This Thread
404 page after upgrade - by rocks - 08-21-2016, 08:19 AM
RE: 404 page after upgrade - by PaulD - 08-21-2016, 10:20 AM
RE: 404 page after upgrade - by rocks - 08-21-2016, 11:15 AM
RE: 404 page after upgrade - by InsiteFX - 08-21-2016, 04:01 PM
RE: 404 page after upgrade - by rocks - 08-22-2016, 08:05 AM
RE: 404 page after upgrade - by rocks - 08-22-2016, 07:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB