Welcome Guest, Not a member yet? Register   Sign In
how many levels of subfolders are supported ?
#7

[eluser]AtlantixMedia[/eluser]
I have the following structure:

admin/main
admin/config/configview

where admin is a folder, main is a controller, config is another controller, and configview is a function

main.php
Code:
<?php
include(APPPATH . 'controllers/access/adm.php');

class Main extends Adm {

    var $varsView = array();
    
    //===============================================
    function Main()
    //===============================================
    {
        parent::Adm();
    
    }

    //===============================================
    function Index()
    //===============================================    
    {
    
    
    }


        
}
?>

config.php
Code:
<?php
include(APPPATH . 'controllers/admin/main.php');

class Config extends Main {

    var $varsView = array();
    
    //===============================================
    function Config()
    //===============================================
    {
        parent::Main();
    }

    //===============================================
    function ConfigView()
    //===============================================    
    {
        //do something
    }

}
?>

can someone tell me why I get a 404 error page when I try to access admin/config/configview whereas everything works ok when I access admin/main? also, I use the same structure elsewhere in my application and everything works ok. thanks


Messages In This Thread
how many levels of subfolders are supported ? - by El Forum - 11-27-2007, 07:37 AM
how many levels of subfolders are supported ? - by El Forum - 11-27-2007, 12:08 PM
how many levels of subfolders are supported ? - by El Forum - 11-27-2007, 12:40 PM
how many levels of subfolders are supported ? - by El Forum - 11-27-2007, 01:05 PM
how many levels of subfolders are supported ? - by El Forum - 11-28-2007, 03:09 AM
how many levels of subfolders are supported ? - by El Forum - 11-28-2007, 03:16 AM
how many levels of subfolders are supported ? - by El Forum - 01-08-2008, 03:01 PM
how many levels of subfolders are supported ? - by El Forum - 01-08-2008, 03:10 PM
how many levels of subfolders are supported ? - by El Forum - 01-08-2008, 03:40 PM
how many levels of subfolders are supported ? - by El Forum - 01-08-2008, 03:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB