Fuel\Core\FuelException [ Error ]:
Unable to create or write to the log file. Please check the permissions on /var/www/vhosts/test03.gal-app.com/bbs/app/logs/. (mkdir(): 許可がありません)
72 $handle = fopen($filename, 'a'); 73 } 74 catch (\Exception $e) 75 { 76 \Config::set('log_threshold', \Fuel::L_NONE); 77 throw new \FuelException('Unable to create or write to the log file. Please check the permissions on '.\Config::get('log_path').'. ('.$e->getMessage().')'); 78 } 79 80 if ( ! filesize($filename)) 81 { 82 fwrite($handle, "<?php defined('COREPATH') or exit('No direct script access allowed'); ?>".PHP_EOL.PHP_EOL);
359 if (static::$auto_initialize === $class) 360 { 361 static::$auto_initialize = null; 362 if (method_exists($class, '_init') and is_callable($class.'::_init')) 363 { 364 call_user_func($class.'::_init'); 365 } 366 } 367 } 368}
242 if ( ! class_exists($full_class, false) and ! interface_exists($full_class, false)) 243 { 244 include static::prep_path(static::$classes[$full_class]); 245 } 246 class_alias($full_class, $class); 247 static::init_class($class); 248 $loaded = true; 249 } 250 else 251 { 252 $full_ns = substr($class, 0, $pos);
93 if ( ! in_array($level, $loglabels)) 94 { 95 return false; 96 } 97 98 return \Log::instance()->log($level, (empty($method) ? '' : $method.' - ').$msg); 99 } 100} 101 102 103/**
266 public function __construct($uri, $route = true, $method = null) 267 { 268 $this->uri = new \Uri($uri); 269 $this->method = $method ?: \Input::method(); 270 271 logger(\Fuel::L_INFO, 'Creating a new '.(static::$main==null?'main':'HMVC').' Request with URI = "'.$this->uri->get().'"', __METHOD__); 272 273 // check if a module was requested 274 if (count($this->uri->get_segments()) and $module_path = \Module::exists($this->uri->get_segment(1))) 275 { 276 // check if the module has routes
65 { 66 $class = \Inflector::words_to_upper('Request_'.$options['driver']); 67 return $class::forge($uri, $options, $method); 68 } 69 70 $request = new static($uri, isset($options['route']) ? $options['route'] : true, $method); 71 if (static::$active) 72 { 73 $request->parent = static::$active; 74 static::$active->children[] = $request; 75 }
44require APPPATH.'bootstrap.php'; 45 46// Generate the request, execute it and send the output. 47try 48{ 49 $response = Request::forge()->execute()->response(); 50} 51catch (HttpNotFoundException $e) 52{ 53 \Request::reset_request(true); 54