Exception
lithium\template\TemplateException
(code 500)
Template not found at path `/var/www/tervezettbaba.hu/web/views/elements/expert_sig-.html.php`.
Source
Stack Trace
-
[exception]
/var/www/tervezettbaba.hu/web/libraries/lithium/template/view/adapter/File.php: 181
176 if (!file_exists($path = String::insert($path, $params))) { 177 continue; 178 } 179 return $path; 180 } 181 throw new TemplateException("Template not found at path `{$path}`."); 182 } 183} 184 185
-
lithium\template\view\adapter\File::template()
/var/www/tervezettbaba.hu/web/libraries/lithium/template/view/adapter/File.php: 130
125 * @return string 126 */ 127 public function template($type, array $params) { 128 $library = Libraries::get(isset($params['library']) ? $params['library'] : true); 129 $params['library'] = $library['path']; 130 $path = $this->_paths($type, $params); 131 132 if ($this->_compile) { 133 $compiler = $this->_classes['compiler']; 134 $path = $compiler::template($path, $this->_config['compiler']); 135 }
-
lithium\template\View::lithium\template\{closure}() @ ?
/var/www/tervezettbaba.hu/web/libraries/lithium/template/View.php: 392
387 'loader' => $_loader, 388 'renderer' => $_renderer 389 ); 390 391 $filter = function($self, $params) { 392 $template = $params['loader']->template($params['step']['path'], $params['params']); 393 return $params['renderer']->render($template, $params['data'], $params['options']); 394 }; 395 $result = $this->_filter(__METHOD__, $params, $filter); 396 397 if (is_array($step['capture'])) {
-
lithium\core\Object::_filter()
/var/www/tervezettbaba.hu/web/libraries/lithium/core/Object.php: 258
253 */ 254 protected function _filter($method, $params, $callback, $filters = array()) { 255 list($class, $method) = explode('::', $method); 256 257 if (empty($this->_methodFilters[$method]) && empty($filters)) { 258 return $callback($this, $params, null); 259 } 260 261 $f = isset($this->_methodFilters[$method]) ? $this->_methodFilters[$method] : array(); 262 $data = array_merge($f, $filters, array($callback)); 263 return Filters::run($this, $params, compact('data', 'class', 'method'));
-
lithium\template\View::_step()
/var/www/tervezettbaba.hu/web/libraries/lithium/template/View.php: 395
390 391 $filter = function($self, $params) { 392 $template = $params['loader']->template($params['step']['path'], $params['params']); 393 return $params['renderer']->render($template, $params['data'], $params['options']); 394 }; 395 $result = $this->_filter(__METHOD__, $params, $filter); 396 397 if (is_array($step['capture'])) { 398 switch (key($step['capture'])) { 399 case 'context': 400 $options['context'][current($step['capture'])] = $result;
-
lithium\template\View::render()
/var/www/tervezettbaba.hu/web/libraries/lithium/template/View.php: 328
323 $params[$name] = $value; 324 $result = $this->_step($step, $params, $data, $options); 325 } 326 continue; 327 } 328 $result = $this->_step((array) $step, $params, $data, $options); 329 } 330 return $result; 331 } 332 333 /**
-
lithium\template\view\Renderer::_render()
/var/www/tervezettbaba.hu/web/libraries/lithium/template/view/Renderer.php: 510
505 * @param array $options Any options accepted by `template\View::render()`. 506 * @return string Returns a the rendered template content as a string. 507 */ 508 protected function _render($type, $template, array $data = array(), array $options = array()) { 509 $options += $this->_options; 510 return $this->_view->render($type, $data + $this->_data, compact('template') + $options); 511 } 512} 513 514
-
include
/var/www/tervezettbaba.hu/web/resources/tmp/cache/templates/template_views_tickets_view.html_523133375_1651042290_2247.php: 42
37 $ans=preg_replace ('/[\n\r]+/' , "<br />", $ans); 38 echo $ans; //htmlspecialchars kiszedve la 39 if(false===strpos($ticket->ans4public, $expert->fullname) && (empty($expert->altname) || false===strpos($ticket->ans4public, $expert->altname))) // in case the signature (fullname) is also in the db, do not write it twice. 40 { 41 //print_r(strpos($ticket->que4public, $expert->fullname)); 42 echo $this->_render('element',"expert_sig-{$expert->code}"); 43 //echo "\n<!-- $ticket->que4public -->\n<!-- $expert->fullname -->\n"; 44 } 45 46 47 </p>
-
lithium\template\view\adapter\File::render()
/var/www/tervezettbaba.hu/web/libraries/lithium/template/view/adapter/File.php: 116
111 } elseif ($this->_view) { 112 extract((array) $this->_view->outputFilters, EXTR_OVERWRITE); 113 } 114 115 ob_start(); 116 include $template__; 117 return ob_get_clean(); 118 } 119 120 /** 121 * Returns a template file name
-
lithium\template\View::lithium\template\{closure}() @ ?
/var/www/tervezettbaba.hu/web/libraries/lithium/template/View.php: 393
388 'renderer' => $_renderer 389 ); 390 391 $filter = function($self, $params) { 392 $template = $params['loader']->template($params['step']['path'], $params['params']); 393 return $params['renderer']->render($template, $params['data'], $params['options']); 394 }; 395 $result = $this->_filter(__METHOD__, $params, $filter); 396 397 if (is_array($step['capture'])) { 398 switch (key($step['capture'])) {
-
lithium\core\Object::_filter()
/var/www/tervezettbaba.hu/web/libraries/lithium/core/Object.php: 258
253 */ 254 protected function _filter($method, $params, $callback, $filters = array()) { 255 list($class, $method) = explode('::', $method); 256 257 if (empty($this->_methodFilters[$method]) && empty($filters)) { 258 return $callback($this, $params, null); 259 } 260 261 $f = isset($this->_methodFilters[$method]) ? $this->_methodFilters[$method] : array(); 262 $data = array_merge($f, $filters, array($callback)); 263 return Filters::run($this, $params, compact('data', 'class', 'method'));
-
lithium\template\View::_step()
/var/www/tervezettbaba.hu/web/libraries/lithium/template/View.php: 395
390 391 $filter = function($self, $params) { 392 $template = $params['loader']->template($params['step']['path'], $params['params']); 393 return $params['renderer']->render($template, $params['data'], $params['options']); 394 }; 395 $result = $this->_filter(__METHOD__, $params, $filter); 396 397 if (is_array($step['capture'])) { 398 switch (key($step['capture'])) { 399 case 'context': 400 $options['context'][current($step['capture'])] = $result;
-
lithium\template\View::render()
/var/www/tervezettbaba.hu/web/libraries/lithium/template/View.php: 328
323 $params[$name] = $value; 324 $result = $this->_step($step, $params, $data, $options); 325 } 326 continue; 327 } 328 $result = $this->_step((array) $step, $params, $data, $options); 329 } 330 return $result; 331 } 332 333 /**
-
lithium\net\http\Media::lithium\net\http\{closure}() @ ?
/var/www/tervezettbaba.hu/web/libraries/lithium/net/http/Media.php: 768
763 case ($handler['template'] === false) && is_string($data): 764 return $data; 765 case $handler['view']: 766 unset($options['view']); 767 $instance = $self::view($handler, $data, $response, $options); 768 return $instance->render('all', (array) $data, $options); 769 default: 770 throw new MediaException("Could not interpret type settings for handler."); 771 } 772 }); 773 }
-
lithium\core\StaticObject::_filter()
/var/www/tervezettbaba.hu/web/libraries/lithium/core/StaticObject.php: 139
134 protected static function _filter($method, $params, $callback, $filters = array()) { 135 $class = get_called_class(); 136 $hasNoFilters = empty(static::$_methodFilters[$class][$method]); 137 138 if ($hasNoFilters && !$filters && !Filters::hasApplied($class, $method)) { 139 return $callback($class, $params, null); 140 } 141 if (!isset(static::$_methodFilters[$class][$method])) { 142 static::$_methodFilters += array($class => array()); 143 static::$_methodFilters[$class][$method] = array(); 144 }
-
lithium\net\http\Media::_handle()
/var/www/tervezettbaba.hu/web/libraries/lithium/net/http/Media.php: 772
767 $instance = $self::view($handler, $data, $response, $options); 768 return $instance->render('all', (array) $data, $options); 769 default: 770 throw new MediaException("Could not interpret type settings for handler."); 771 } 772 }); 773 } 774 775 /** 776 * Helper method for listing registered media types. Returns all types, or a single 777 * content type if a specific type is specified.
-
lithium\core\StaticObject::invokeMethod()
/var/www/tervezettbaba.hu/web/libraries/lithium/core/StaticObject.php: 84
79 case 1: 80 return static::$method($params[0]); 81 case 2: 82 return static::$method($params[0], $params[1]); 83 case 3: 84 return static::$method($params[0], $params[1], $params[2]); 85 case 4: 86 return static::$method($params[0], $params[1], $params[2], $params[3]); 87 case 5: 88 return static::$method($params[0], $params[1], $params[2], $params[3], $params[4]); 89 default:
-
lithium\net\http\Media::render()::{closure} @ 609
/var/www/tervezettbaba.hu/web/libraries/lithium/net/http/Media.php: 617
612 if (isset($types[$type])) { 613 $header = current((array) $types[$type]); 614 $header .= $response->encoding ? "; charset={$response->encoding}" : ''; 615 $response->headers('Content-Type', $header); 616 } 617 $response->body($self::invokeMethod('_handle', array($handler, $data, $response))); 618 619 return $response; 620 }); 621 } 622
-
lithium\core\StaticObject::_filter()
/var/www/tervezettbaba.hu/web/libraries/lithium/core/StaticObject.php: 139
134 protected static function _filter($method, $params, $callback, $filters = array()) { 135 $class = get_called_class(); 136 $hasNoFilters = empty(static::$_methodFilters[$class][$method]); 137 138 if ($hasNoFilters && !$filters && !Filters::hasApplied($class, $method)) { 139 return $callback($class, $params, null); 140 } 141 if (!isset(static::$_methodFilters[$class][$method])) { 142 static::$_methodFilters += array($class => array()); 143 static::$_methodFilters[$class][$method] = array(); 144 }
-
lithium\net\http\Media::render()
/var/www/tervezettbaba.hu/web/libraries/lithium/net/http/Media.php: 620
615 $response->headers('Content-Type', $header); 616 } 617 $response->body($self::invokeMethod('_handle', array($handler, $data, $response))); 618 619 return $response; 620 }); 621 } 622 623 /** 624 * Configures a template object instance, based on a media handler configuration. 625 *
-
lithium\action\Controller::render()
/var/www/tervezettbaba.hu/web/libraries/lithium/action/Controller.php: 269
264 if ($options['head']) { 265 return; 266 } 267 $response = $media::render($this->response, $this->_render['data'], $options + array( 268 'request' => $this->request 269 )); 270 return ($this->response = $response ?: $this->response); 271 } 272 273 /** 274 * Creates a redirect response by calling `render()` and providing a `'location'` parameter.
-
app\controllers\TicketsController::index()
/var/www/tervezettbaba.hu/web/controllers/TicketsController.php: 198
193 194 //Logger::notice(__FILE__." ".__LINE__." ".__FUNCTION__."() ticket: ". print_r($ticket, 1)); 195 //Logger::notice(__FILE__." ".__LINE__." ".__FUNCTION__."() expert: ". print_r($expert, 1)); 196 $data=compact('ticket', 'new_ticket', 'latestTopics', 'expert', 'title', 'h1title'); 197 $template='view'; 198 return $this->render(compact('template', 'data')); 199 } 200 201 ///////////////////////////////////////////////////////////////////////////////////////////////// 202 203 // megnezzuk, hogy egy cikk-e, pl. gyakori-kerdesek
-
lithium\core\Object::invokeMethod()
/var/www/tervezettbaba.hu/web/libraries/lithium/core/Object.php: 174
169 * @return mixed Returns the result of the method call 170 */ 171 public function invokeMethod($method, $params = array()) { 172 switch (count($params)) { 173 case 0: 174 return $this->{$method}(); 175 case 1: 176 return $this->{$method}($params[0]); 177 case 2: 178 return $this->{$method}($params[0], $params[1]); 179 case 3:
-
lithium\action\Controller::__invoke()::{closure} @ 170
/var/www/tervezettbaba.hu/web/libraries/lithium/action/Controller.php: 185
180 if (!method_exists($self, $action)) { 181 throw new DispatchException("Action `{$action}` not found."); 182 } 183 $render['template'] = $render['template'] ?: $action; 184 185 if ($result = $self->invokeMethod($action, $args)) { 186 if (is_string($result)) { 187 $self->render(array('text' => $result)); 188 return $self->response; 189 } 190 if (is_array($result)) {
-
lithium\core\Object::_filter()
/var/www/tervezettbaba.hu/web/libraries/lithium/core/Object.php: 258
253 */ 254 protected function _filter($method, $params, $callback, $filters = array()) { 255 list($class, $method) = explode('::', $method); 256 257 if (empty($this->_methodFilters[$method]) && empty($filters)) { 258 return $callback($this, $params, null); 259 } 260 261 $f = isset($this->_methodFilters[$method]) ? $this->_methodFilters[$method] : array(); 262 $data = array_merge($f, $filters, array($callback)); 263 return Filters::run($this, $params, compact('data', 'class', 'method'));
-
lithium\action\Controller::__invoke()
/var/www/tervezettbaba.hu/web/libraries/lithium/action/Controller.php: 199
194 195 if (!$render['hasRendered'] && $render['auto']) { 196 $self->render(); 197 } 198 return $self->response; 199 }); 200 } 201 202 /** 203 * This method is used to pass along any data from the controller to the view and layout 204 *
-
lithium\action\Dispatcher::lithium\action\{closure}() @ ?
/var/www/tervezettbaba.hu/web/libraries/lithium/action/Dispatcher.php: 262
257 */ 258 protected static function _call($callable, $request, $params) { 259 $params = compact('callable', 'request', 'params'); 260 return static::_filter(__FUNCTION__, $params, function($self, $params) { 261 if (is_callable($callable = $params['callable'])) { 262 return $callable($params['request'], $params['params']); 263 } 264 throw new DispatchException('Result not callable.'); 265 }); 266 } 267}
-
lithium\util\collection\Filters::next()
/var/www/tervezettbaba.hu/web/libraries/lithium/util/collection/Filters.php: 202
197 public function next($self, $params, $chain) { 198 if (empty($self) || empty($chain)) { 199 return parent::next(); 200 } 201 $next = parent::next(); 202 return $next($self, $params, $chain); 203 } 204 205 /** 206 * Gets the method name associated with this filter chain. This is the method being filtered. 207 *
-
/var/www/tervezettbaba.hu/web/config/bootstrap/session.php::{closure} @ 154
/var/www/tervezettbaba.hu/web/config/bootstrap/session.php: 169
164 if (is_array($role)) { 165 $options = $role; 166 $role = $options[0]; 167 } 168 if (array_intersect(array_keys($roles), explode('|', $role))) { 169 return $chain->next($self, $params, $chain); 170 } elseif (isset($options['redirect'])) { 171 preg_match($regexp, strtolower($options['redirect']), $matches); 172 $redirect = [ 173 'library' => $matches['library'], 174 'controller' => $matches['controller'],
-
lithium\util\collection\Filters::run()
/var/www/tervezettbaba.hu/web/libraries/lithium/util/collection/Filters.php: 183
178 } 179 } 180 181 $chain = new Filters($options); 182 $next = $chain->rewind(); 183 return $next($class, $params, $chain); 184 } 185 186 /** 187 * Provides short-hand convenience syntax for filter chaining. 188 *
-
lithium\core\StaticObject::_filter()
/var/www/tervezettbaba.hu/web/libraries/lithium/core/StaticObject.php: 146
141 if (!isset(static::$_methodFilters[$class][$method])) { 142 static::$_methodFilters += array($class => array()); 143 static::$_methodFilters[$class][$method] = array(); 144 } 145 $data = array_merge(static::$_methodFilters[$class][$method], $filters, array($callback)); 146 return Filters::run($class, $params, compact('data', 'class', 'method')); 147 } 148 149 /** 150 * Gets and caches an array of the parent methods of a class. 151 *
-
lithium\action\Dispatcher::_call()
/var/www/tervezettbaba.hu/web/libraries/lithium/action/Dispatcher.php: 265
260 return static::_filter(__FUNCTION__, $params, function($self, $params) { 261 if (is_callable($callable = $params['callable'])) { 262 return $callable($params['request'], $params['params']); 263 } 264 throw new DispatchException('Result not callable.'); 265 }); 266 } 267} 268 269
-
lithium\core\StaticObject::invokeMethod()
/var/www/tervezettbaba.hu/web/libraries/lithium/core/StaticObject.php: 84
79 case 1: 80 return static::$method($params[0]); 81 case 2: 82 return static::$method($params[0], $params[1]); 83 case 3: 84 return static::$method($params[0], $params[1], $params[2]); 85 case 4: 86 return static::$method($params[0], $params[1], $params[2], $params[3]); 87 case 5: 88 return static::$method($params[0], $params[1], $params[2], $params[3], $params[4]); 89 default:
-
lithium\action\Dispatcher::run()::{closure} @ 141
/var/www/tervezettbaba.hu/web/libraries/lithium/action/Dispatcher.php: 154
149 150 if (!$params) { 151 throw new DispatchException('Could not route request.'); 152 } 153 $callable = $self::invokeMethod('_callable', array($result, $params, $options)); 154 return $self::invokeMethod('_call', array($callable, $result, $params)); 155 }); 156 } 157 158 /** 159 * Attempts to apply a set of formatting rules from `$_rules` to a `$params` array, where each
-
lithium\util\collection\Filters::next()
/var/www/tervezettbaba.hu/web/libraries/lithium/util/collection/Filters.php: 202
197 public function next($self, $params, $chain) { 198 if (empty($self) || empty($chain)) { 199 return parent::next(); 200 } 201 $next = parent::next(); 202 return $next($self, $params, $chain); 203 } 204 205 /** 206 * Gets the method name associated with this filter chain. This is the method being filtered. 207 *
-
/var/www/tervezettbaba.hu/web/config/bootstrap/action.php::{closure} @ 45
/var/www/tervezettbaba.hu/web/config/bootstrap/action.php: 63
58 continue; 59 } 60 $file = "{$config['path']}/config/routes.php"; 61 file_exists($file) ? include $file : null; 62 } 63 return $chain->next($self, $params, $chain); 64 }); 65 66 Environment::is(function($request) { 67 $env = $request->env('env'); 68 return $env ? $env : 'development';
-
lithium\util\collection\Filters::next()
/var/www/tervezettbaba.hu/web/libraries/lithium/util/collection/Filters.php: 202
197 public function next($self, $params, $chain) { 198 if (empty($self) || empty($chain)) { 199 return parent::next(); 200 } 201 $next = parent::next(); 202 return $next($self, $params, $chain); 203 } 204 205 /** 206 * Gets the method name associated with this filter chain. This is the method being filtered. 207 *
-
/var/www/tervezettbaba.hu/web/config/bootstrap/cache.php::{closure} @ 47
/var/www/tervezettbaba.hu/web/config/bootstrap/cache.php: 54
49 50 if ($cache = Cache::read('default', $key)) { 51 $cache = (array) $cache + Libraries::cache(); 52 Libraries::cache($cache); 53 } 54 $result = $chain->next($self, $params, $chain); 55 56 if ($cache != Libraries::cache()) { 57 Cache::write('default', $key, Libraries::cache(), '+1 day'); 58 } 59 return $result;
-
lithium\util\collection\Filters::next()
/var/www/tervezettbaba.hu/web/libraries/lithium/util/collection/Filters.php: 202
197 public function next($self, $params, $chain) { 198 if (empty($self) || empty($chain)) { 199 return parent::next(); 200 } 201 $next = parent::next(); 202 return $next($self, $params, $chain); 203 } 204 205 /** 206 * Gets the method name associated with this filter chain. This is the method being filtered. 207 *
-
lithium\core\ErrorHandler::apply()::{closure} @ 264
/var/www/tervezettbaba.hu/web/libraries/lithium/core/ErrorHandler.php: 266
261 $wrap = static::$_exceptionHandler; 262 $_self = get_called_class(); 263 264 $filter = function($self, $params, $chain) use ($_self, $conditions, $handler, $wrap) { 265 try { 266 return $chain->next($self, $params, $chain); 267 } catch (Exception $e) { 268 if (!$_self::matches($e, $conditions)) { 269 throw $e; 270 } 271 return $handler($wrap($e, true), $params);
-
lithium\util\collection\Filters::run()
/var/www/tervezettbaba.hu/web/libraries/lithium/util/collection/Filters.php: 183
178 } 179 } 180 181 $chain = new Filters($options); 182 $next = $chain->rewind(); 183 return $next($class, $params, $chain); 184 } 185 186 /** 187 * Provides short-hand convenience syntax for filter chaining. 188 *
-
lithium\core\StaticObject::_filter()
/var/www/tervezettbaba.hu/web/libraries/lithium/core/StaticObject.php: 146
141 if (!isset(static::$_methodFilters[$class][$method])) { 142 static::$_methodFilters += array($class => array()); 143 static::$_methodFilters[$class][$method] = array(); 144 } 145 $data = array_merge(static::$_methodFilters[$class][$method], $filters, array($callback)); 146 return Filters::run($class, $params, compact('data', 'class', 'method')); 147 } 148 149 /** 150 * Gets and caches an array of the parent methods of a class. 151 *
-
lithium\action\Dispatcher::run()
/var/www/tervezettbaba.hu/web/libraries/lithium/action/Dispatcher.php: 155
150 if (!$params) { 151 throw new DispatchException('Could not route request.'); 152 } 153 $callable = $self::invokeMethod('_callable', array($result, $params, $options)); 154 return $self::invokeMethod('_call', array($callable, $result, $params)); 155 }); 156 } 157 158 /** 159 * Attempts to apply a set of formatting rules from `$_rules` to a `$params` array, where each 160 * formatting rule is applied if the key of the rule in `$_rules` is present and not empty in
-
[main]
/var/www/tervezettbaba.hu/web/webroot/index.php: 43
38 * @see lithium\action\Response 39 * @see lithium\action\Dispatcher 40 * @see lithium\net\http\Router 41 * @see lithium\action\Controller 42 */ 43 echo lithium\action\Dispatcher::run(new lithium\action\Request()); 44 45
Valami nem úgy alakult, ahogy azt akartuk. Kérjük segítsd a munkánkat azzal, hogy írsz nekünk egy emailt az ugyfelszolgalat@tervezettbaba.hu címre és megírod benne a következőket:
- Melyik oldalon jártál az előbb?
- Mit csináltál, amitől erre a hiba oldalra jutottál?
- Az oldal címe, ahol most vagy. (A böngésződ címsorában találod meg a címet, úgy kezdődik, hogy tervezettbaba.hu/ - minket leginkább az ezután következő rész érdekel)
- A hiba oka:
Exception
lithium\template\TemplateException (code 500)Template not found at path `/var/www/tervezettbaba.hu/web/views/elements/expert_sig-.html.php`.Source
Stack Trace
-
[exception]
/var/www/tervezettbaba.hu/web/libraries/lithium/template/view/adapter/File.php: 181
176 if (!file_exists($path = String::insert($path, $params))) { 177 continue; 178 } 179 return $path; 180 } 181 throw new TemplateException("Template not found at path `{$path}`."); 182 } 183} 184 185
-
lithium\template\view\adapter\File::template()
/var/www/tervezettbaba.hu/web/libraries/lithium/template/view/adapter/File.php: 130
125 * @return string 126 */ 127 public function template($type, array $params) { 128 $library = Libraries::get(isset($params['library']) ? $params['library'] : true); 129 $params['library'] = $library['path']; 130 $path = $this->_paths($type, $params); 131 132 if ($this->_compile) { 133 $compiler = $this->_classes['compiler']; 134 $path = $compiler::template($path, $this->_config['compiler']); 135 }
-
lithium\template\View::lithium\template\{closure}() @ ?
/var/www/tervezettbaba.hu/web/libraries/lithium/template/View.php: 392
387 'loader' => $_loader, 388 'renderer' => $_renderer 389 ); 390 391 $filter = function($self, $params) { 392 $template = $params['loader']->template($params['step']['path'], $params['params']); 393 return $params['renderer']->render($template, $params['data'], $params['options']); 394 }; 395 $result = $this->_filter(__METHOD__, $params, $filter); 396 397 if (is_array($step['capture'])) {
-
lithium\core\Object::_filter()
/var/www/tervezettbaba.hu/web/libraries/lithium/core/Object.php: 258
253 */ 254 protected function _filter($method, $params, $callback, $filters = array()) { 255 list($class, $method) = explode('::', $method); 256 257 if (empty($this->_methodFilters[$method]) && empty($filters)) { 258 return $callback($this, $params, null); 259 } 260 261 $f = isset($this->_methodFilters[$method]) ? $this->_methodFilters[$method] : array(); 262 $data = array_merge($f, $filters, array($callback)); 263 return Filters::run($this, $params, compact('data', 'class', 'method'));
-
lithium\template\View::_step()
/var/www/tervezettbaba.hu/web/libraries/lithium/template/View.php: 395
390 391 $filter = function($self, $params) { 392 $template = $params['loader']->template($params['step']['path'], $params['params']); 393 return $params['renderer']->render($template, $params['data'], $params['options']); 394 }; 395 $result = $this->_filter(__METHOD__, $params, $filter); 396 397 if (is_array($step['capture'])) { 398 switch (key($step['capture'])) { 399 case 'context': 400 $options['context'][current($step['capture'])] = $result;
-
lithium\template\View::render()
/var/www/tervezettbaba.hu/web/libraries/lithium/template/View.php: 328
323 $params[$name] = $value; 324 $result = $this->_step($step, $params, $data, $options); 325 } 326 continue; 327 } 328 $result = $this->_step((array) $step, $params, $data, $options); 329 } 330 return $result; 331 } 332 333 /**
-
lithium\template\view\Renderer::_render()
/var/www/tervezettbaba.hu/web/libraries/lithium/template/view/Renderer.php: 510
505 * @param array $options Any options accepted by `template\View::render()`. 506 * @return string Returns a the rendered template content as a string. 507 */ 508 protected function _render($type, $template, array $data = array(), array $options = array()) { 509 $options += $this->_options; 510 return $this->_view->render($type, $data + $this->_data, compact('template') + $options); 511 } 512} 513 514
-
include
/var/www/tervezettbaba.hu/web/resources/tmp/cache/templates/template_views_tickets_view.html_523133375_1651042290_2247.php: 42
37 $ans=preg_replace ('/[\n\r]+/' , "<br />", $ans); 38 echo $ans; //htmlspecialchars kiszedve la 39 if(false===strpos($ticket->ans4public, $expert->fullname) && (empty($expert->altname) || false===strpos($ticket->ans4public, $expert->altname))) // in case the signature (fullname) is also in the db, do not write it twice. 40 { 41 //print_r(strpos($ticket->que4public, $expert->fullname)); 42 echo $this->_render('element',"expert_sig-{$expert->code}"); 43 //echo "\n<!-- $ticket->que4public -->\n<!-- $expert->fullname -->\n"; 44 } 45 46 47 </p>
-
lithium\template\view\adapter\File::render()
/var/www/tervezettbaba.hu/web/libraries/lithium/template/view/adapter/File.php: 116
111 } elseif ($this->_view) { 112 extract((array) $this->_view->outputFilters, EXTR_OVERWRITE); 113 } 114 115 ob_start(); 116 include $template__; 117 return ob_get_clean(); 118 } 119 120 /** 121 * Returns a template file name
-
lithium\template\View::lithium\template\{closure}() @ ?
/var/www/tervezettbaba.hu/web/libraries/lithium/template/View.php: 393
388 'renderer' => $_renderer 389 ); 390 391 $filter = function($self, $params) { 392 $template = $params['loader']->template($params['step']['path'], $params['params']); 393 return $params['renderer']->render($template, $params['data'], $params['options']); 394 }; 395 $result = $this->_filter(__METHOD__, $params, $filter); 396 397 if (is_array($step['capture'])) { 398 switch (key($step['capture'])) {
-
lithium\core\Object::_filter()
/var/www/tervezettbaba.hu/web/libraries/lithium/core/Object.php: 258
253 */ 254 protected function _filter($method, $params, $callback, $filters = array()) { 255 list($class, $method) = explode('::', $method); 256 257 if (empty($this->_methodFilters[$method]) && empty($filters)) { 258 return $callback($this, $params, null); 259 } 260 261 $f = isset($this->_methodFilters[$method]) ? $this->_methodFilters[$method] : array(); 262 $data = array_merge($f, $filters, array($callback)); 263 return Filters::run($this, $params, compact('data', 'class', 'method'));
-
lithium\template\View::_step()
/var/www/tervezettbaba.hu/web/libraries/lithium/template/View.php: 395
390 391 $filter = function($self, $params) { 392 $template = $params['loader']->template($params['step']['path'], $params['params']); 393 return $params['renderer']->render($template, $params['data'], $params['options']); 394 }; 395 $result = $this->_filter(__METHOD__, $params, $filter); 396 397 if (is_array($step['capture'])) { 398 switch (key($step['capture'])) { 399 case 'context': 400 $options['context'][current($step['capture'])] = $result;
-
lithium\template\View::render()
/var/www/tervezettbaba.hu/web/libraries/lithium/template/View.php: 328
323 $params[$name] = $value; 324 $result = $this->_step($step, $params, $data, $options); 325 } 326 continue; 327 } 328 $result = $this->_step((array) $step, $params, $data, $options); 329 } 330 return $result; 331 } 332 333 /**
-
lithium\net\http\Media::lithium\net\http\{closure}() @ ?
/var/www/tervezettbaba.hu/web/libraries/lithium/net/http/Media.php: 768
763 case ($handler['template'] === false) && is_string($data): 764 return $data; 765 case $handler['view']: 766 unset($options['view']); 767 $instance = $self::view($handler, $data, $response, $options); 768 return $instance->render('all', (array) $data, $options); 769 default: 770 throw new MediaException("Could not interpret type settings for handler."); 771 } 772 }); 773 }
-
lithium\core\StaticObject::_filter()
/var/www/tervezettbaba.hu/web/libraries/lithium/core/StaticObject.php: 139
134 protected static function _filter($method, $params, $callback, $filters = array()) { 135 $class = get_called_class(); 136 $hasNoFilters = empty(static::$_methodFilters[$class][$method]); 137 138 if ($hasNoFilters && !$filters && !Filters::hasApplied($class, $method)) { 139 return $callback($class, $params, null); 140 } 141 if (!isset(static::$_methodFilters[$class][$method])) { 142 static::$_methodFilters += array($class => array()); 143 static::$_methodFilters[$class][$method] = array(); 144 }
-
lithium\net\http\Media::_handle()
/var/www/tervezettbaba.hu/web/libraries/lithium/net/http/Media.php: 772
767 $instance = $self::view($handler, $data, $response, $options); 768 return $instance->render('all', (array) $data, $options); 769 default: 770 throw new MediaException("Could not interpret type settings for handler."); 771 } 772 }); 773 } 774 775 /** 776 * Helper method for listing registered media types. Returns all types, or a single 777 * content type if a specific type is specified.
-
lithium\core\StaticObject::invokeMethod()
/var/www/tervezettbaba.hu/web/libraries/lithium/core/StaticObject.php: 84
79 case 1: 80 return static::$method($params[0]); 81 case 2: 82 return static::$method($params[0], $params[1]); 83 case 3: 84 return static::$method($params[0], $params[1], $params[2]); 85 case 4: 86 return static::$method($params[0], $params[1], $params[2], $params[3]); 87 case 5: 88 return static::$method($params[0], $params[1], $params[2], $params[3], $params[4]); 89 default:
-
lithium\net\http\Media::render()::{closure} @ 609
/var/www/tervezettbaba.hu/web/libraries/lithium/net/http/Media.php: 617
612 if (isset($types[$type])) { 613 $header = current((array) $types[$type]); 614 $header .= $response->encoding ? "; charset={$response->encoding}" : ''; 615 $response->headers('Content-Type', $header); 616 } 617 $response->body($self::invokeMethod('_handle', array($handler, $data, $response))); 618 619 return $response; 620 }); 621 } 622
-
lithium\core\StaticObject::_filter()
/var/www/tervezettbaba.hu/web/libraries/lithium/core/StaticObject.php: 139
134 protected static function _filter($method, $params, $callback, $filters = array()) { 135 $class = get_called_class(); 136 $hasNoFilters = empty(static::$_methodFilters[$class][$method]); 137 138 if ($hasNoFilters && !$filters && !Filters::hasApplied($class, $method)) { 139 return $callback($class, $params, null); 140 } 141 if (!isset(static::$_methodFilters[$class][$method])) { 142 static::$_methodFilters += array($class => array()); 143 static::$_methodFilters[$class][$method] = array(); 144 }
-
lithium\net\http\Media::render()
/var/www/tervezettbaba.hu/web/libraries/lithium/net/http/Media.php: 620
615 $response->headers('Content-Type', $header); 616 } 617 $response->body($self::invokeMethod('_handle', array($handler, $data, $response))); 618 619 return $response; 620 }); 621 } 622 623 /** 624 * Configures a template object instance, based on a media handler configuration. 625 *
-
lithium\action\Controller::render()
/var/www/tervezettbaba.hu/web/libraries/lithium/action/Controller.php: 269
264 if ($options['head']) { 265 return; 266 } 267 $response = $media::render($this->response, $this->_render['data'], $options + array( 268 'request' => $this->request 269 )); 270 return ($this->response = $response ?: $this->response); 271 } 272 273 /** 274 * Creates a redirect response by calling `render()` and providing a `'location'` parameter.
-
app\controllers\TicketsController::index()
/var/www/tervezettbaba.hu/web/controllers/TicketsController.php: 198
193 194 //Logger::notice(__FILE__." ".__LINE__." ".__FUNCTION__."() ticket: ". print_r($ticket, 1)); 195 //Logger::notice(__FILE__." ".__LINE__." ".__FUNCTION__."() expert: ". print_r($expert, 1)); 196 $data=compact('ticket', 'new_ticket', 'latestTopics', 'expert', 'title', 'h1title'); 197 $template='view'; 198 return $this->render(compact('template', 'data')); 199 } 200 201 ///////////////////////////////////////////////////////////////////////////////////////////////// 202 203 // megnezzuk, hogy egy cikk-e, pl. gyakori-kerdesek
-
lithium\core\Object::invokeMethod()
/var/www/tervezettbaba.hu/web/libraries/lithium/core/Object.php: 174
169 * @return mixed Returns the result of the method call 170 */ 171 public function invokeMethod($method, $params = array()) { 172 switch (count($params)) { 173 case 0: 174 return $this->{$method}(); 175 case 1: 176 return $this->{$method}($params[0]); 177 case 2: 178 return $this->{$method}($params[0], $params[1]); 179 case 3:
-
lithium\action\Controller::__invoke()::{closure} @ 170
/var/www/tervezettbaba.hu/web/libraries/lithium/action/Controller.php: 185
180 if (!method_exists($self, $action)) { 181 throw new DispatchException("Action `{$action}` not found."); 182 } 183 $render['template'] = $render['template'] ?: $action; 184 185 if ($result = $self->invokeMethod($action, $args)) { 186 if (is_string($result)) { 187 $self->render(array('text' => $result)); 188 return $self->response; 189 } 190 if (is_array($result)) {
-
lithium\core\Object::_filter()
/var/www/tervezettbaba.hu/web/libraries/lithium/core/Object.php: 258
253 */ 254 protected function _filter($method, $params, $callback, $filters = array()) { 255 list($class, $method) = explode('::', $method); 256 257 if (empty($this->_methodFilters[$method]) && empty($filters)) { 258 return $callback($this, $params, null); 259 } 260 261 $f = isset($this->_methodFilters[$method]) ? $this->_methodFilters[$method] : array(); 262 $data = array_merge($f, $filters, array($callback)); 263 return Filters::run($this, $params, compact('data', 'class', 'method'));
-
lithium\action\Controller::__invoke()
/var/www/tervezettbaba.hu/web/libraries/lithium/action/Controller.php: 199
194 195 if (!$render['hasRendered'] && $render['auto']) { 196 $self->render(); 197 } 198 return $self->response; 199 }); 200 } 201 202 /** 203 * This method is used to pass along any data from the controller to the view and layout 204 *
-
lithium\action\Dispatcher::lithium\action\{closure}() @ ?
/var/www/tervezettbaba.hu/web/libraries/lithium/action/Dispatcher.php: 262
257 */ 258 protected static function _call($callable, $request, $params) { 259 $params = compact('callable', 'request', 'params'); 260 return static::_filter(__FUNCTION__, $params, function($self, $params) { 261 if (is_callable($callable = $params['callable'])) { 262 return $callable($params['request'], $params['params']); 263 } 264 throw new DispatchException('Result not callable.'); 265 }); 266 } 267}
-
lithium\util\collection\Filters::next()
/var/www/tervezettbaba.hu/web/libraries/lithium/util/collection/Filters.php: 202
197 public function next($self, $params, $chain) { 198 if (empty($self) || empty($chain)) { 199 return parent::next(); 200 } 201 $next = parent::next(); 202 return $next($self, $params, $chain); 203 } 204 205 /** 206 * Gets the method name associated with this filter chain. This is the method being filtered. 207 *
-
/var/www/tervezettbaba.hu/web/config/bootstrap/session.php::{closure} @ 154
/var/www/tervezettbaba.hu/web/config/bootstrap/session.php: 169
164 if (is_array($role)) { 165 $options = $role; 166 $role = $options[0]; 167 } 168 if (array_intersect(array_keys($roles), explode('|', $role))) { 169 return $chain->next($self, $params, $chain); 170 } elseif (isset($options['redirect'])) { 171 preg_match($regexp, strtolower($options['redirect']), $matches); 172 $redirect = [ 173 'library' => $matches['library'], 174 'controller' => $matches['controller'],
-
lithium\util\collection\Filters::run()
/var/www/tervezettbaba.hu/web/libraries/lithium/util/collection/Filters.php: 183
178 } 179 } 180 181 $chain = new Filters($options); 182 $next = $chain->rewind(); 183 return $next($class, $params, $chain); 184 } 185 186 /** 187 * Provides short-hand convenience syntax for filter chaining. 188 *
-
lithium\core\StaticObject::_filter()
/var/www/tervezettbaba.hu/web/libraries/lithium/core/StaticObject.php: 146
141 if (!isset(static::$_methodFilters[$class][$method])) { 142 static::$_methodFilters += array($class => array()); 143 static::$_methodFilters[$class][$method] = array(); 144 } 145 $data = array_merge(static::$_methodFilters[$class][$method], $filters, array($callback)); 146 return Filters::run($class, $params, compact('data', 'class', 'method')); 147 } 148 149 /** 150 * Gets and caches an array of the parent methods of a class. 151 *
-
lithium\action\Dispatcher::_call()
/var/www/tervezettbaba.hu/web/libraries/lithium/action/Dispatcher.php: 265
260 return static::_filter(__FUNCTION__, $params, function($self, $params) { 261 if (is_callable($callable = $params['callable'])) { 262 return $callable($params['request'], $params['params']); 263 } 264 throw new DispatchException('Result not callable.'); 265 }); 266 } 267} 268 269
-
lithium\core\StaticObject::invokeMethod()
/var/www/tervezettbaba.hu/web/libraries/lithium/core/StaticObject.php: 84
79 case 1: 80 return static::$method($params[0]); 81 case 2: 82 return static::$method($params[0], $params[1]); 83 case 3: 84 return static::$method($params[0], $params[1], $params[2]); 85 case 4: 86 return static::$method($params[0], $params[1], $params[2], $params[3]); 87 case 5: 88 return static::$method($params[0], $params[1], $params[2], $params[3], $params[4]); 89 default:
-
lithium\action\Dispatcher::run()::{closure} @ 141
/var/www/tervezettbaba.hu/web/libraries/lithium/action/Dispatcher.php: 154
149 150 if (!$params) { 151 throw new DispatchException('Could not route request.'); 152 } 153 $callable = $self::invokeMethod('_callable', array($result, $params, $options)); 154 return $self::invokeMethod('_call', array($callable, $result, $params)); 155 }); 156 } 157 158 /** 159 * Attempts to apply a set of formatting rules from `$_rules` to a `$params` array, where each
-
lithium\util\collection\Filters::next()
/var/www/tervezettbaba.hu/web/libraries/lithium/util/collection/Filters.php: 202
197 public function next($self, $params, $chain) { 198 if (empty($self) || empty($chain)) { 199 return parent::next(); 200 } 201 $next = parent::next(); 202 return $next($self, $params, $chain); 203 } 204 205 /** 206 * Gets the method name associated with this filter chain. This is the method being filtered. 207 *
-
/var/www/tervezettbaba.hu/web/config/bootstrap/action.php::{closure} @ 45
/var/www/tervezettbaba.hu/web/config/bootstrap/action.php: 63
58 continue; 59 } 60 $file = "{$config['path']}/config/routes.php"; 61 file_exists($file) ? include $file : null; 62 } 63 return $chain->next($self, $params, $chain); 64 }); 65 66 Environment::is(function($request) { 67 $env = $request->env('env'); 68 return $env ? $env : 'development';
-
lithium\util\collection\Filters::next()
/var/www/tervezettbaba.hu/web/libraries/lithium/util/collection/Filters.php: 202
197 public function next($self, $params, $chain) { 198 if (empty($self) || empty($chain)) { 199 return parent::next(); 200 } 201 $next = parent::next(); 202 return $next($self, $params, $chain); 203 } 204 205 /** 206 * Gets the method name associated with this filter chain. This is the method being filtered. 207 *
-
/var/www/tervezettbaba.hu/web/config/bootstrap/cache.php::{closure} @ 47
/var/www/tervezettbaba.hu/web/config/bootstrap/cache.php: 54
49 50 if ($cache = Cache::read('default', $key)) { 51 $cache = (array) $cache + Libraries::cache(); 52 Libraries::cache($cache); 53 } 54 $result = $chain->next($self, $params, $chain); 55 56 if ($cache != Libraries::cache()) { 57 Cache::write('default', $key, Libraries::cache(), '+1 day'); 58 } 59 return $result;
-
lithium\util\collection\Filters::next()
/var/www/tervezettbaba.hu/web/libraries/lithium/util/collection/Filters.php: 202
197 public function next($self, $params, $chain) { 198 if (empty($self) || empty($chain)) { 199 return parent::next(); 200 } 201 $next = parent::next(); 202 return $next($self, $params, $chain); 203 } 204 205 /** 206 * Gets the method name associated with this filter chain. This is the method being filtered. 207 *
-
lithium\core\ErrorHandler::apply()::{closure} @ 264
/var/www/tervezettbaba.hu/web/libraries/lithium/core/ErrorHandler.php: 266
261 $wrap = static::$_exceptionHandler; 262 $_self = get_called_class(); 263 264 $filter = function($self, $params, $chain) use ($_self, $conditions, $handler, $wrap) { 265 try { 266 return $chain->next($self, $params, $chain); 267 } catch (Exception $e) { 268 if (!$_self::matches($e, $conditions)) { 269 throw $e; 270 } 271 return $handler($wrap($e, true), $params);
-
lithium\util\collection\Filters::run()
/var/www/tervezettbaba.hu/web/libraries/lithium/util/collection/Filters.php: 183
178 } 179 } 180 181 $chain = new Filters($options); 182 $next = $chain->rewind(); 183 return $next($class, $params, $chain); 184 } 185 186 /** 187 * Provides short-hand convenience syntax for filter chaining. 188 *
-
lithium\core\StaticObject::_filter()
/var/www/tervezettbaba.hu/web/libraries/lithium/core/StaticObject.php: 146
141 if (!isset(static::$_methodFilters[$class][$method])) { 142 static::$_methodFilters += array($class => array()); 143 static::$_methodFilters[$class][$method] = array(); 144 } 145 $data = array_merge(static::$_methodFilters[$class][$method], $filters, array($callback)); 146 return Filters::run($class, $params, compact('data', 'class', 'method')); 147 } 148 149 /** 150 * Gets and caches an array of the parent methods of a class. 151 *
-
lithium\action\Dispatcher::run()
/var/www/tervezettbaba.hu/web/libraries/lithium/action/Dispatcher.php: 155
150 if (!$params) { 151 throw new DispatchException('Could not route request.'); 152 } 153 $callable = $self::invokeMethod('_callable', array($result, $params, $options)); 154 return $self::invokeMethod('_call', array($callable, $result, $params)); 155 }); 156 } 157 158 /** 159 * Attempts to apply a set of formatting rules from `$_rules` to a `$params` array, where each 160 * formatting rule is applied if the key of the rule in `$_rules` is present and not empty in
-
[main]
/var/www/tervezettbaba.hu/web/webroot/index.php: 43
38 * @see lithium\action\Response 39 * @see lithium\action\Dispatcher 40 * @see lithium\net\http\Router 41 * @see lithium\action\Controller 42 */ 43 echo lithium\action\Dispatcher::run(new lithium\action\Request()); 44 45
-
[exception]