/home/user2072421/www/manika.by/protected/extensions/PHPExcel/PHPExcel/Shared/OLERead.php(72)
60 const SIZE_POS = 0x78; 61 62 /** 63 * Read the file 64 * 65 * @param $sFileName string Filename 66 * @throws Exception 67 */ 68 public function read($sFileName) 69 { 70 // Check if file exists and is readable 71 if(!is_readable($sFileName)) { 72 throw new Exception("Could not open " . $sFileName . " for reading! File does not exist, or it is not readable."); 73 } 74 75 // Get the file data 76 $this->data = file_get_contents($sFileName); 77 78 // Check OLE identifier 79 if (substr($this->data, 0, 8) != self::IDENTIFIER_OLE) { 80 throw new Exception('The filename ' . $sFileName . ' is not recognised as an OLE file'); 81 } 82 83 // Total number of sectors used for the SAT 84 $this->numBigBlockDepotBlocks = $this->_GetInt4d($this->data, self::NUM_BIG_BLOCK_DEPOT_BLOCKS_POS);
#0 |
+
–
/home/user2072421/www/manika.by/protected/extensions/PHPExcel/PHPExcel/PHPExcel_Reader_Excel5.php(529): PHPExcel_Shared_OLERead->read("/home/user2072421/www/manika.by/protected/../d/pricecatalog.xls") 524 525 // Use ParseXL for the hard work. 526 $this->_ole = new PHPExcel_Shared_OLERead(); 527 528 // get excel data 529 $res = $this->_ole->read($pFilename); 530 $this->_data = $this->_ole->getWorkBook(); 531 532 // total byte size of Excel data (workbook global substream + sheet substreams) 533 $this->_dataSize = strlen($this->_data); 534 |
#1 |
+
–
/home/user2072421/www/manika.by/protected/modules/page/controllers/DefaultController.php(186): PHPExcel_Reader_Excel5->load("/home/user2072421/www/manika.by/protected/../d/pricecatalog.xls") 181 $fileType = 'Excel5'; 182 $fileName = Yii::app()->basePath.'/../d/pricecatalog.xls'; 183 184 // Read the file 185 $objReader = PHPExcel_IOFactory::createReader($fileType); 186 $oPhpExcel = $objReader->load($fileName); 187 188 189 $oPhpExcel->setActiveSheetIndex(0); 190 $i=0; 191 foreach ($model as $list) { |
#2 |
+
–
/home/user2072421/framework/web/actions/CInlineAction.php(49): DefaultController->actionPriceXls() 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 else 49 return $controller->$methodName(); 50 } 51 52 } |
#3 |
+
–
/home/user2072421/framework/web/CController.php(308): CInlineAction->runWithParams(array()) 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; |
#4 |
+
–
/home/user2072421/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(); |
#5 |
+
–
/home/user2072421/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); |
#6 |
+
–
/home/user2072421/framework/web/CWebApplication.php(282): CController->run("PriceXls") 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))); |
#7 |
+
–
/home/user2072421/framework/web/CWebApplication.php(141): CWebApplication->runController("page/default/PriceXls") 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. |
#8 |
+
–
/home/user2072421/framework/base/CApplication.php(169): CWebApplication->processRequest() 164 public function run() 165 { 166 if($this->hasEventHandler('onBeginRequest')) 167 $this->onBeginRequest(new CEvent($this)); 168 register_shutdown_function(array($this,'end'),0,false); 169 $this->processRequest(); 170 if($this->hasEventHandler('onEndRequest')) 171 $this->onEndRequest(new CEvent($this)); 172 } 173 174 /** |
#9 |
+
–
/home/user2072421/www/manika.by/index.php(11): CApplication->run() 06 $config=dirname(__FILE__).'/protected/config/main-local.php'; 07 08 require_once(__DIR__.'/protected/config/env-local.php'); 09 10 require_once($yii); 11 Yii::createWebApplication($config)->run(); |