WItam.
Mam problem z wyświetlaniem strony w Kohana po przeniesieniu jej z innego serwera.
Czy mógłbym prosić o wytłumaczenie mi o co chodzi bo przyznam się szczerze, że nie ograniam tematu. ;(
Bedę wdzięczny za pomoc.
Pozdrawiam!
Po wpisaniu adresu url wyswietla mi następujące błędy:
SYSPATH\classes\kohana\view.php [ 252 ]
247 */
248 public function set_filename($file)
249 {
250 if (($path = Kohana::find_file('views', $file)) === FALSE)
251 {
252 throw new Kohana_View_Exception('The requested view :file could not be found', array(
253 ':file' => $file,
254 ));
255 }
256
257 // Store the file path locally
SYSPATH\classes\kohana\view.php [ 137 ] ť Kohana_View->set_filename(arguments)
132 */
133 public function __construct($file = NULL, array $data = NULL)
134 {
135 if ($file !== NULL)
136 {
137 $this->set_filename($file);
138 }
139
140 if ($data !== NULL)
141 {
142 // Add the values to the current data
SYSPATH\classes\kohana\view.php [ 30 ] ť Kohana_View->__construct(arguments)
25 * @param array array of values
26 * @return View
27 */
28 public static function factory($file = NULL, array $data = NULL)
29 {
30 return new View($file, $data);
31 }
32
33 /**
34 * Captures the output that is generated when a view is included.
35 * The view data will be extracted to make local variables. This method
APPPATH\bootstrap.php [ 120 ] ť Kohana_View::factory(arguments)
115 $request->status = 404;
116 echo View::factory('layout')
117 ->set('title', 'HATO - 404')
118 ->set('sidebar', View::factory('sidebar'))
119 ->set('content', View::factory('page/404'))
120 ->set('forum', View::factory('forum'))
121 ->render();
122 }
123
124 if ($request->send_headers())
125 {
DOCROOT\index.php [ 109 ] ť require(arguments)
104 // Load empty core extension
105 require SYSPATH.'classes/kohana'.EXT;
106 }
107
108 // Bootstrap the application
109 require APPPATH.'bootstrap'.EXT;