SYSPATH/core/Kohana.php[ 806 ]

ron@adobewerks.com
ron@adobewerks.com's picture

Joined: 2006-11-09
Posts: 66
Posted: Mon, 2010-09-20 22:42

Just installed fresh RC2. New DB.. php 5 / mysql 5. Apache 1.3.33

Everything went smooth but cannot get to admin. i get screen of errors:

Hey wait, you're an admin! We can tell you stuff.

Kohana_Exception [ Framework Error ]:
The requested views, admin.html, could not be found
SYSPATH/core/Kohana.php[ 806 ]

801 if ($found === NULL)
802 {
803 if ($required === TRUE)
804 {
805 // If the file is required, throw an exception
806 throw new Kohana_Exception('The requested :resource:, :file:, could not be found', array(':resource:' => __($directory), ':file:' =>$filename));
807 }
808 else
809 {
810 // Nothing was found, return FALSE
811 $found = FALSE;
SYSPATH/libraries/View.php[ 83 ] » Kohana_Core::find_file( arguments )

78 public function set_filename($name, $type = NULL)
79 {
80 if ($type == NULL)
81 {
82 // Load the filename and set the content type
83 $this->kohana_filename = Kohana::find_file('views', $name, TRUE);
84 $this->kohana_filetype = EXT;
85 }
86 else
87 {
88 // Check if the filetype is allowed by the configuration
SYSPATH/libraries/View.php[ 49 ] » View_Core->set_filename( arguments )

44 public function __construct($name = NULL, $data = NULL, $type = NULL)
45 {
46 if (is_string($name) AND $name !== '')
47 {
48 // Set the filename
49 $this->set_filename($name, $type);
50 }
51
52 if (is_array($data) AND ! empty($data))
53 {
54 // Preload data using array_merge, to allow user extensions
MODPATH/gallery/libraries/MY_View.php[ 56 ] » View_Core->__construct( arguments )

51 * Override View_Core::__construct so that we can set the csrf value into all views.
52 *
53 * @see View_Core::__construct
54 */
55 public function __construct($name = NULL, $data = NULL, $type = NULL) {
56 parent::__construct($name, $data, $type);
57 $this->set_global("csrf", access::csrf_token());
58 }
59
60 /**
61 * Override View_Core::render so that we trap errors stemming from bad PHP includes and show a
MODPATH/gallery/libraries/Admin_View.php[ 30 ] » View->__construct( arguments )

25 * @param string $name view name
26 * @param string $theme_name view name
27 * @return void
28 */
29 public function __construct($name) {
30 parent::__construct($name);
31
32 $this->theme_name = module::get_var("gallery", "active_admin_theme");
33 if (identity::active_user()->admin) {
34 $this->theme_name = Input::instance()->get("theme", $this->theme_name);
35 }
MODPATH/gallery/controllers/admin_dashboard.php[ 22 ] » Admin_View_Core->__construct( arguments )

17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
19 */
20class Admin_Dashboard_Controller extends Admin_Controller {
21 public function index() {
22 $view = new Admin_View("admin.html");
23 $view->page_title = t("Dashboard");
24 $view->content = new View("admin_dashboard.html");
25 $view->content->blocks = block_manager::get_html("dashboard_center");
26 $view->sidebar = "<div id=\"g-admin-dashboard-sidebar\">" .
27 block_manager::get_html("dashboard_sidebar") .
{PHP internal call} » Admin_Dashboard_Controller->index()

MODPATH/gallery/controllers/admin.php[ 62 ] » call_user_func_array( arguments )

57
58 if (!method_exists($controller_name, $method)) {
59 throw new Kohana_404_Exception();
60 }
61
62 call_user_func_array(array(new $controller_name, $method), $args);
63 }
64
65 private static function _reauth_check() {
66 $session = Session::instance();
67 $last_active_auth = $session->get("active_auth_timestamp", 0);
{PHP internal call} » Admin_Controller->__call( arguments )

SYSPATH/core/Kohana.php[ 331 ] » ReflectionMethod->invokeArgs( arguments )

{PHP internal call} » Kohana_Core::instance( arguments )

SYSPATH/core/Event.php[ 208 ] » call_user_func_array( arguments )

APPPATH/Bootstrap.php[ 67 ] » Event_Core::run( arguments )

DOCROOT/index.php[ 94 ] » require( arguments )

site is: www.adobewerks.com/g3

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2010-09-20 22:44

locking thread. I've responded to your first post in the other thread you posted in.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here