Unhandled Error!

Error: file not found.

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

Code Highlight

		 * @documentable
		 */ 
		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(383) : eval()'d code 10
12 eval(()) /modules/cms/classes/cms_controller.php 383
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 608
10 Cms_Controller->eval_page_content(()) /modules/cms/classes/cms_controller.php 198
9 Cms_Controller->open(object(Cms_Page), array(1) [0 => '93']) /controllers/application.php 72
8 Application->On404(())
7 call_user_func_array(array(2) [0 => object(Application), 1 => 'On404'], array(0)) /phproad/modules/phpr/classes/phpr_controller.php 170
6 Phpr_Controller->executeAction('On404', array(0)) /phproad/modules/phpr/classes/phpr_controller.php 84
5 Phpr_Controller->_run('On404', array(0)) /phproad/modules/phpr/classes/phpr_response.php 64
4 Phpr_Response->open404(()) /phproad/modules/phpr/classes/phpr_response.php 37
3 Phpr_Response->open('/get_manual_file/93') /phproad/system/phproad.php 31
2 include('/home/admin/public_html/edgeware/www/phproad/system/phproad.php') /boot.php 109
1 require_once('/home/admin/public_html/edgeware/www/boot.php') /index.php 3