/home/msvitcou/public_html/BackupHeroes/craft/plugins/imager/models/Imager_ImagePathsModel.php(267)
255 $httpStatus = intval(curl_getinfo($ch, CURLINFO_HTTP_CODE)); 256 curl_close($ch); 257 fclose($fp); 258 259 if ($curlErrorNo !== 0) { 260 unlink($destinationPath); 261 $msg = Craft::t('cURL error “{curlErrorNo}” encountered while attempting to download “{imageUrl}”. The error was: “{curlError}”', array('imageUrl' => $imageUrl, 'curlErrorNo' => $curlErrorNo, 'curlError' => $curlError)); 262 263 if (craft()->imager->getSetting('suppressExceptions')===true) { 264 ImagerPlugin::log($msg, LogLevel::Error); 265 return null; 266 } else { 267 throw new Exception($msg); 268 } 269 } 270 271 if ($httpStatus !== 200) { 272 if (!($httpStatus == 404 && strrpos(mime_content_type($destinationPath), 'image') !== false)) { // remote server returned a 404, but the contents was a valid image file 273 unlink($destinationPath); 274 $msg = Craft::t('HTTP status “{httpStatus}” encountered while attempting to download “{imageUrl}”', array('imageUrl' => $imageUrl, 'httpStatus' => $httpStatus)); 275 276 if (craft()->imager->getSetting('suppressExceptions')===true) { 277 ImagerPlugin::log($msg, LogLevel::Error); 278 return null; 279 } else {
#0 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/plugins/imager/models/Imager_ImagePathsModel.php(205): Craft\Imager_ImagePathsModel->_downloadFile("/home/msvitcou/public_html/BackupHeroes/craft/storage/runtime/im...", "https://backupheroes.co.uk/uploads/icons/BUH_Blog_BlogPageBanner...") 200 201 // check if the file is already downloaded 202 if (!IOHelper::fileExists($this->sourcePath . $this->sourceFilename) || 203 ((craft()->imager->getSetting('cacheDurationRemoteFiles') !== false) && (IOHelper::getLastTimeModified($this->sourcePath . $this->sourceFilename)->format('U') + craft()->imager->getSetting('cacheDurationRemoteFiles') < time())) 204 ) { 205 $this->_downloadFile($this->sourcePath . $this->sourceFilename, $image); 206 207 if (!IOHelper::fileExists($this->sourcePath . $this->sourceFilename)) { 208 $msg = Craft::t('File could not be downloaded and saved to “{sourcePath}”', array('sourcePath' => $this->sourcePath)); 209 210 if (craft()->imager->getSetting('suppressExceptions')===true) { |
#1 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/plugins/imager/models/Imager_ImagePathsModel.php(36): Craft\Imager_ImagePathsModel->_getPathsForUrl("https://backupheroes.co.uk/uploads/icons/BUH_Blog_BlogPageBanner...") 31 if (strncmp($image, 'http', 4) === 0 || strncmp($image, 'https', 5) === 0 || strncmp($image, '//', 2) === 0) { // external file 32 $this->isRemote = true; 33 if (strncmp($image, '//', 2) === 0) { 34 $image = 'https:' . $image; 35 } 36 $this->_getPathsForUrl($image); 37 } else { // relative path, assume that it's relative to document root 38 $this->_getPathsForLocaleFile($image); 39 } 40 } 41 |
#2 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/plugins/imager/services/ImagerService.php(263): Craft\Imager_ImagePathsModel->__construct("https://backupheroes.co.uk/uploads/icons/BUH_Blog_BlogPageBanner...") 258 259 return $r; 260 } 261 262 // get pathsmodel for image 263 $pathsModel = new Imager_ImagePathsModel($image); 264 265 // create imagine instance 266 $this->imagineInstance = $this->_createImagineInstance(); 267 268 /** |
#3 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/plugins/imager/variables/ImagerVariable.php(26): Craft\ImagerService->transformImage("https://backupheroes.co.uk/uploads/icons/BUH_Blog_BlogPageBanner...", array("width" => 1000, "height" => 300, "mode" => "crop", "position" => "50% 50%"), null, null) 21 * @param $configOverrides 22 * @return mixed 23 */ 24 public function transformImage($file, $transform, $transformDefaults = null, $configOverrides = null) 25 { 26 $image = craft()->imager->transformImage($file, $transform, $transformDefaults, $configOverrides); 27 return $image; 28 } 29 30 /** 31 * Takes an array of Imager_ImageModel (or anything else that supports getUrl() and getWidth()) |
#4 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/vendor/twig/twig/lib/Twig/Template.php(688): Craft\ImagerVariable->transformImage("https://backupheroes.co.uk/uploads/icons/BUH_Blog_BlogPageBanner...", array("width" => 1000, "height" => 300, "mode" => "crop", "position" => "50% 50%")) 683 // to call is not supported. If ignoreStrictCheck is true, we should return null. 684 try { 685 if (!$arguments) { 686 $ret = $object->$method(); 687 } else { 688 $ret = call_user_func_array(array($object, $method), $arguments); 689 } 690 } catch (BadMethodCallException $e) { 691 if ($call && ($ignoreStrictCheck || !$this->env->isStrictVariables())) { 692 return; 693 } |
#5 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/etc/templating/BaseTemplate.php(64): Twig_Template->getAttribute(Craft\ImagerVariable, "transformImage", array("https://backupheroes.co.uk/uploads/icons/BUH_Blog_BlogPageBanner...", array("width" => 1000, "height" => 300, "mode" => "crop", "position" => "50% 50%")), "method", ...) 59 if (is_object($object) && $object instanceof BaseElementModel) 60 { 61 $this->_includeElementInTemplateCaches($object); 62 } 63 64 return parent::getAttribute($object, $item, $arguments, $type, $isDefinedTest, $ignoreStrictCheck); 65 } 66 67 // Private Methods 68 // ========================================================================= 69 |
#6 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/storage/runtime/compiled_templates/7c/7cc2079dd2d128500675425505d0481182f35f7fe40ddeef098fb367eef972ad.php(164): Craft\BaseTemplate->getAttribute(Craft\ImagerVariable, "transformImage", array("https://backupheroes.co.uk/uploads/icons/BUH_Blog_BlogPageBanner...", array("width" => 1000, "height" => 300, "mode" => "crop", "position" => "50% 50%")), "method") 159 // line 63 160 echo "\t\t\t\t\t\t\t\t<div class=\"fake-row margin-bottom-2x\"> 161 \t\t\t\t\t\t\t\t\t<div class=\"column medium-12\"> 162 \t\t\t\t\t\t\t\t\t\t<img src=\""; 163 // line 65 164 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["craft"] ?? $this->getContext($context, "craft")), "imager", array()), "transformImage", array(0 => $this->getAttribute(($context["heroObj"] ?? $this->getContext($context, "heroObj")), "url", array()), 1 => ($context["heroTransform"] ?? $this->getContext($context, "heroTransform"))), "method"), "html", null, true); 165 echo "\" alt=\""; 166 echo twig_escape_filter($this->env, $this->getAttribute(($context["heroObj"] ?? $this->getContext($context, "heroObj")), "title", array()), "html", null, true); 167 echo "\"> 168 \t\t\t\t\t\t\t\t\t</div> 169 \t\t\t\t\t\t\t\t</div> |
#7 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/vendor/twig/twig/lib/Twig/Template.php(215): __TwigTemplate_9bca697325159fcb881997fe07abe884614fae3f7e3aa5c9f012a60db46c3b32->block_content(array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("inlineCSS" => array(__TwigTemplate_a095bc340f05167546a515807e4a1643402db7b6cf874b94d5d1cf859467aae6, "block_inlineCSS"), "body" => array(__TwigTemplate_00921547640c72061257bbd09b4701f5411ea0063d12367b4a1f0838862d3a8d, "block_body"), "content" => array(__TwigTemplate_9bca697325159fcb881997fe07abe884614fae3f7e3aa5c9f012a60db46c3b32, "block_content"))) 210 throw new LogicException('A block must be a method on a Twig_Template instance.'); 211 } 212 213 if (null !== $template) { 214 try { 215 $template->$block($context, $blocks); 216 } catch (Twig_Error $e) { 217 if (!$e->getSourceContext()) { 218 $e->setSourceContext($template->getSourceContext()); 219 } 220 |
#8 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/storage/runtime/compiled_templates/cc/cc0e234aaa366cafd51f8c752fce439a735e013b662242bf28ca4740b8d1f41d.php(438): Twig_Template->displayBlock("content", array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("inlineCSS" => array(__TwigTemplate_a095bc340f05167546a515807e4a1643402db7b6cf874b94d5d1cf859467aae6, "block_inlineCSS"), "body" => array(__TwigTemplate_00921547640c72061257bbd09b4701f5411ea0063d12367b4a1f0838862d3a8d, "block_body"), "content" => array(__TwigTemplate_9bca697325159fcb881997fe07abe884614fae3f7e3aa5c9f012a60db46c3b32, "block_content"))) 433 echo $cacheBody2; 434 // line 197 435 echo " 436 \t"; 437 // line 198 438 $this->displayBlock('content', $context, $blocks); 439 // line 200 440 echo "\t 441 \t"; 442 // line 201 443 $cacheService = \Craft\craft()->templateCache; |
#9 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/vendor/twig/twig/lib/Twig/Template.php(215): __TwigTemplate_00921547640c72061257bbd09b4701f5411ea0063d12367b4a1f0838862d3a8d->block_body(array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("inlineCSS" => array(__TwigTemplate_a095bc340f05167546a515807e4a1643402db7b6cf874b94d5d1cf859467aae6, "block_inlineCSS"), "body" => array(__TwigTemplate_00921547640c72061257bbd09b4701f5411ea0063d12367b4a1f0838862d3a8d, "block_body"), "content" => array(__TwigTemplate_9bca697325159fcb881997fe07abe884614fae3f7e3aa5c9f012a60db46c3b32, "block_content"))) 210 throw new LogicException('A block must be a method on a Twig_Template instance.'); 211 } 212 213 if (null !== $template) { 214 try { 215 $template->$block($context, $blocks); 216 } catch (Twig_Error $e) { 217 if (!$e->getSourceContext()) { 218 $e->setSourceContext($template->getSourceContext()); 219 } 220 |
#10 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/storage/runtime/compiled_templates/94/944f8426da54aa687320d17f3f56425daa4c3ac14eec86b73580a208d8ef0df3.php(104): Twig_Template->displayBlock("body", array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("inlineCSS" => array(__TwigTemplate_a095bc340f05167546a515807e4a1643402db7b6cf874b94d5d1cf859467aae6, "block_inlineCSS"), "body" => array(__TwigTemplate_00921547640c72061257bbd09b4701f5411ea0063d12367b4a1f0838862d3a8d, "block_body"), "content" => array(__TwigTemplate_9bca697325159fcb881997fe07abe884614fae3f7e3aa5c9f012a60db46c3b32, "block_content"))) 099 \t\t\t<div class=\"js-section-container section-container\"> 100 \t\t\t</div> 101 102 \t\t\t"; 103 // line 56 104 $this->displayBlock('body', $context, $blocks); 105 // line 58 106 echo " 107 \t\t\t"; 108 // line 60 109 echo "\t <script src=\""; |
#11 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/vendor/twig/twig/lib/Twig/Template.php(432): __TwigTemplate_a095bc340f05167546a515807e4a1643402db7b6cf874b94d5d1cf859467aae6->doDisplay(array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("inlineCSS" => array(__TwigTemplate_a095bc340f05167546a515807e4a1643402db7b6cf874b94d5d1cf859467aae6, "block_inlineCSS"), "body" => array(__TwigTemplate_00921547640c72061257bbd09b4701f5411ea0063d12367b4a1f0838862d3a8d, "block_body"), "content" => array(__TwigTemplate_9bca697325159fcb881997fe07abe884614fae3f7e3aa5c9f012a60db46c3b32, "block_content"))) 427 } 428 429 protected function displayWithErrorHandling(array $context, array $blocks = array()) 430 { 431 try { 432 $this->doDisplay($context, $blocks); 433 } catch (Twig_Error $e) { 434 if (!$e->getSourceContext()) { 435 $e->setSourceContext($this->getSourceContext()); 436 } 437 |
#12 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/etc/templating/BaseTemplate.php(26): Twig_Template->displayWithErrorHandling(array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("inlineCSS" => array(__TwigTemplate_a095bc340f05167546a515807e4a1643402db7b6cf874b94d5d1cf859467aae6, "block_inlineCSS"), "body" => array(__TwigTemplate_00921547640c72061257bbd09b4701f5411ea0063d12367b4a1f0838862d3a8d, "block_body"), "content" => array(__TwigTemplate_9bca697325159fcb881997fe07abe884614fae3f7e3aa5c9f012a60db46c3b32, "block_content"))) 21 */ 22 protected function displayWithErrorHandling(array $context, array $blocks = array()) 23 { 24 try 25 { 26 parent::displayWithErrorHandling($context, $blocks); 27 } 28 catch (\Twig_Error_Runtime $e) 29 { 30 if (craft()->config->get('suppressTemplateErrors')) 31 { |
#13 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/vendor/twig/twig/lib/Twig/Template.php(403): Craft\BaseTemplate->displayWithErrorHandling(array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("inlineCSS" => array(__TwigTemplate_a095bc340f05167546a515807e4a1643402db7b6cf874b94d5d1cf859467aae6, "block_inlineCSS"), "body" => array(__TwigTemplate_00921547640c72061257bbd09b4701f5411ea0063d12367b4a1f0838862d3a8d, "block_body"), "content" => array(__TwigTemplate_9bca697325159fcb881997fe07abe884614fae3f7e3aa5c9f012a60db46c3b32, "block_content"))) 398 return $this->blocks; 399 } 400 401 public function display(array $context, array $blocks = array()) 402 { 403 $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks)); 404 } 405 406 public function render(array $context) 407 { 408 $level = ob_get_level(); |
#14 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/storage/runtime/compiled_templates/cc/cc0e234aaa366cafd51f8c752fce439a735e013b662242bf28ca4740b8d1f41d.php(28): Twig_Template->display(array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("body" => array(__TwigTemplate_00921547640c72061257bbd09b4701f5411ea0063d12367b4a1f0838862d3a8d, "block_body"), "content" => array(__TwigTemplate_9bca697325159fcb881997fe07abe884614fae3f7e3aa5c9f012a60db46c3b32, "block_content"))) 23 protected function doDisplay(array $context, array $blocks = array()) 24 { 25 // line 7 26 $context["macroHelpers"] = $this->loadTemplate("_macros/helpers", "_layout/global", 7); 27 // line 1 28 $this->parent->display($context, array_merge($this->blocks, $blocks)); 29 } 30 31 // line 17 32 public function block_body($context, array $blocks = array()) 33 { |
#15 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/vendor/twig/twig/lib/Twig/Template.php(432): __TwigTemplate_00921547640c72061257bbd09b4701f5411ea0063d12367b4a1f0838862d3a8d->doDisplay(array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("body" => array(__TwigTemplate_00921547640c72061257bbd09b4701f5411ea0063d12367b4a1f0838862d3a8d, "block_body"), "content" => array(__TwigTemplate_9bca697325159fcb881997fe07abe884614fae3f7e3aa5c9f012a60db46c3b32, "block_content"))) 427 } 428 429 protected function displayWithErrorHandling(array $context, array $blocks = array()) 430 { 431 try { 432 $this->doDisplay($context, $blocks); 433 } catch (Twig_Error $e) { 434 if (!$e->getSourceContext()) { 435 $e->setSourceContext($this->getSourceContext()); 436 } 437 |
#16 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/etc/templating/BaseTemplate.php(26): Twig_Template->displayWithErrorHandling(array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("body" => array(__TwigTemplate_00921547640c72061257bbd09b4701f5411ea0063d12367b4a1f0838862d3a8d, "block_body"), "content" => array(__TwigTemplate_9bca697325159fcb881997fe07abe884614fae3f7e3aa5c9f012a60db46c3b32, "block_content"))) 21 */ 22 protected function displayWithErrorHandling(array $context, array $blocks = array()) 23 { 24 try 25 { 26 parent::displayWithErrorHandling($context, $blocks); 27 } 28 catch (\Twig_Error_Runtime $e) 29 { 30 if (craft()->config->get('suppressTemplateErrors')) 31 { |
#17 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/vendor/twig/twig/lib/Twig/Template.php(403): Craft\BaseTemplate->displayWithErrorHandling(array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("body" => array(__TwigTemplate_00921547640c72061257bbd09b4701f5411ea0063d12367b4a1f0838862d3a8d, "block_body"), "content" => array(__TwigTemplate_9bca697325159fcb881997fe07abe884614fae3f7e3aa5c9f012a60db46c3b32, "block_content"))) 398 return $this->blocks; 399 } 400 401 public function display(array $context, array $blocks = array()) 402 { 403 $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks)); 404 } 405 406 public function render(array $context) 407 { 408 $level = ob_get_level(); |
#18 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/storage/runtime/compiled_templates/7c/7cc2079dd2d128500675425505d0481182f35f7fe40ddeef098fb367eef972ad.php(32): Twig_Template->display(array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("content" => array(__TwigTemplate_9bca697325159fcb881997fe07abe884614fae3f7e3aa5c9f012a60db46c3b32, "block_content"))) 27 $this->getAttribute($this->getAttribute(($context["craft"] ?? $this->getContext($context, "craft")), "sproutSeo", array()), "meta", array(0 => array("section" => ("entries:" . $this->getAttribute( // line 17 28 ($context["template"] ?? $this->getContext($context, "template")), "section", array())))), "method"); 29 // line 20 30 $context["parent"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["craft"] ?? $this->getContext($context, "craft")), "entries", array()), "slug", array(0 => $this->getAttribute($this->getAttribute(($context["craft"] ?? $this->getContext($context, "craft")), "request", array()), "getSegment", array(0 => 1), "method")), "method"), "first", array(), "method"); 31 // line 1 32 $this->parent->display($context, array_merge($this->blocks, $blocks)); 33 } 34 35 // line 26 36 public function block_content($context, array $blocks = array()) 37 { |
#19 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/vendor/twig/twig/lib/Twig/Template.php(432): __TwigTemplate_9bca697325159fcb881997fe07abe884614fae3f7e3aa5c9f012a60db46c3b32->doDisplay(array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("content" => array(__TwigTemplate_9bca697325159fcb881997fe07abe884614fae3f7e3aa5c9f012a60db46c3b32, "block_content"))) 427 } 428 429 protected function displayWithErrorHandling(array $context, array $blocks = array()) 430 { 431 try { 432 $this->doDisplay($context, $blocks); 433 } catch (Twig_Error $e) { 434 if (!$e->getSourceContext()) { 435 $e->setSourceContext($this->getSourceContext()); 436 } 437 |
#20 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/etc/templating/BaseTemplate.php(26): Twig_Template->displayWithErrorHandling(array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("content" => array(__TwigTemplate_9bca697325159fcb881997fe07abe884614fae3f7e3aa5c9f012a60db46c3b32, "block_content"))) 21 */ 22 protected function displayWithErrorHandling(array $context, array $blocks = array()) 23 { 24 try 25 { 26 parent::displayWithErrorHandling($context, $blocks); 27 } 28 catch (\Twig_Error_Runtime $e) 29 { 30 if (craft()->config->get('suppressTemplateErrors')) 31 { |
#21 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/vendor/twig/twig/lib/Twig/Template.php(403): Craft\BaseTemplate->displayWithErrorHandling(array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("content" => array(__TwigTemplate_9bca697325159fcb881997fe07abe884614fae3f7e3aa5c9f012a60db46c3b32, "block_content"))) 398 return $this->blocks; 399 } 400 401 public function display(array $context, array $blocks = array()) 402 { 403 $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks)); 404 } 405 406 public function render(array $context) 407 { 408 $level = ob_get_level(); |
#22 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/vendor/twig/twig/lib/Twig/Template.php(411): Twig_Template->display(array("entry" => Craft\EntryModel)) 406 public function render(array $context) 407 { 408 $level = ob_get_level(); 409 ob_start(); 410 try { 411 $this->display($context); 412 } catch (Exception $e) { 413 while (ob_get_level() > $level) { 414 ob_end_clean(); 415 } 416 |
#23 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/vendor/twig/twig/lib/Twig/Environment.php(363): Twig_Template->render(array("entry" => Craft\EntryModel)) 358 * @throws Twig_Error_Syntax When an error occurred during compilation 359 * @throws Twig_Error_Runtime When an error occurred during rendering 360 */ 361 public function render($name, array $context = array()) 362 { 363 return $this->loadTemplate($name)->render($context); 364 } 365 366 /** 367 * Displays a template. 368 * |
#24 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/services/TemplatesService.php(256): Twig_Environment->render("_page/_types/pageBlogEntry", array("entry" => Craft\EntryModel)) 251 $lastRenderingTemplate = $this->_renderingTemplate; 252 $this->_renderingTemplate = $template; 253 254 try 255 { 256 $result = $twig->render($template, $variables); 257 } 258 catch (\RuntimeException $e) 259 { 260 if (!craft()->config->get('devMode')) 261 { |
#25 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/controllers/BaseController.php(74): Craft\TemplatesService->render("_page/_types/pageBlogEntry", array("entry" => Craft\EntryModel)) 69 * @throws HttpException 70 * @return mixed The rendered template if $return is set to `true`. 71 */ 72 public function renderTemplate($template, $variables = array(), $return = false, $processOutput = false) 73 { 74 if (($output = craft()->templates->render($template, $variables)) !== false) 75 { 76 if ($processOutput) 77 { 78 $output = $this->processOutput($output); 79 } |
#26 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/controllers/TemplatesController.php(68): Craft\BaseController->renderTemplate("_page/_types/pageBlogEntry", array("entry" => Craft\EntryModel)) 63 public function actionRender($template, array $variables = array()) 64 { 65 // Does that template exist? 66 if (craft()->templates->doesTemplateExist($template)) 67 { 68 $this->renderTemplate($template, $variables); 69 } 70 else 71 { 72 throw new HttpException(404); 73 } |
#27 |
unknown(0): Craft\TemplatesController->actionRender("_page/_types/pageBlogEntry", array("entry" => Craft\EntryModel))
|
#28 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(Craft\TemplatesController, array("_page/_types/pageBlogEntry", array("entry" => Craft\EntryModel))) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#29 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(Craft\TemplatesController, ReflectionMethod, array("p" => "blog/common-myths-about-office-365-backup-and-recovery", "category" => "187", "variables" => array("entry" => Craft\EntryModel), "template" => "_page/_types/pageBlogEntry")) 42 { 43 $methodName='action'.$this->getId(); 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 49 $controller->$methodName(); 50 return true; 51 } 52 } |
#30 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/framework/web/CController.php(308): CInlineAction->runWithParams(array("p" => "blog/common-myths-about-office-365-backup-and-recovery", "category" => "187", "variables" => array("entry" => Craft\EntryModel), "template" => "_page/_types/pageBlogEntry")) 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#31 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/framework/web/CController.php(286): CController->runAction(CInlineAction) 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
#32 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array()) 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#33 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/framework/web/CWebApplication.php(282): CController->run("render") 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#34 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/framework/web/CWebApplication.php(141): CWebApplication->runController("templates/render") 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
#35 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/etc/web/WebApp.php(290): CWebApplication->processRequest() 285 286 // If this is an action request, call the controller 287 $this->_processActionRequest(); 288 289 // If we're still here, finally let UrlManager do it's thing. 290 parent::processRequest(); 291 } 292 293 /** 294 * Returns the target application language. 295 * |
#36 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/framework/base/CApplication.php(185): Craft\WebApp->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
#37 |
+
–
/home/msvitcou/public_html/BackupHeroes/craft/app/index.php(73): CApplication->run() 68 if ($lastError && strpos($lastError['message'], 'max_input_vars') !== false) 69 { 70 throw new \Craft\ErrorException($lastError['message']); 71 } 72 73 $app->run(); |
#38 |
+
–
/home/msvitcou/public_html/BackupHeroes/index.php(22): require_once("/home/msvitcou/public_html/BackupHeroes/craft/app/index.php") 17 } 18 19 exit('Could not find your craft/ folder. Please ensure that <strong><code>$craftPath</code></strong> is set correctly in '.__FILE__); 20 } 21 22 require_once $path; |