Unhandled Error!

Error: file not found.

Document /phproad/modules/db/models/db_file.php
Document type PHP document
Line 142
Exception class Phpr_ApplicationException

Code Highlight

		}
 
		public function output($disposition = 'inline')
		{
			$path = $this->getFileSavePath($this->disk_name);
			if (!file_exists($path))
				throw new Phpr_ApplicationException('Error: file not found.');
 
			$encoding = Phpr::$config["FILESYSTEM_CODEPAGE"];
			$fileName = mb_convert_encoding( $this->name, $encoding );
 
			$mime_type = $this->mime_type;
			if (!strlen($mime_type) || $mime_type == 'application/octet-stream')
# Call Stack Code Document Line
13 Db_File->output() /modules/cms/classes/cms_controller.php(301) : eval()'d code 10
12 eval() /modules/cms/classes/cms_controller.php 301
11 Cms_Controller->evalWithException('?><? $file_id = $this->request_param(0); if (!$file_id) die('File not found'); $file = Db_File::create()->find($file_id); if (!$file || $file->field != 'manuals') die('File not found'); $file->output(); die(); ?>', 'CMS page', 'Get Manual File') /modules/cms/classes/cms_controller.php 477
10 Cms_Controller->eval_page_content() /modules/cms/classes/cms_controller.php 131
9 Cms_Controller->open(object Cms_Page, array) /controllers/application.php 72
8 Application->On404()
7 call_user_func_array(array, array) /phproad/modules/phpr/classes/phpr_controller.php 161
6 Phpr_Controller->executeAction('On404', array) /phproad/modules/phpr/classes/phpr_controller.php 84
5 Phpr_Controller->_run('On404', array) /phproad/modules/phpr/classes/phpr_response.php 79
4 Phpr_Response->open404() /phproad/modules/phpr/classes/phpr_response.php 52
3 Phpr_Response->open('/get_manual_file/95') /phproad/system/phproad.php 31
2 include('/home/admin/public_html/edgeware/www/phproad/system/phproad.php') /boot.php 107
1 require_once('/home/admin/public_html/edgeware/www/boot.php') /index.php 3