/home/roshankashmir/public_html/protected/extensions/wideimage/WideImage.php(226)
214 $custom_mappers = WideImage_MapperFactory::getCustomMappers(); 215 foreach ($custom_mappers as $mime_type => $mapper_class) 216 { 217 $mapper = WideImage_MapperFactory::selectMapper(null, $mime_type); 218 $handle = $mapper->loadFromString($data); 219 if (self::isValidImageHandle($handle)) 220 break; 221 } 222 } 223 } 224 225 if (!self::isValidImageHandle($handle)) 226 throw new WideImage_InvalidImageSourceException("File '{$uri}' appears to be an invalid image source."); 227 228 return self::loadFromHandle($handle); 229 } 230 231 /** 232 * Create and load an image from a string. Format is auto-detected. 233 * 234 * @param string $string Binary data, i.e. from BLOB field in the database 235 * @return WideImage_Image WideImage_PaletteImage or WideImage_TrueColorImage instance 236 */ 237 static function loadFromString($string) 238 {
#0 |
+
–
/home/roshankashmir/public_html/themes/press/views/epaper/default/show_thumb.php(6): WideImage::loadFromFile("/home/roshankashmir/public_html/uploads/epaper/2022-03/623cca92a...") 01 <?php Yii::import("webroot.themes.press.ThemeFunctions"); ?> 02 <?php 03 $epaper_config = ModuleLoader::getConfig("epaper"); 04 $epaper_mediadir = Yii::app()->getBaseUrl(true) . Yii::app()->params['uploadDir'] . $epaper_config["mediaDir"]; 05 06 $wideimage = WideImage::loadFromFile(Yii::getPathOfAlias("webroot") . Yii::app()->params['uploadDir'] . $epaper_config["mediaDir"] . $current_page_model->pg_file); 07 $img_height = $wideimage->getHeight(); 08 $img_width = $wideimage->getWidth(); 09 $ratio = $img_height /$img_width; 10 $sidenav_height = ( $containerWidth * $ratio ) + 100; 11 |
#1 |
+
–
/home/roshankashmir/public_html/themes/press/views/epaper/default/show.php(70): include("/home/roshankashmir/public_html/themes/press/views/epaper/defaul...") 65 66 $containerWidth = 945; 67 ?> 68 69 <div class="hidden-xs hidden-sm col-md-3 col-lg-2"> 70 <?php include "show_thumb.php" ?> 71 </div> 72 73 <div class="col-xs-12 col-sm-12 col-md-9 col-lg-10"> 74 <div class="page_area" id="page_area"> 75 |
#2 |
+
–
/home/roshankashmir/public_html/framework/web/CBaseController.php(126): require("/home/roshankashmir/public_html/themes/press/views/epaper/defaul...") 121 $data=$_data_; 122 if($_return_) 123 { 124 ob_start(); 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } |
#3 |
+
–
/home/roshankashmir/public_html/framework/web/CBaseController.php(95): CBaseController->renderInternal("/home/roshankashmir/public_html/themes/press/views/epaper/defaul...", array("id" => "195", "alias" => "roshan-kashmir", "page" => "2", "spid" => 0, ...), true) 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#4 |
+
–
/home/roshankashmir/public_html/framework/web/CController.php(872): CBaseController->renderFile("/home/roshankashmir/public_html/themes/press/views/epaper/defaul...", array("id" => "195", "alias" => "roshan-kashmir", "page" => "2", "spid" => 0, ...), true) 867 */ 868 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 869 { 870 if(($viewFile=$this->getViewFile($view))!==false) 871 { 872 $output=$this->renderFile($viewFile,$data,true); 873 if($processOutput) 874 $output=$this->processOutput($output); 875 if($return) 876 return $output; 877 else |
#5 |
+
–
/home/roshankashmir/public_html/framework/web/CController.php(785): CController->renderPartial("show", array("id" => "195", "alias" => "roshan-kashmir", "page" => "2", "spid" => 0, ...), true) 780 */ 781 public function render($view,$data=null,$return=false) 782 { 783 if($this->beforeRender($view)) 784 { 785 $output=$this->renderPartial($view,$data,true); 786 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 787 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 788 789 $this->afterRender($view,$output); 790 |
#6 |
+
–
/home/roshankashmir/public_html/protected/modules/epaper/controllers/DefaultController.php(599): CController->render("show", array("id" => "195", "alias" => "roshan-kashmir", "page" => "2", "spid" => 0, ...)) 594 $data["page"] = $page; 595 $data["title"] = HeadComponent::i()->generateTitle(); 596 $data["pagetitle"] = $pagetitle; 597 AjaxOutput::i()->setData($data)->display(); 598 } else { 599 $this->render("show", $paramData); 600 } 601 } 602 603 public function _actionShow() { 604 |
#7 |
+
–
/home/roshankashmir/public_html/framework/web/actions/CInlineAction.php(49): DefaultController->actionShow() 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 } |
#8 |
+
–
/home/roshankashmir/public_html/framework/web/CController.php(308): CInlineAction->runWithParams(array("id" => "195", "alias" => "roshan-kashmir", "page" => "2")) 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; |
#9 |
+
–
/home/roshankashmir/public_html/framework/web/filters/CFilterChain.php(134): CController->runAction(CInlineAction) 129 $filter=$this->itemAt($this->filterIndex++); 130 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 131 $filter->filter($this); 132 } 133 else 134 $this->controller->runAction($this->action); 135 } 136 } |
#10 |
+
–
/home/roshankashmir/public_html/framework/web/widgets/COutputCache.php(165): CFilterChain->run() 160 * @return boolean whether the filtering process should stop after this filter. Defaults to false. 161 */ 162 public function filter($filterChain) 163 { 164 if(!$this->getIsContentCached()) 165 $filterChain->run(); 166 $this->run(); 167 } 168 169 /** 170 * Marks the start of content to be cached. |
#11 |
+
–
/home/roshankashmir/public_html/framework/web/filters/CFilterChain.php(131): COutputCache->filter(CFilterChain) 126 { 127 if($this->offsetExists($this->filterIndex)) 128 { 129 $filter=$this->itemAt($this->filterIndex++); 130 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 131 $filter->filter($this); 132 } 133 else 134 $this->controller->runAction($this->action); 135 } 136 } |
#12 |
+
–
/home/roshankashmir/public_html/framework/web/CController.php(291): CFilterChain->run() 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); 292 $this->_action=$priorAction; 293 } 294 } 295 296 /** |
#13 |
+
–
/home/roshankashmir/public_html/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array(array(0 => "COutputCache - view, viewimage", "duration" => "", "varyByParam" => array("id", "alias", "page", "pg_id", ...)))) 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); |
#14 |
+
–
/home/roshankashmir/public_html/framework/web/CWebApplication.php(282): CController->run("show") 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))); |
#15 |
+
–
/home/roshankashmir/public_html/framework/web/CWebApplication.php(141): CWebApplication->runController("epaper/default/show") 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. |
#16 |
+
–
/home/roshankashmir/public_html/framework/base/CApplication.php(185): CWebApplication->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 /** |
#17 |
+
–
/home/roshankashmir/public_html/index.php(22): CApplication->run() 17 defined('YII_DEBUG') or define('YII_DEBUG',true); 18 // specify how many levels of call stack should be shown in each log message 19 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 20 21 require_once($yii); 22 Yii::createWebApplication($config)->run(); 23 |