Welcome Guest, Not a member yet? Register   Sign In
Trouble implementing a new controller in an existing project.
#3

[eluser]henryboy[/eluser]
Thanks for the welcome. This is the contents of my non-working controller file: testing.php

Code:
<?php

class Testing extends Controller {

    function index() {
                parent::Controller();
        echo 'Hello World';
    }

}

?>

The working controller is identical with a different filename and class name. Keep in mind the working controller was already existing, I just replaced it with the simple function for testing purposes. Permissions are identical. Not sure what you mean by changing the other line if using PHP-4 safe mode constructors.

Thanks.


Messages In This Thread
Trouble implementing a new controller in an existing project. - by El Forum - 07-29-2009, 02:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB