Welcome Guest, Not a member yet? Register   Sign In
Problems with PHP5.
#2

[eluser]gungbao[/eluser]
please try not to name neither your Controller-Class "Main" nor your controller-File "main".
Try

Code:
class Main_Controller extends Controller {
    function __construct()
    {
        parent::Controller();
    }
    function index()
    {
        echo "test";
    }
}


Save it as "main_controller.php"

and call index.php/main_controller

This works for me.


Messages In This Thread
Problems with PHP5. - by El Forum - 06-25-2007, 09:32 PM
Problems with PHP5. - by El Forum - 06-26-2007, 03:31 AM
Problems with PHP5. - by El Forum - 06-26-2007, 05:39 AM
Problems with PHP5. - by El Forum - 06-26-2007, 05:57 AM
Problems with PHP5. - by El Forum - 06-26-2007, 11:31 PM
Problems with PHP5. - by El Forum - 06-27-2007, 05:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB