This is the error I am facing.
This is my controller code
<?php defined('SYSPATH') or die('No direct script access.');
class Controller_Home extends Controller {
public function action_index()
{
$users = ORM::factory("users");
}
}
My model code
<?php defined('SYSPATH') or die('No direct access allowed.');
class Model_users extends ORM{ }
I am on a tight schedule please help.
I'm guess, that you have php7? Kohana work only on php5. Use https://github.com/koseven/koseven instead