FCPATH/modules/financial_budget/controllers/financial_budget.php [ 193 ]
188
189 $document_id = $this->input->get('document');
190 if(!empty($document_id)) {
191
192 $document = $this->financial_budget_model->getDocumentFile($document_id);
193 $file_download_name = $document->file_download_name ? $document->file_download_name : $document->subject;
194
195 if (!empty($document->attach_file) && is_file('uploads/financial_budget/file/'.$document->attach_file)) {
196 $file_path = './uploads/financial_budget/file/'.$document->attach_file;
197
198 $info = pathinfo($file_path);
-
FCPATH/modules/financial_budget/controllers/financial_budget.php [ 193 ] » MY_Exceptions::error_handler(arguments)
code
8
error
Trying to get property 'file_download_name' of non-object
file
/var/www/vhosts/tijthailand.org/httpdocs/modules/financial_budget/controllers/financial_budget.php
line
193
4
Array ( [document_id] => 125 [document] => Array ( ) )
188 189 $document_id = $this->input->get('document'); 190 if(!empty($document_id)) { 191 192 $document = $this->financial_budget_model->getDocumentFile($document_id); 193 $file_download_name = $document->file_download_name ? $document->file_download_name : $document->subject; 194 195 if (!empty($document->attach_file) && is_file('uploads/financial_budget/file/'.$document->attach_file)) { 196 $file_path = './uploads/financial_budget/file/'.$document->attach_file; 197 198 $info = pathinfo($file_path);
-
FCPATH/system/core/CodeIgniter.php [ 359 ] » financial_budget->download()
354 } 355 } 356 357 // Call the requested method. 358 // Any URI segments present (besides the class/function) will be passed to the method for convenience 359 call_user_func_array(array(&$CI, $method), array_slice($URI->rsegments, 2)); 360 } 361 362 363 // Mark a benchmark end point 364 $BM->mark('controller_execution_time_( '.$class.' / '.$method.' )_end');
-
FCPATH/index.php [ 226 ] » require_once(arguments)
0
/var/www/vhosts/tijthailand.org/httpdocs/system/core/CodeIgniter.php
221 * 222 * And away we go... 223 * 224 */ 225 226 require_once BASEPATH.'core/CodeIgniter.php'; 227 228 /* End of file index.php */ 229 /* Location: ./index.php */