Fuel\Core\PhpErrorException [ Notice ]:
Trying to get property 'bezeichnung1' of non-object
26 <?php if (!empty($produkt->shop_url) && ($lang_segment === 'de')) : ?> 27 <li><a target="_blank" href="<?php echo $produkt->shop_url; ?>"><img src="/images/layout/icon-shopping-cart.svg" data-original-src="/images/layout/icon-shopping-cart.svg"> 28 <div><?php echo Lang::get('frontend.shopping'); ?></div> 29 </a></li> 30 <?php endif; ?> 31 <li><a href="<?php echo '/' . $lang_segment . ($lang_segment === 'de' ? '/produkte/produktanfrage/index.html' : '/products/product-inquiry/index.html' ) . '?product=' . urlencode($produkt->bezeichnung1); ?>"><img src="/images/layout/icon-message.svg" data-original-src="/images/layout/icon-message.svg"> 32 <div><?php echo Lang::get('frontend.inquiry'); ?></div> 33 </a></li> 34 <?php if (!empty($blatt)) : ?> 35 <li><a target="_blank" class="data-sheet" href="<?php echo $docdir . $blatt->datei; ?>"><img src="/images/layout/icon-download.svg" data-original-src="/images/layout/icon-download.svg"> 36 <div><?php echo Lang::get('frontend.spreadsheet'); ?></div>
107 include COREPATH.'classes/errorhandler.php'; 108 class_alias('\Fuel\Core\Errorhandler', 'Errorhandler'); 109 class_alias('\Fuel\Core\PhpErrorException', 'PhpErrorException'); 110 } 111 112 return \Errorhandler::error_handler($severity, $message, $filepath, $line); 113}); 114 115function setup_autoloader() 116{ 117 \Autoloader::add_namespace('Fuel\\Core', COREPATH.'classes/');
26 <?php if (!empty($produkt->shop_url) && ($lang_segment === 'de')) : ?> 27 <li><a target="_blank" href="<?php echo $produkt->shop_url; ?>"><img src="/images/layout/icon-shopping-cart.svg" data-original-src="/images/layout/icon-shopping-cart.svg"> 28 <div><?php echo Lang::get('frontend.shopping'); ?></div> 29 </a></li> 30 <?php endif; ?> 31 <li><a href="<?php echo '/' . $lang_segment . ($lang_segment === 'de' ? '/produkte/produktanfrage/index.html' : '/products/product-inquiry/index.html' ) . '?product=' . urlencode($produkt->bezeichnung1); ?>"><img src="/images/layout/icon-message.svg" data-original-src="/images/layout/icon-message.svg"> 32 <div><?php echo Lang::get('frontend.inquiry'); ?></div> 33 </a></li> 34 <?php if (!empty($blatt)) : ?> 35 <li><a target="_blank" class="data-sheet" href="<?php echo $docdir . $blatt->datei; ?>"><img src="/images/layout/icon-download.svg" data-original-src="/images/layout/icon-download.svg"> 36 <div><?php echo Lang::get('frontend.spreadsheet'); ?></div>
253 ob_start(); 254 255 try 256 { 257 // Load the view within the current scope 258 include $__file_name; 259 } 260 catch (\Exception $e) 261 { 262 // Delete the output buffer 263 ob_end_clean();
269 // Get the captured output and close the buffer 270 return ob_get_clean(); 271 }; 272 273 // import and process the view file 274 $result = $clean_room($file_override ?: $this->file_name, $data = $this->get_data()); 275 276 // disable sanitization on objects that support it 277 $this->unsanitize($data); 278 279 // return the result
675 { 676 throw new \FuelException('You must set the file to use within your view before rendering'); 677 } 678 679 // combine local and global data and capture the output 680 $return = $this->process_file(); 681 682 // restore the current language setting 683 $this->active_language and \Config::set('language', $current_language); 684 685 // and the active request class
222 */ 223 public function __toString() 224 { 225 try 226 { 227 return $this->render(); 228 } 229 catch (\Exception $e) 230 { 231 \Errorhandler::exception_handler($e); 232
0 1 <?php echo $content; ?>
253 ob_start(); 254 255 try 256 { 257 // Load the view within the current scope 258 include $__file_name; 259 } 260 catch (\Exception $e) 261 { 262 // Delete the output buffer 263 ob_end_clean();
269 // Get the captured output and close the buffer 270 return ob_get_clean(); 271 }; 272 273 // import and process the view file 274 $result = $clean_room($file_override ?: $this->file_name, $data = $this->get_data()); 275 276 // disable sanitization on objects that support it 277 $this->unsanitize($data); 278 279 // return the result
675 { 676 throw new \FuelException('You must set the file to use within your view before rendering'); 677 } 678 679 // combine local and global data and capture the output 680 $return = $this->process_file(); 681 682 // restore the current language setting 683 $this->active_language and \Config::set('language', $current_language); 684 685 // and the active request class
222 */ 223 public function __toString() 224 { 225 try 226 { 227 return $this->render(); 228 } 229 catch (\Exception $e) 230 { 231 \Errorhandler::exception_handler($e); 232
377 * 378 * @return string 379 */ 380 public function __toString() 381 { 382 return (string) $this->body; 383 } 384}
108 $response = $routerequest('_500_', $e); 109} 110 111// This will add the execution time and memory usage to the output. 112// Comment this out if you don't use it. 113$response->body((string) $response); 114if (strpos($response->body(), '{exec_time}') !== false or strpos($response->body(), '{mem_usage}') !== false) 115{ 116 $bm = Profiler::app_total(); 117 $response->body( 118 str_replace(
0 1<?php 2 3$old_cwd = getcwd(); 4chdir(__DIR__); 5include('index.php'); 6chdir($old_cwd);
48 { 49 $app_path = LYCMS_CONTENT_ROOT.'/'.$this->_application['script']; 50 $app_working_directory = dirname($app_path); 51 if (file_exists($app_path)) 52 { 53 include_once($app_path); 54 } 55 else 56 { 57 error_log(__METHOD__.__LINE__.': App does not exist for path: ' . $app_path); 58 }
196 } 197 198 return static::saveCachedConent($app->render($template), $application, $signature, $template_id, true); 199 } 200 201 return $app->render($template); 202 } 203 204 return false; 205 } 206 }
32 { 33 return parent::getContents(); 34 } 35 else 36 { 37 return Application_Controller::getContent($this->structure->get('path'), $this->structure, $this->addDateHeader, $this->noPathTranslation); 38 } 39 } 40}
2 3class Lynet_Cms_Content_Adapter_Application extends Lynet_Cms_Content_Adapter_Virtual 4{ 5 public function render() 6 { 7 if(($output = $this->getContents(false)) != false) 8 { 9 $html = true; 10 11 foreach(headers_list() as $header) 12 {
515 516 $content = $structureNode->getContent(); 517 $content->setNoPathTranslation($noPathTranslation); 518 $content->setAddDateHeader($add_date_header); 519 $content->setNoErrorPage($no_error_page); 520 return $content->render(); 521 // Bei Links werden ausschließlich leere Seiten produziert; der Redirect auf den korrekten Link erfolgt per HTTP-Header 522 if ($structure['type'] == 'link') 523 { 524 return null; 525 }
189 exit; 190 } 191 else 192 { 193 // Dokument anfordern 194 $content = lycms_output_get_content_by_path($document_args, TRUE, TRUE); 195 $structure = lycms_structure_get_id_by_path($document); 196 197 // Kein Inhalt gefunden / vorhanden? 198 if ($content === false) 199 {